Open main menu

DAVE Developer's Wiki β

RIALTO SBC/Interfaces and Connectors/UARTs

< RIALTO SBC
Revision as of 09:43, 10 January 2023 by U0007 (talk | contribs)

History
ID# Issue Date Notes

17305

10/01/2023 First release


Contents

UARTs interfaceEdit

DescriptionEdit

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

SignalsEdit

The following tables describe the interfaces signals:

J42Edit

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

J66Edit

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

J67Edit

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 mappingEdit

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 usageEdit

The RS232, RS485 and CAN use the standard protocols.