English
Language : 

GMS90C3X Datasheet, PDF (25/59 Pages) Hynix Semiconductor – HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS90 Series
SERIAL INTERFACE (USART)
The serial port is full duplex and can operate in four modes (one synchronous mode, three asynchronous modes)
as illustrated in Table 6. The possible baud rates can be calculated using the formulas given in Table 7.
Table 6. USART Operating Modes
Mode
SCON
SM0 SM1
0
0
0
1
0
1
2
1
0
3
1
1
Baudrate
Description
f--O----S----C--
12
Timer 1/2 overflow rate
f--O----S----C--
32
or
f--O----S----C--
64
Timer 1/2 overflow rate
Serial data enters and exits through RxD.
TxD outputs the shift clock. 8-bit are transmit-
ted/received (LSB first)
8-bit UART
10 bits are transmitted (through TxD) or
received (RxD)
9-bit UART
11 bits are transmitted (TxD) or received (RxD)
9-bit UART
Like mode 2 except the variable baud rate
Table 7. Formulas for Calculating Baud rates
Baud Rate
derived from
Interface Mode
0
Oscillator
2
1,3
Timer 1 (16-bit timer)
(8-bit timer with
8-bit auto reload)
1,3
Timer 2
1,3
Baudrate
f--O----S----C--
12
2----S----M----O----D--
64
×
fOSC
2----S----M----O----D--
32
×
(
Timer
1
overflow
)
2----S----M----O----D--
32
×
--------------------f-O----S----C---------------------
12 × [256 – (TH1)]
-----------------------------------f--O----S----C------------------------------------
32 × [65536 – (RC2H, RC2L)]
Oct. 2000 Ver 3.1a
21