SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The goal of the basic high-level programming model is to introduce a top-down approach to users that need to configure the GPMC module.
Figure 15-95 and Table 15-438 through Table 15-440 show a programming model top-level diagram for the GPMC, and a description of each step. Each block of the diagram is described in one of the following sections through a set of registers to configure.
Step | Description |
---|---|
Enable GPMC clocks. | Module interface and functional clocks must be enabled. See Power, Reset, and Clock Management. |
Enable GPMC pads. | Module-specific pad multiplexing and configuration must be set in the control module. See Pad Configuration Registers in Control Module. |
Reset GPMC. | See Table 15-441. |
Step | Description |
---|---|
NOR Memory Type | See Table 15-442. |
NOR Chip-Select Configuration | See Table 15-443. |
NOR Timings Configuration | See Table 15-444. |
Wait Pin Configuration | See Table 15-452. |
Enable Chip-Select | See Table 15-453. |
Step | Description |
---|---|
NAND Memory Type | See Table 15-447. |
NAND Chip-Select Configuration | See Table 15-448. |
Write Operations (Asynchronous) | See Table 15-449. |
Read Operations (Asynchronous) | See Table 15-449. |
ECC Engine | See Table 15-450. |
Prefetch and Write-Posting Engine | See Table 15-451. |
Wait Pin Configuration | See Table 15-452. |
Enable Chip-Select | See Table 15-453. |