4.5 COM Port Comparison
The I-7188XC(D) COM ports are as follows:
COM Port
Hardware
COM1
80188’s on-chip UART-0, 5-wire RS-232 or 2-wire
RS-485
COM2
80188’s on-chip UART-1, 2-wire RS-485
The I-7188XC(D) COM Ports can be set as RS-232 or RS-485 as
below:
COM Port Type Pin name
2-wire RS-485
Data+, Data-
3-wire RS-232
TXD, RXD, GND
5-wire RS-232
TXD, RXD, GND, RTS, CTS
The programming required for the 80188 UART is very different from
the 16C550. Interrupt handling on the 80188 is also very different from
the 8259 on a PC. Therefore, the RS-232 application programs for PC
are not executed in the I-7188XC(D).
The software driver for the I-7188XC(D) is an interrupt driven library that
provides a 1K QUEUE buffer for each COM Port. The software is well
designed and easy to use.
The software driver provides the same interface for all two COM Ports,
so each port can be used in the same way without any difficulty.
I-7188XC Series User’s Manual(Ver.1.0, Apr/2007,7MH-21-10) ---
54
Содержание I-7188XC Series
Страница 87: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 87...
Страница 136: ...I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 136...
Страница 142: ...Step 8 Make the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 142...
Страница 149: ...Step 8 Rebuild the project I 7188XC Series User s Manual Ver 1 0 Apr 2007 7MH 21 10 149...