Datasheet
Section 16 LPC Interface (LPC)
Rev. 3.00 Sep. 28, 2009 Page 470 of 710
REJ09B0384-0300
Wait for BUSY = 0
Waits for
RX_DATA_RDY = 1
Host confirms the BUSY bit in SMICFLG.
The bit indicates slave (this LSI) is ready for receiving a new control code.
When BUSY = 1, access from host is disabled.
Slave confirms the rising edge of the BUSY bit in SMICFLG.
The BUSYI bit in SMICIR0 is set.
Host confirms the falling edge of the BUSY bit in SMICFLG.
An interrupt is generated.
Slave clears the RX_DATA_RDY bit in SMICFLG.
Host confirms the RX_DATA_RDY bit in SMICFLG.
Host writes the Read control code to SMICCSR.
Slave writes transfer data to SMICDTR according to
Read control code.
Host reads transfer data in SMICDTR.
Slave writes the status code to SMICCSR to notify the
processing completion status.
Slave clears the BUSY bit in SMICFLG to indicate transfer
completion.
Slave confirms that status code is read from SMICCSR
by host.
The STARI bit in SMICIR0 is set.
Slave confirms that valid data is read from SMICDTR
by host.
The HDTRI bit in SMICIR0 is set.
Slave confirms that control code is written to SMICCSR
by host.
The CTLWI bit in SMICIR0 is set.
Slave reads the control code in SMICCSR.
Host confirms the status code in SMICCSR.
In the case of normal completion, the status code is reflected to the next step.
In the case of abnormal completion, the status code is READY and an error
is kept.
Host sets the BUSY bit in SMICFLG.
Write control code
BUSY = 1
RX_DATA_RDY = 0
Write status code
BUSY = 0
Generate slave
interrupt
Generate host
interrupt
Generate slave
interrupt
Generate slave
interrupt
Generate slave
interrupt
Read control code
Write transfer data
Read transfer data
Read status code
A
A
Bit that indicates slave is ready for read transfer.
Issues when slave is ready for the next read transfer.
Slave waits for the BUSY bit in SMICFLG is set.
Normal
Abnormal
HostSlave
Figure 16.5 SMIC Read Transfer Flow