KS152JB Universal Communications Controller Technical Specifications
|
|
|
| Transmit Shift Register |
| |
CLOCK |
|
|
|
| SOUT | RxD |
|
|
| Internal | PARIN |
| P3.0 Alternate |
|
|
|
| Output function | ||
|
| Data Bus |
|
|
| |
|
| Write to |
| LOAD |
|
|
12 | 4 | SBUF |
|
|
| |
| CLOCK |
|
| |||
| SM2 | TX START | TX SHIFT |
|
|
|
| TX CLOCK | TI |
|
|
| |
0 | 1 |
|
|
| ||
SERIAL |
| Serial Interrupt | ||||
|
|
| ||||
|
| CONTROLLER |
| |||
|
|
|
|
| ||
|
|
| RI |
|
|
|
|
| RX CLOCK | SHIFT |
|
| TxD |
|
| CLOCK |
|
| ||
|
|
|
| P3.1 Alternate | ||
|
|
| LOAD |
|
| |
|
|
|
|
| Output function | |
RI |
| RX | SBUF |
|
|
|
|
| RX SHIFT |
|
|
| |
REN |
| START |
|
|
| |
|
|
|
|
| ||
|
|
|
|
|
| |
|
|
|
| CLOCK |
| Internal |
|
|
|
| PAROUT | SBUF | |
|
|
|
| Data Bus | ||
RxD |
|
|
| SIN |
|
|
P3.0 Alternate |
|
|
|
|
|
|
Input function |
|
|
|
|
| Read |
|
|
|
| Receive Shift Register |
| SBUF |
Local Serial Port Mode 0
MODE 1
In Mode 1, the full duplex mode is used. Serial communication frames are made up of 10 bits transmitted on TXD and received on RXD. The 10 bits consist of a start bit (0), 8 data bits (LSB first), and a stop bit (1). On receive, the stop bit goes into RB8 in the SFR SCON. The baud rate in this mode is variable.In this mode 10 bits are transmitted (on TxD) or received (on RxD). The frame consists of a start bit (0), 8 data bits (LSB first), and a stop bit (1). On reception, the stop bit is placed into RB8. Tthe baud rate is determined by the Timer 1 or timer 2 overflow rate, and so it can be controlled by the user.
The figure below gives the simplified functional block for Mode 1.
Transmission begins with a write to SBUF. The serial data is brought out on to TxD pin following the first
Kawasaki LSI USA, Inc. | Page 24 of 120 | Ver. 0.9 KS152JB2 |