Serial Communications (16C452)
The ZT 8809A COM1 and COM2 are shipped configured as DCE.
However, if the opposite configuration is desired for either of these
ports, see Appendix A for the required jumper configurations.
If you prefer to use only a "three-wire" serial interface (that is, TXD,
RXD, and ground), the ZT 8809A can be used without the RTS and
CTS lines. Both serial devices appear to be always ready to transmit
and receive.
System software is more complicated this way because both serial
devices have to keep a sharp lookout for transmitter and receiver
buffer activity. This is best accomplished on the ZT 8809A by using
interrupts. Details on the different aspects of interrupt usage are
discussed later in the serial interrupt register sections of this chapter.
Functionally, whenever an incoming data stream fills the receiver
buffer, an interrupt should be generated, telling the CPU to hurry up
and read the receiver buffer for incoming data. The transmit process is
less critical, but we recommend that the processor be interrupted
when the transmitter buffer is ready to be loaded again by the CPU;
that is, when the previous transmission is complete.
If the software for handling the serial control lines has already been
designed and you want to implement the three-wire serial link, the
ZT 8809A can be jumpered to loop RTS back to CTS, and DTR to
DSR. This is done by wire-wrapping these signals to each other in the
area provided (see Figure 8-2).
8-6
Содержание ZT 8809A
Страница 15: ...Tables Table B 9 J5 Pin Assignments B 17 Table B 10 J6 Pin Assignments B 18 Table B 11 J7 Pin Assignments B 19...
Страница 334: ...Jumper Configurations W49 W48 A W47 B A B W37 W66 A W50 B C J7 W67 Figure A 11 W37 W47 50 W66 W67 Jumper Blocks A 34...
Страница 346: ...Jumper Configurations W61 W60 W62 W63 W64 A B A B W65 Figure A 13 W60 W65 Jumper Block A 46...