Renesas H8S/2100 Series Hardware Manual page 713

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

4. Execute the SPI flash memory erasure instruction.
 Set the TE bit in FSICR2 to 1.
 Set the TBN bit in FSIBNR to 4-byte transfer.
 Write the FSI address stored in FSIAR to FSITDR1 to FSITDR3.
 Write the erasure instruction to FSIINS (start the SPI flash memory erasure instruction
execution).
5. Complete the interrupt processing.
6. Generate an FSITEI interrupt request.
7. Clear the FSIDMYE and CMDBUSY bits in FSILSTR1 to 0.
8. Complete the interrupt processing.
9. Check that the FSIDMYE, CMDBUSY, and FSICMDI bits in FSILSTR1 are cleared to 0
(Host).
(6)
FSI Command Usage Example 2 (SPI Flash Memory Status Read)
Figure 21.17 shows an example of the execution timing of the SPI flash memory status read
instruction.
STEP1
φ
FSIDMYE
FSICMDI
Cleared by the CPU
CMDBUSY
LPC_ADDR
H'EFFF_F000
RE
TBN
RBN
FSIINS
FSIRXI
FSISS
FSICK
FSIDO
FSIDI
Figure 21.17 Execution Timing of SPI Flash Memory Status Read Instruction
The SPI flash memory status read instruction is executed in the following sequence.
Written by the CPU
Written by the CPU H'1
Written by the CPU H'1
Written by the CPU H'05
STEP2
H'00 (Automatically cleared)
H'05
H'07
Rev. 1.00 May 09, 2008 Page 687 of 954
Section 21 FSI Interface
STEP3
Cleared by the CPU
Automatically cleared
H'00 (Automatically cleared)
Automatically cleared
REJ09B0462-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents