|
M16C Datasheet, PDF (136/262 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER | |||
|
◁ |
Preliminary Specifications REV.B
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M16C / 6N Group
Clock asynchronous serial I/O (UART) mode
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 01FD16) 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
13-8 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 13-8. 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 13-9 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 13-9. SIM interface format
136
|
▷ |