Section 21 FSI Interface
Rev. 1.00 Apr. 28, 2008 Page 707 of 994
REJ09B0452-0100
21.4.4
FSI Memory Cycle (Direct Transfer between LPC and SPI)
The FSI supports direct transfer between the host and SPI flash memory. If the host address input
in LPC/FW memory write cycle matches the host address set in FSIHBARH, FSIHBARL, or
FSISR, the FSI memory cycle starts. In LPC/FW memory write cycle, the FSI supports three types
of instructions: Byte/Page-Program instructions and AAI-Program instruction. In LPC/FW
memory read cycle, the FSI supports two types of instructions: Read instruction and Fast-Read
instruction. In the case that LPC-SPI direct transfer is selected in Byte-Program, Page-Program, or
AAI-Program instruction execution, set FLDCT of SLCR to 1. The FSI reads the data with LPC-
SPI direct transfer regardless of the status of FLDCT in Read and Fast-Read instruction execution.
(1)
FSI Address Conversion
The host address can be converted into the SPI flash memory address by setting FSIHBARH,
FSIHBARL, and FSISR. The host address space ranges from H'0000_0000 to H'FFFF_FFFF. The
SPI flash memory address space ranges from H'00_0000 to H'FF_FFFF. Figure 21.3 shows an
example of the FSI memory address conversion.
1MB
SPI addresses
SPI flash memory
Host addresses
H'00_0000
H'0F_FFFF
FSIHBAR: H'231F
FSISR: H'00 (1 MB)
H'231F_0000
*
H'232E_FFFF
1 MB
1 MB
Note:
*
The upper 16 bits of the host address are set to the value in the FSIHBAR register.
Figure 21.3 FSI Address Conversion Example
As shown in figure 21.3, if an address ranging from H'231F_0000 to H'232E_FFFF is accessed in
LPC/FW memory write cycle, the SPI flash memory is accessed. If a host address to be input is
out of the determined range, Sync will not be returned. During an SPI flash memory access, a long
wait cycle will be inserted to the LPC bus cycle. In an LPC memory cycle, one-byte transfer is
enabled. In an FW memory cycle, a byte, word, and a longword transfer are enabled.
Summary of Contents for H8S/2100 Series
Page 2: ...Rev 1 00 Apr 28 2008 Page ii of xxvi...
Page 54: ...Section 1 Overview Rev 1 00 Apr 28 2008 Page 28 of 994 REJ09B0452 0100...
Page 92: ...Section 2 CPU Rev 1 00 Apr 28 2008 Page 66 of 994 REJ09B0452 0100...
Page 158: ...Section 5 Interrupt Controller Rev 1 00 Apr 28 2008 Page 132 of 994 REJ09B0452 0100...
Page 244: ...Section 8 8 Bit PWM Timer PWMU Rev 1 00 Apr 28 2008 Page 218 of 994 REJ09B0452 0100...
Page 330: ...Section 10 16 Bit Timer Pulse Unit TPU Rev 1 00 Apr 28 2008 Page 304 of 994 REJ09B0452 0100...
Page 416: ...Section 13 8 Bit Timer TMR Rev 1 00 Apr 28 2008 Page 390 of 994 REJ09B0452 0100...
Page 612: ...Section 18 I 2 C Bus Interface IIC Rev 1 00 Apr 28 2008 Page 586 of 994 REJ09B0452 0100...
Page 706: ...Section 20 LPC Interface LPC Rev 1 00 Apr 28 2008 Page 680 of 994 REJ09B0452 0100...
Page 752: ...Section 21 FSI Interface Rev 1 00 Apr 28 2008 Page 726 of 994 REJ09B0452 0100...
Page 774: ...Section 23 RAM Rev 1 00 Apr 28 2008 Page 748 of 994 REJ09B0452 0100...
Page 1008: ...Section 28 Electrical Characteristics Rev 1 00 Apr 28 2008 Page 982 of 994 REJ09B0452 0100...
Page 1020: ...Rev 1 00 Apr 28 2008 Page 994 of 994 REJ09B0452 0100...
Page 1023: ......
Page 1024: ...H8S 2117R Group Hardware Manual...