Professional Documents
Culture Documents
Control logic:
C/D RD WR
0 0 1 Data input from the Data-in-Buffer
0 1 0 Data output to the Data-out-Buffer
1 0 1 Read Status Register
1 1 0 Write to Mode, Control or Sync char. Regs
After reset the first byte written in the control port is the mode word.
Mode Word: Used to program the 8251A sync/async mode, baud rate
factor, parity enable, number of stop bits, character length etc.
Clock frequency = BRF X Baud rate factor
Typical baud rates in async. Mode is 110 to 19,200 bits/sec
MODE WORD FORMAT
CONTROL REGISTER: After issuing mode word, all the subsequent bytes
written into the control port are command words. The following
commands may be issued.
Enable Transmitter and Receiver sections
Internal Reset
Sending DTR signal
Sending RTS signal
Resetting all Error flags
Sending break in the TXD line
Enter in haunt mode to check SYNC characters.
CONTROL REGISTER FORMAT