4.2.5.6.2 Sequence of eNVM Program and Verify Operations when Using ProgramAD, ProgramDA, ProgramStart, VerifyAD, VerifyDA, and VerifyStart Commands
Figure 4-13 through Figure 4-17 show the sequence of eNVM program operation:
- Cortex-M3 master requests for exclusive register access by writing 0x1 to the REQACCESS register. Refer to Figure 4-14.
- Fills the WDBUFF (Write Data Buffer) register with the data to be written to the eNVM array. Refer to Figure 4-14.
- Issues ProgramAD command. Refer to Figure 4-15.
- Completes the ProgramAD command and Issues the ProgramDA command. Refer to Figure 4-16.
- Completes the ProgramDA command and Issues ProgramStart command. Refer to Figure 4-17.
- Completes the eNVM Program operation and starts the eNVM verification by issuing a VerifyAD command.
- Completes the VerifyAD command and Issues the VerifyDA command.
- Completes the VerifyDA command and Issue the VerifyStart command.
- Completes the eNVM verify operation.
- Releases the exclusive register access by writing 0x0 to the REQACCESS register.
The status of the eNVM operations are monitored by polling the Status register response.
The following figure shows the complete eNVM program and eNVM verify operations.
At cursor 1,steps 1 and 2 in the sequence are performed. At cursor 2, the eNVM ProgramStart operation is completed and VerifyAD operation is started. At cursor 3, the verify operation is completed. Refer to the preceding figure. The eNVM commands sequence is explained in waveforms in Figure 4-14 through Figure 4-17.
The following figure shows the Cortex-M3 master requesting for exclusive register access and filling WDBUFF (Write Data Buffer).
The following figure shows the issuance of the ProgramAD command.
The following figure shows the completion of ProgramAD command and the issuance of the ProgramDA command.
The following figure shows the completion of the ProgramDA command and the issuance of the ProgramStart command.
The completion of the eNVM command is confirmed by monitoring the eNVM status register for eNVM ready and the next command in sequence is sent. VerifyAD, VerifyDA, and VerifyStart commands are issued by writing corresponding command value into CMD register.