M38039G4H-XXXHP RENESAS [Renesas Technology Corp], M38039G4H-XXXHP Datasheet - Page 51

no-image

M38039G4H-XXXHP

Manufacturer Part Number
M38039G4H-XXXHP
Description
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
3803 Group (Spec.H QzROM version)
Rev.1.10
REJ03B0166-0110
(2) Asynchronous Serial I/O (UART) Mode
Clock asynchronous serial I/O mode (UART) can be selected by
clearing the serial I/O3 mode selection bit (b6) of the serial I/O3
control register to “0”.
Eight serial data transfer formats can be selected, and the transfer
formats used by a transmitter and receiver must be identical.
Fig 42. Block diagram of UART serial I/O3
Fig 43. Operation of UART serial I/O3
Transmit buffer
(f(X
Receive buffer
receive clock
Serial output
Transmit or
write signal
Serial input
CIN
read signal
) in low-speed mode)
P3
P3
Notes 1 : Error flag detection occurs at the same time that the RBF flag becomes “1” (at 1st stop bit, during reception).
P3
R
T
6
4
X
X
5
/S
/R
D
D
/T
f(X
3
3
CLK3
X
X
2 : As the transmit interrupt (TI), when either the TBE or TSC flag becomes “1”, can be selected to occur depending on the setting of the transmit interrupt source
3 : The receive interrupt (RI) is set when the RBF flag becomes “1”.
4 : After data is written to the transmit buffer when TSC=1, 0.5 to 1.5 cycles of the data shift cycle are necessary until changing to TSC=0.
D
IN
D
Nov 14, 2005
selection bit (TIC) of the serial I/O3 control register.
3
3
)
TBE=0
ST detector
TSC=0
TBE=1
BRG count source selection bit
ST
ST
1/4
Page 51 of 91
Character length selection bit
D
7 bits
8 bits
D
Character length selection bit
0
0
OE
D
D
TBE=0
1
1
Serial I/O3 synchronous clock selection bit
1 start bit
7 or 8 data bit
1 or 0 parity bit
1 or 2 stop bit (s)
PE FE
Receive buffer register 3
Receive shift register 3
ST/SP/PA generator
Frequency division ratio 1/(n+1)
Data bus
Baud rate generator 3
Data bus
Transmit buffer register 3
SP detector
Transmit shift register 3
Address 0030
Address 002F
The transmit and receive shift registers each have a buffer, but
the two buffers have the same address in a memory. Since the
shift register cannot be written to or read from directly, transmit
data is written to the transmit buffer register, and receive data is
read from the receive buffer register.
The transmit buffer register can also hold the next data to be
transmitted, and the receive buffer register can hold a character
while the next character is being received.
Address 0030
RBF=1
SP
SP
16
TBE=1
16
1/16
Serial I/O3 control register
ST
ST
Clock control circuit
16
D
Transmit interrupt source selection bit
D
0
0
Receive buffer full flag (RBF)
Receive interrupt request (RI)
Serial I/O3 status register
RBF=0
D
D
1
PRELIMINARY
Notice: This is not a final specification.
Some parametric limits are subject to change.
1
Address 0032
1/16
Transmit buffer empty flag (TBE)
* Generated at 2nd bit in 2-stop-bit mode
Transmit shift
completion flag (TSC)
UART3 control register
Transmit interrupt request (TI)
16
Address 0031
Address 0033
16
TSC=1*
SP
RBF=1
SP
16

Related parts for M38039G4H-XXXHP