|
M16C62_N Datasheet, PDF (385/621 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY | |||
|
◁ |
SIM interface
Mitsubishi microcomputers
M16C / 62 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
2.5.5 Operation of Serial I/O (reception used for SIM interface)
In receiving data in UART mode (used for SIM interface), choose functions from those listed in Table
2.5.7. Operations of the circled items are described below. Figure 2.5.17 shows the operation timing, and
Figures 2.5.18 and 2.5.19 show the set-up procedures.
Figure 2.5.7. Choosed functions
Item
Set-up
Transfer data
format
O Direct format
Inverse format
Operation (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 RxD2 pin, data is re-
ceived, bit by bit, in sequence: LSB, ····, MSB, and stop bit(s).
(3) When the stop bit(s) is (are) received, the content of the UART2 receive register is transmit-
ted to the UART2 receive buffer register.
At this time, the receive complete flag goes to â1â to indicate that the reception is completed,
the UART2 receive interrupt request bit goes to â1â.
(4) The receive complete flag goes to â0â when the lower-order byte of the UART2 buffer register
is read.
(5) When the parity error is occurred, TXD2 pin goes to âLâ level.
370
|
▷ |