418
CHAPTER 18 SERIAL INTERFACE CHANNEL 1
Figure 18-9. Basic Transmission/Reception Mode FlowchartADTP : Automatic data transmit/receive address pointerADTI : Automatic data transmit/receive interval specify registerSIO1 : Serial I/O shift register 1TRF : Bit 3 of automatic data transmit/receive control register (ADTC)
Start
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 No
TRF = 0 No
End
Yes
Yes
Decrement pointer value
Software Execution
Hardware Execution
Software Execution