Figure 14-9. Basic Transmission/Reception Mode Flowchart
Write transmit data
in buffer RAM
Set ADTP to the value (pointer
value) obtained by subtracting 1
from the number of transmit
data bytes
Set the transmission/reception
operation interval time in ADTI
Write any data to SIO1
(Start trigger)
Write transmit data from
buffer RAM to SIO1
Transmission/reception
operation
Write receive data from
SIO1 to buffer RAM
Pointer value = 0
TRF = 0
ADTP: Automatic data transmit/receive address pointer
ADTI: Automatic data transmit/receive interval specification register
SIO1: Serial I/O shift register 1
TRF:
Bit 3 of the automatic data transmit/receive control register (ADTC)
280
CHAPTER 14 SERIAL INTERFACE CHANNEL 1
Start
No
Yes
No
Yes
End
User's Manual U11302EJ4V0UM
Decrement pointer value
Software execution
Hardware execution
Software execution