


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Detailed information about the tl16c550 asynchronous communications ic used for full duplex rs-232 communication. It includes pin definitions, suggested wiring diagram, and steps to initialize the uart. It is a part of the electrical and computer engineering course eel4744 taught by drs. Schwartz and gugel during summer 2008.
Typology: Study notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Electrical and Computer Engineering John A. Martiney, former TA Page 1/4 Revision 0 16-Jun- UART / RS-232 Notes
The TL16C550 is an Asynchronous Communications IC that supports one channel of full duplex RS232 communication. It features double buffering of both transmit and receive characters. It also offers programmable data lengths (5-8 bits), even/odd/no parity, 1/2 bit stop bit generation and a wide variety of programmable baud rates. See the datasheet available at Texas Instrument's web site (www.ti.com) for more information and the data sheet from TI at http://www-s.ti.com/sc/ds/tl16c550c.pdf (also available on our website).
See the suggested wiring diagram on the following page. Pin Name Description
A2:0 Address line inputs for selecting internal registers ~ADS Address strobe input that can be used to internally latch a dynamic address bus value. Note: If your μP supports static address, this input can be simply grounded. D7:0 Bi-directional TTL level data bus used to R/W from internal registers. ~BAUDOUT Output that is system clock divided by 16 and then divided by BAUD register contents. CS0, CS1, ~CS2 Chip select inputs, where all must be true to allow reads/writes to internal registers. ~TXREADY, ~RXREADY
Transmitter/Receive DMA signaling ready.
~CTS, ~DCD, ~DSR, ~DTR, ~RI, ~RTS, ~OUT1, ~OUT
Modem communication pins not required in basic RS232 communication.
DDIS Output, that is high when the UART is not being read. Can be used to control external transceiver. RD2, ~RD1 Data input strobes used to read data from the UART. Attach one to the read signal of your uP and then always DISABLE the other. WR2, ~WR1 Data output strobes used to write data to the UART. Attach one to the ~write signal of uP and then always DISABLE the other. INTRPT Interrupt pin (high true) that can be used to initiate an interrupt on the uP. MR Master reset input that resets the UART when high. RCLK Receiver clock input that is tied to -BAUDOUT in most cases. SIN Serial input (RX line) SOUT Serial output (TX line) Vcc, Vss +5V, Ground XIN, XOUT System clock or crystal inputs.
Electrical and Computer Engineering John A. Martiney, former TA Page 2/4 Revision 0 16-Jun- UART / RS-232 Notes
Notes:
D7-D
INTRPT MR A A A ~ADS WR ~WR RD ~RD ~CS2 CS1 CS
~BAUDOUT RCLK
XIN
SIN
SOUT
uP D7-D
uP ~IRQ ~RESET uP A uP A uP A GND GND
VCC
TL16C
uP R/~W uP R/~W
CLK Out (From 1. MHz Clock)
VCC VCC
~UART_CE
R1OUT (From RS-232)
T1IN (To RS-232)
1.8432 MHz Clock
+5V
no connect
CLK Out
GND
TOP VIEW
Electrical and Computer Engineering John A. Martiney, former TA Page 4/4 Revision 0 16-Jun- UART / RS-232 Notes
Data Length & Stop Bit Initialization
Enabling a TX or RX Interrupt
Suggested Early Functional Testing