Section 21 FSI Interface
Rev. 1.00 Apr. 28, 2008 Page 710 of 994
REJ09B0452-0100
(3)
AAI-Program Instruction
If an LPC/FW memory write cycle occurs while the AAIE bit in FSICR1 is set to 1 and the
FSIDMYE bit in FSILSTR1 is cleared to 0, and the FLDCT bit in SLCR and the FLWAIT bit in
SLCR are set to 1, the flash memory address and write data are stored in FSIAR and FSIWDR,
respectively. Then, the flash memory address, write data, and the AAI-Program instruction which
is stored in FSI hardware in advance are transferred to FSITDR. After SYNC (long wait) has been
returned, the transmit enable signal TE is set, and AAI-Program instruction execution starts. In the
first byte, the instruction, address, and data in this order are transmitted to the SPI flash memory.
In the second and the following bytes, an instruction and data in this order are transmitted to the
SPI flash memory. When the transmission has been completed, SYNC (Ready) and TAR are
returned to the host. To execute the AAI-Program instruction, byte transfer access in LPC memory
write cycle or FW memory write cycle should be performed. To return to the AAI-Program
instruction (first byte), clear the AAIE bit once or perform initialization of the FSI internal
sequencer in SRES of FSICR1. After the Read instruction or the LPC-SPI command is transferred
during the AAI-Program instruction execution, the FSI internal sequencer is initialized to return to
the AAI-Program Instruction (first byte). Figures 21.6 and 21.7 show AAI-Program execution
timings.
LCLK
LFRAME
LAD[3:0]
ST CT
ADDR
DATA TAR
WAIT
SY TAR
φ
FSIAR[23:0]
FSIWDR[31:0]
FSICR2 TE bit
FSITDR7 to
FSITDR0
FSISTR OBF bit
FSISS
FSICK (CPOS = CPHS = 0)
FSIDO
H'06-4A-70
H'01-70-4A-06-AF
H'AF->06->4A->70->01
H'01
Figure 21.6 AAI-Program Instruction Execution Timing (First Byte)
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...