|
M16C62_N Datasheet, PDF (154/621 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY | |||
|
◁ |
Clock asynchronous serial I/O (UART) mode
Mitsubishi microcomputers
M16C / 62 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(a) Function for outputting a parity error signal
With the error signal output enable bit (bit 7 of address 037D16) assigned â1â, you can output an âLâ
level from the TxD2 pin when a parity error is detected. In step with this function, the generation timing
of a transmission completion interrupt changes to the detection timing of a parity error signal. Figure
1.19.23 shows the output timing of the parity error signal.
⢠LSB first
Transfer âHâ
clock âLâ
RxD2 âHâ
âLâ
TxD2 âHâ
âLâ
Receive â1â
complete flag â0â
ST D0 D1 D2 D3 D4 D5 D6 D7 P SP
Hi-Z
ST : Start bit
P : Even Parity
SP : Stop bit
Figure 1.19.23. Output timing of the parity error signal
(b) Direct format/inverse format
Connecting the SIM card allows you to switch between direct format and inverse format. If you choose
the direct format, D0 data is output from TxD2. If you choose the inverse format, D7 data is inverted
and output from TxD2.
Figure 1.19.24 shows the SIM interface format.
Transfer
clcck
TxD2
(direct)
TxD2
(inverse)
D0 D1 D2 D3 D4 D5 D6 D7 P
D7 D6 D5 D4 D3 D2 D1 D0 P
P : Even parity
Figure 1.19.24. SIM interface format
139
|
▷ |