Datasheet

Section 21 FSI Interface
Rev. 2.00 Sep. 28, 2009 Page 718 of 994
REJ09B0452-0200
(5) FSI Command Usage Example 1 (SPI Flash Memory Erasure)
The FSI commands enable the execution of several instructions for the SPI flash memory. Figure
21.15 shows an example of executing the SPI flash memory erasure instruction.
FSIHBAR: H'231F
FSISR: H'00 (1 MB)
CMDHBAR: H'EFFF
STEP1
H'EFFF_F000
STEP2
H'2325_4A76
STEP3
H'EFFF_F000
CMD0 (H'10)
Host address
CMD0 (H'11)
Host address
Host address
Dummy data
FSICMDR[7:0]
Command data (H'10)
FSICMDR[7:0]
Command data (H'11)
FSICMDI
B'0 B'1
FSICMDI
B'0 B'1
B'0 B'1
B'1
B'1
FSIDMDIE
B'1
FSICMDIE
FSIDMYE
FSIDMYE
B'1
FSIDMYE
Interrupt requests
Interrupt requests
FSIAR[23:0]
H'06_4A76
B'0
Figure 21.15 SPI Flash Memory Erasure (Example)
In flash memory erasure, the SPI flash memory address is stored in FSIAR and an erasure
instruction for the SPI flash memory is executed by an SPI command. The flash memory address
storage in FSIAR is performed by writing data to the sector or block address to be erased via the
host. To distinguish the SPI flash memory erasure from the SPI flash memory programming, the
erasure is performed in the following sequence using the FSIDMYE.