Operation Of Serial I/O (Reception Used For Sim Interface) - Renesas M16C Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group

2.4.6 Operation of Serial I/O (reception used for SIM interface)

In receiving data in UARTi (i=0 to 3) mode (used for SIM interface), choose functions from those listed in
Table 2.4.7. Operations of the circled items are described below. Figure 2.4.16 shows the operation
timing, and Figures 2.4.17 to 2.4.18 show the set-up procedures.
www.DataSheet4U.com
Operation
Note
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Table 2.4.7. Choosed functions
Item
Direct format
Transfer data
format
O
Inverse format
(1) Setting the transmit enable bit and receive enable bit to "1" readies data-receivable status.
(2) When the first bit (the start bit) of reception data is received from the RxDi (i=0 to 3) pin, data
is received, bit by bit, in sequence: LSB, ····, MSB, and stop bit(s).
(3) When the stop bit(s) is (are) received, the content of the UARTi (i=0 to 3) receive register is
transmitted to the UARTi (i=0 to 3) receive buffer register.
At this time, the receive complete flag goes to "1" to indicate that the reception is completed,
and the UARTi (i=0 to 3) receive interrupt request bit goes to "1".
(4) The receive complete flag goes to "0" when the lower-order byte of the UARTi (i=0 to 3) buffer
register is read.
(5) When the parity error is occurred, T
• Set the RxDi and CLKi pins' port direction register to "0".
• Select N-channel open drain output for TxDi (i=0 to 3) pin with data output select bit of UARTi
(i=0 to 3) transmit/receive control register 0.
page 77 of 354
Set-up
Item
Transfer clock
source
Di (i=0 to 3) pin goes to "L" level.
X
2. SIM interface
Set-up
Internal clock (f
/f
/f
)
1
8
32
O
External clock (CLKi pin)

Advertisement

Table of Contents
loading

Table of Contents