HD64336901G Renesas Technology, HD64336901G Datasheet - Page 239

no-image

HD64336901G

Manufacturer Part Number
HD64336901G
Description
(HD64xxx Series) 16-BIT MICROCONTROLLER
Manufacturer
Renesas Technology
Datasheet
14.5.4
Figure 14.13 shows an example of SCI3 operation for reception in clocked synchronous mode. In
serial reception, SCI3 operates as described below.
1.
2.
3.
4.
Reception cannot be resumed while a receive error flag is set to 1. Accordingly, clear the OER,
FER, PER, and RDRF bits to 0 before resuming reception. Figure 14.14 shows a sample flow
chart for serial data reception.
RDRF
OER
LSI
operation
User
processing
Serial
clock
Serial
data
SCI3 performs internal initialization synchronous with a synchronization clock input or
output, starts receiving data.
SCI3 stores the receive data in RSR.
If an overrun error occurs (when reception of the next data is completed while the RDRF flag
in SSR is still set to 1), the OER bit in SSR is set to 1. If the RIE bit in SCR3 is set to 1 at this
time, an ERI interrupt request is generated, receive data is not transferred to RDR, and the
RDRF flag remains to be set to 1.
If reception is completed successfully, the RDRF bit in SSR is set to 1, and receive data is
transferred to RDR. If the RIE bit in SCR3 is set to 1 at this time, an RXI interrupt request is
generated.
Serial Data Reception (Clocked Synchronous Mode)
Figure 14.13 Example of SCI3 Reception in Clocked Synchronous Mode
RXI interrupt
request
generated
Bit 7
Bit 0
RDRF flag
cleared
to 0
RDR data read
1 frame
Bit 7
RXI interrupt request generated
Bit 0
Bit 1
1 frame
RDR data has
not been read
(RDRF = 1)
Rev. 1.00, 11/03, page 211 of 376
Bit 6
Bit 7
ERI interrupt request
generated by
overrun error
Overrun error
processing

Related parts for HD64336901G