Reference Manual ADuCM356
FLASH CONTROLLER
analog.com Rev. A | 188 of 312
Flash Programming Model
This list provides an example sequence to execute the page erase
command using the flash controller. The same sequence can be
used for other commands with some modifications:
1. Program the PAGE_ADDR0 or PAGE_ADDR1 register with the
address of the page that must be erased.
2. Write the flash user key to the key register.
3. Write the command to be executed into the CMD register.
4. Poll for STAT, Bit 2 to be set in the flash cache controller STAT
register.