blob: 3faabe2ea5ca33be8cc50895037c31a21b56a559 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
## On-chip peripheral configuration of imxrt1180-nxp-evk --FlexSPI1
### 1. Demo feature list
- [x] use MCUX_Config software to set pin_mux, clock.
- [x] board boots up from CMSIS-DAP. (FlexSPI1_A- QSPI Flash W25Q128 is used for CM33 XIP boot-up)
- [x] FlexSPI1_B is set to octal mode for hyperFlash(MT35XU512ABA2G12-0AAT) reading&writing
- [x] when BSP_USING_DMA is enabled, eDMA4 CH0 is used for TX and CH2 for RX for CPU offload.
- [x] flexspi_test command is used for test in MSH console.
### 2. Hardware configuration
### 2.1 pin configuration in MCUX_Config software

### 2.2 hardware change on top

### 2.3 hardware change on bottom

do hardware change to enable path for hyper Flash.
### 2.4 chip sdk change

add these codes above to "nxp-imxrt-sdk-latest/MIMXRT1180/SConscript" to enable chip specific drivers.
### 3. FlexSPI1_b octal mode test

### 4. limitation
- only use MCUX_Config for pin_mux, clock configuration, providing enough flexibility on drv_flexspi.
- merge official examples on FlexSPI octal polling and DMA mode for hyper Flash operation. XIP and FLASH_ADESTO are not supported.
- Only support booting from CMSIS-DAP due to hardware limitation.
|