|
M16C6K9 Datasheet, PDF (122/292 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER | |||
|
◁ |
M16C/6K9 Group
Clock asynchronous serial I/O (UART) mode
Tc
Transfer clock
Transmit enable
â1â
bit(TE)
â0â
Transmit buffer
â1â
empty flag(TI)
â0â
TxD2
RxD2
Signal conductor level
(Note1)
Transmit register
â1â
empty flag (TXEPT)
â0â
Transmit interrupt â1â
request bit (IR)
â0â
Data is set in UART2 transmit buffer register Note1
Transferred from UART2 transmit buffer register to UART2 transmit register
Start
bit
Parity Stop
bit bit
ST D0 D1 D2 D3 D4 D5 D6 D7 P SP
ST D0 D1 D2 D3 D4 D5 D6 D7 P SP
A "L" level returns from TxD2 due to the
occurrence of a parity error
ST D0 D1 D2 D3 D4 D5 D6 D7 P SP
ST D0 D1 D2 D3 D4 D5 D6 D7 P
The level is detected by
the interrupt routine
SP
The level is detected by
the interrupt routine
Shown in ( ) are bit symbols.
Cleared to â0â when interrupt request is accepted, or cleared by software
The above timing applies to the following settings :
⢠Parity is enabled.
⢠One stop bit.
⢠Transmit interrupt cause select bit = â1â.
Tc = 16 (n + 1) / fi
fi : frequency of BRG2 count source (f1, f8, f32)
n : value set to BRG2
Note 1. According to the above timing, the transmission is started by the timing of BRG overflow after writing to the transmit buffer.
Tc
Transfer clock
Receive enable
â1â
bit(RE)
â0â
RxD2
Start
bit
Parity
bit
ST D0 D1 D2 D3 D4 D5 D6 D7 P
Stop
bit
SP
ST D0 D1 D2 D3 D4 D5 D6 D7 P SP
TxD2
Signal conductor level
(Note 2)
Receive complete â1â
flag (RI)
â0â
Receive interrupt
â1â
request bit (IR)
â0â
ST D0 D1 D2 D3 D4 D5 D6 D7 P SP
A "L" level returns from TxD2 due to the
occurrence of a parity error
ST D0 D1 D2 D3 D4 D5 D6 D7 P SP
Read to receive buffer
Read to receive buffer
Shown in ( ) are bit symbols.
Cleared to â0â when interrupt request is accepted, or cleared by software
The above timing applies to the following settings :
⢠Parity is enabled.
⢠One stop bit.
⢠Transmit interrupt cause select bit = â1â.
Tc = 16 (n + 1) / fi
fi : frequency of BRG2 count source (f1, f8, f32)
n : value set to BRG2
Note 2. The waveforms are the same because TxD2 and RxD2 are connected.
Fig.GA-22 Typical transmit/receive timing in UART mode (compliant with the SIM interface)
Rev.1.00 Jun 06, 2003 page 122 of 290
|
▷ |