RIALTO SBC/Interfaces and Connectors/UARTs

From DAVE Developer's Wiki
< RIALTO SBC
Revision as of 09:42, 10 January 2023 by U0007 (talk | contribs) (Created page with "<section begin="History" /> {| style="border-collapse:collapse; " ! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History |- ! style="bo...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
History
ID# Issue Date Notes
1.0.0 10/01/2023 First release


UARTs interface[edit | edit source]

Description[edit | edit source]

The UARTs interfaces available on the RIALTO SBC are mapped to the following connectors:

  • J42 is a Phoenix 4x1x2.54mm pin header connector. On this connector is mapped the console interface (UART1).
Console connector
  • J66 is a Phoenix 282837-3 3x50.8mm connector. On this connector are mapped these instances: UART3 or CAN.
RS232 or CAN - J66 connector
  • J67 is a Phoenix 282837-3 3x50.8mm connector. On this connector are mapped these instances: UART3 or UART8.
RS232 or RS485 - J67 connector

Signals[edit | edit source]

The following tables describe the interfaces signals:

J42[edit | edit source]

Pin# Pin name Pin function Pin Notes
1 TX UART1_TX LVTTL signal
2 RX UART1_RX LVTTL signal
3 VDD 3V3 powered by internal PMIC
4 DGND GND

J66[edit | edit source]

Pin# Pin name Pin function Pin Notes
1 EXT1_P1 RS232_RX or CAN_P optional RS232 or CAN port
2 EXT1_P2 RS232_TX or CAN_M optional RS232 or CAN port
3 EXT1_GND GND connected to DGND directly or to PCN GND ring via RC filter

J67[edit | edit source]

Pin# Pin name Pin function Pin Notes
1 EXT2_P1 RS232_RX or RS485_A optional RS232 or RS485 port
2 EXT2_P2 RS232_TX or RS485_B optional RS232 or RS485 port
3 EXT2_GND GND connected to DGND directly or to PCN GND ring via RC filter

Device mapping[edit | edit source]

UART1 is mapped to /dev/ttymxc0 device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.

RS232 is UART3 and it is mapped to /dev/ttymxc2 device in Linux

RS485 is UART8 and it is mapped to /dev/ttymxc7 device in Linux

CAN is FLEXCAN1 and it is mapped to can0 device in Linux

Device usage[edit | edit source]

The RS232, RS485 and CAN use the standard protocols.