Datasheet

Section 16 LPC Interface (LPC)
Rev. 3.00 Sep. 28, 2009 Page 472 of 710
REJ09B0384-0300
Wait for
H_BUSY = 0
Slave confirms the H_BUSY bit in BTCR.
Host confirms the B2H_ATN bit in BTCR.
The slave data write completion interrupt is notified to host.
Host sets the H_BUSY bit in BTCR.
Slave writes data of 1 to n bytes to the BTDTR
buffer.
Slave sets the B2H_ATN bit in BTCR to indicate
data write completion to the BTDTR buffer.
The HBTRI bit in BTSR0 is set to notify host reads
all data through the BTDTR buffer.
Host clears read pointer by setting the CLR_RD_PTR
bit in BTCR.
H_BUSY = 1
Generate slave
interrupt
Generate host
interrupt
Generate slave
interrupt
Generate slave
interrupt
Host waits for the B2H_ATN bit (interrupt from
slave) is set by slave.
Host clears the B2H_ATN bit in BTCR.
Host reads data from the BTDTR buffer.
Confirms the CLR_RD_PTR bit.
The CRRPI bit in BTSR1 is set to notify read
pointer clearing as an interrupt source to slave.
Confirms the B2H_ATN bit.
The B2HI bit in BTSR1 is set to notify host data
read completion as an interrupt source to slave.
Write BTDTR buffer
Read BTDTR buffer
H_BUSY = 0
Host clears the H_BUSY bit in BTCR to indicate
transfer completion.
B2H_ATN = 1
Clear read pointer
B2H_ATN = 0
HostSlave
Figure 16.7 BT Read Transfer Flow