Difference between revisions of "RIALTO SBC/Interfaces and Connectors/UARTs"

From DAVE Developer's Wiki
Jump to: navigation, search
(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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<section begin="History" />
+
<section begin=History/>
 
{| style="border-collapse:collapse; "
 
{| style="border-collapse:collapse; "
! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History
+
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
 
|-  
 
|-  
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |ID#
+
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Issue Date
+
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white" |Notes
 
|-
 
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |1.0.0
 
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |10/01/2023
 
| style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000" |First release
 
|-
 
 
|-
 
|-
 +
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|2023/01/10
 +
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|First documentation release
 
|}
 
|}
<section end="History" />
+
<section end=History/>
<section begin="Body" />
+
__FORCETOC__
 +
<section begin=Body/>
  
 
==UARTs interface ==
 
==UARTs interface ==
Line 21: Line 18:
  
 
The UARTs interfaces available on the RIALTO SBC are mapped to the following connectors:  
 
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 <code>console</code> interface (UART1).
 
 
[[File:RIALTO-SBC-console-connector.png|thumb|center|500px|Console connector]]
 
  
 
* J66 is a Phoenix 282837-3 3x50.8mm connector. On this connector are mapped these instances: UART3 or CAN.
 
* J66 is a Phoenix 282837-3 3x50.8mm connector. On this connector are mapped these instances: UART3 or CAN.
Line 37: Line 30:
  
 
The following tables describe the interfaces signals:
 
The following tables describe the interfaces signals:
 
==== J42====
 
{| class="wikitable"
 
! latexfontsize="scriptsize" | Pin#
 
! latexfontsize="scriptsize" | Pin name
 
! latexfontsize="scriptsize" | Pin function
 
! latexfontsize="scriptsize" | 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====
 
==== J66====
Line 113: Line 78:
  
 
=== Device mapping ===
 
=== Device mapping ===
UART1 is mapped to <code>/dev/ttymxc0</code> 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 <code>/dev/ttymxc2</code> device in Linux
 
RS232 is UART3 and it is mapped to <code>/dev/ttymxc2</code> device in Linux
  
Line 125: Line 88:
 
The RS232, RS485 and CAN use the standard protocols.
 
The RS232, RS485 and CAN use the standard protocols.
  
----
+
<section begin=Body/>
  
 
[[Category:RIALTO SBC]]
 
[[Category:RIALTO SBC]]

Latest revision as of 14:11, 12 January 2024

History
Issue Date Notes
2023/01/10 First documentation release



UARTs interface[edit | edit source]

Description[edit | edit source]

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

  • 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:

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]

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.