SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
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 17-95 and Table 17-440 through Table 17-442 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.
Figure 17-95 Programming Model Top-Level Diagram| 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 17-443. |
| Step | Description |
|---|---|
| NOR Memory Type | See Table 17-444. |
| NOR Chip-Select Configuration | See Table 17-445. |
| NOR Timings Configuration | See Table 17-446. |
| Wait Pin Configuration | See Table 17-454. |
| Enable Chip-Select | See Table 17-455. |
| Step | Description |
|---|---|
| NAND Memory Type | See Table 17-449. |
| NAND Chip-Select Configuration | See Table 17-450. |
| Write Operations (Asynchronous) | See Table 17-451. |
| Read Operations (Asynchronous) | See Table 17-451. |
| ECC Engine | See Table 17-452. |
| Prefetch and Write-Posting Engine | See Table 17-453. |
| Wait Pin Configuration | See Table 17-454. |
| Enable Chip-Select | See Table 17-455. |