TS-7180 COM Ports: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The TS-7180 provides three standard RS-232 | The TS-7180 provides three standard RS-232 ports, and one RS-485 port. A fourth RS-232 port is a non-standard option. All of these ports are presented on the P5 connector. The RS-485 port has auto-transmit-enable and an on-board terminator that may be enabled by installing the "485" jumper (adjacent to the RTC battery). | ||
{|class=wikitable | {|class=wikitable | ||
Line 32: | Line 32: | ||
|} | |} | ||
{{Note|The RS-232 transceiver chip on the board must be enabled before | {{Note|The RS-232 transceiver chip on the board must be enabled before those ports can be used. This is done by running the command <code>tshwctl -a 21 -w 3</code>. }} | ||
Custom | Custom boards may provide a fourth RS-232 port on P5, taking over the pins that by default are assigned to the second CAN controller. In this case, the pinout of the additional RS-232 port is: | ||
{|class=wikitable | {|class=wikitable | ||
Line 49: | Line 49: | ||
The [[#HD12 Header|daughter-card interface]] (HD12 header) contains TTL-level TX/RX pins that may be used to connect to a CPU UART, with the caveat that to do so, one of the assigned UARTs must be reassigned to the header. The reassignment is done by writing to the register at address 308 in the FPGA. The table in the [[#FPGA_Registers|FPGA Registers section]] shows which | The [[#HD12 Header|daughter-card interface]] (HD12 header) contains TTL-level TX/RX pins that may be used to connect to a CPU UART, with the caveat that to do so, one of the assigned UARTs must be reassigned to the header. The reassignment is done by writing to the register at address 308 in the FPGA. The table in the [[#FPGA_Registers|FPGA Registers section]] shows which UARTs may be reassigned. By default, the HD1 TX/RX pins are not connected to any UART. |
Revision as of 15:14, 11 October 2021
The TS-7180 provides three standard RS-232 ports, and one RS-485 port. A fourth RS-232 port is a non-standard option. All of these ports are presented on the P5 connector. The RS-485 port has auto-transmit-enable and an on-board terminator that may be enabled by installing the "485" jumper (adjacent to the RTC battery).
UART | TX | RX |
---|---|---|
ttymxc1 | P5-5 | P5-6 |
ttymxc4 | P5-2 | P5-3 |
ttymxc6 | P5-7 | P5-8 |
UART | 485+ | 485- |
---|---|---|
ttymxc3 | P5-13 | P5-14 |
Note: | The RS-232 transceiver chip on the board must be enabled before those ports can be used. This is done by running the command tshwctl -a 21 -w 3 .
|
Custom boards may provide a fourth RS-232 port on P5, taking over the pins that by default are assigned to the second CAN controller. In this case, the pinout of the additional RS-232 port is:
UART | TX | RX |
---|---|---|
ttymxc7 | P5-10 | P5-11 |
The daughter-card interface (HD12 header) contains TTL-level TX/RX pins that may be used to connect to a CPU UART, with the caveat that to do so, one of the assigned UARTs must be reassigned to the header. The reassignment is done by writing to the register at address 308 in the FPGA. The table in the FPGA Registers section shows which UARTs may be reassigned. By default, the HD1 TX/RX pins are not connected to any UART.