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:

  1. Cortex-M3 master requests for exclusive register access by writing 0x1 to the REQACCESS register. Refer to Figure 4-14.
  2. Fills the WDBUFF (Write Data Buffer) register with the data to be written to the eNVM array. Refer to Figure 4-14.
  3. Issues ProgramAD command. Refer to Figure 4-15.
  4. Completes the ProgramAD command and Issues the ProgramDA command. Refer to Figure 4-16.
  5. Completes the ProgramDA command and Issues ProgramStart command. Refer to Figure 4-17.
  6. Completes the eNVM Program operation and starts the eNVM verification by issuing a VerifyAD command.
  7. Completes the VerifyAD command and Issues the VerifyDA command.
  8. Completes the VerifyDA command and Issue the VerifyStart command.
  9. Completes the eNVM verify operation.
  10. 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.

Figure 4-13. Complete eNVM Program and Verify Operations Waveform

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).

Figure 4-14. Exclusive Register Access and Filling Data in WDBUFF

The following figure shows the issuance of the ProgramAD command.

Figure 4-15. ProgramAD Command

The following figure shows the completion of ProgramAD command and the issuance of the ProgramDA command.

Figure 4-16. ProgramDA Command

The following figure shows the completion of the ProgramDA command and the issuance of the ProgramStart command.

Figure 4-17. 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.