Datasheet

Section 17 Synchronous Serial Communication Unit (SSU)
Rev. 2.00 Aug. 20, 2008 Page 583 of 1198
REJ09B0403-0200
Yes
[1]
[2]
[3]
[4]
[5]
[1] Initial setting:
Specify the receive data format.
[2] Start reception:
When setting the RE bit to 1, reception is started.
[3], [5] Receive error processing:
When a receive error occurs, execute the designated error
processing after reading the ORER bit in SSSR. After that,
clear the ORER bit to 0. While the ORER bit is set to 1,
transmission or reception is not resumed.
[4] To complete reception:
To complete reception, read receive data after clearing the
RE bit to 0. When reading SSRDR without clearing the RE
bit, reception is resumed.
No
Yes
Yes
No
Start
Initial setting
RE = 1 (reception started)
Read SSSR
RDRF = 1?
ORER = 1?
Consecutive data reception?
Read received data in SSRDR
RDRF automatically cleared
RE = 0
Read receive data in SSRDR
End reception
Overrun error processing
Clear ORER in SSSR
End reception
Note: Hatching boxes represent SSU internal operations.
No
Figure 17.16 Flowchart Example of Data Reception
(Clock Synchronous Communication Mode)
(4) Data Transmission/Reception
Figure 17.17 shows a flowchart example of simultaneous transmission/reception. The data
transmission/reception is performed combining the data transmission and data reception as
mentioned above. The data transmission/reception is started by writing transmit data to SSTDR
with TE = RE = 1.