SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
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-276 through Table 15-278 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 15-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 15-279. |
| Step | Description |
|---|---|
| NOR Memory Type | See Table 15-280. |
| NOR Chip-Select Configuration | See Table 15-281. |
| NOR Timings Configuration | See Table 15-282. |
| Wait Pin Configuration | See Table 15-290. |
| Enable Chip-Select | See Table 15-291. |
| Step | Description |
|---|---|
| NAND Memory Type | See Table 15-285. |
| NAND Chip-Select Configuration | See Table 15-286. |
| Write Operations (Asynchronous) | See Table 15-287. |
| Read Operations (Asynchronous) | See Table 15-287. |
| ECC Engine | See Table 15-288. |
| Prefetch and Write-Posting Engine | See Table 15-289. |
| Wait Pin Configuration | See Table 15-290. |
| Enable Chip-Select | See Table 15-291. |