English
Language : 

SM59R16A2 Datasheet, PDF (37/67 Pages) SyncMOS Technologies,Inc – 8-Bit Micro-controller
SM59R16A2/SM59R08A2
8-Bit Micro-controller
64KB/32KB ISP Flash & 2KB RAM embedded
9.2 Serial interface 1
The Serial Interface 1 can operate in the following 2 modes:
SM Mode
Description
0
A 9-bit UART
1
B 8-bit UART
Baud Rate
Variable
Variable
9.2.1 Mode A
This mode is similar to Mode 2 and 3 of Serial interface 0, 11 bits are transmitted or received: a start
bit (0), 8 data bits (LSB first), a programmable Bit 9, and a stop bit (1). Bit 9 can be used to control
the parity of the serial interface: at transmission, bit TB81 in S1CON is outputted as Bit 9, and at
receive, Bit 9 affects RB81 in SFR S1CON.
Fig. 9-7: Transmit mode A for Serial 1
Fig. 9-8: Receive mode A for Serial 1
9.2.2 Mode B
This mode is similar to Mode 1 of Serial interface 0. Pin RXD1 serves as input, and TXD1 serves as
serial output. No external shift clock is used. 10 bits are transmitted: a start bit (always 0), 8 data
bits (LSB first), and a stop bit (always 1). On receive, a start bit synchronizes the transmission, 8
data bits are available by reading S1BUF, and stop bit sets the flag RB81 in the SFR S1CON. In
mode B, internal baud rate generator is use to specify the baud rate.
Fig. 9-9: Transmit mode B for Serial 1
Specifications subject to change without notice contact your sales representatives for the most recent information.
ISSFD-M034
37
Ver.B SM59R16A2/SM59R08A2 06/2009