33.1.11.1 FCW Sequencer User Model
Sequencer Enable Control
KEY must be written with the WRKEY value before CTRLOP can be written to start a write/erase sequence. Once CTRLOP is written, the KEY register returns to 0’s (locks) and all registers in the FCW are write protected (BUSY = 1) until the operation finishes. Enabling write protection for the registers ensures that addresses, data, and configurations remain unchanged during a sequence.
Start Sequencer
Once the NVM system is configured, the only registers necessary for programming are CTRLOP, KEY, ADDR, and either DATAn or SRCADDR. Page Erase does not need DATAn or SRCADDR, and other erases do not need ADDR.
To perform Write/Erase operations, follow these steps:
- Setup ADDR and if programming either DATAn (Single/Quad) or SRCADDR (Row Write).
- Write WRKEY to KEY.
- Write <Desired NVMOP> to CTRLOP.
- The FCW generates an interrupt when it clears STATUS.BUSY and sets INTFLAG.DONE.
When CTRLOP is written, the write/erase sequence starts and the CPU is unable to execute from the selected Flash panel for the duration of the sequence.
