English
Language : 

HD64F2168 Datasheet, PDF (612/874 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer
16.4.4 BT Mode Transfer Flow
Figure 16.6 shows the write transfer flow and figure 16.7 shows the read transfer flow in BT
mode.
Slave
Host
Slave waits for the H2B_ATN bit (interrupt from
host) is set.
Wait for
B_BUSY = 0
Host confirms the B_BUSY bit in BTCR.
Wait for
H2B_ATN = 0
Host confirms the H2B_ATN bit in BTCR.
Confirms the CLR_WR_PTR bit.
The CRWPI bit in BTSR1 is set to notify write
pointer clearing as an interrupt to slave.
Clear write pointer Host clears write pointer by setting the CLR_WR_PTR
bit in BTCR.
Generate slave
interrupt
Write BTDTR buffer Host writes data of 1 to n bytes to the BTDTR buffer.
Confirms host write is started.
The HBTWI bit in BTSR0 is set.
Confirms the H2B_ATN bit is set.
The H2BI bit in BTSR1 is set.
Generate slave
interrupt
H2B_ATN = 1
Host sets the H2B_ATN bit in BTCR to indicate data write
completion to the buffer for the BT interface.
Generate slave
interrupt
Slave sets the B_BUSY bit in BTCR.
B_BUSY = 1
Slave reads data from the BTDTR buffer.
Read BTDTR buffer
Slave clears the H2B_ATN bit in BTCR.
H2B_ATN = 0
Slave clears the B_BUSY bit in BTCR to indicate
transfer completion.
B_BUSY = 0
Figure 16.6 BT Write Transfer Flow
Rev. 3.00, 03/04, page 572 of 830