Difference between revisions of "ORCA SOM/ORCA Evaluation Kit/Interfaces and Connectors/UARTs"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:EVB_Interfaces_and_Connectors | nome-som=ORCA SOM | nome-peripheral = UARTs}}")
 
 
(7 intermediate revisions by 2 users 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"|Version
+
! 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"|X.Y.Z
+
| 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" |{{oldid|15555|2021/12/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"|Month Year
+
| 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"|TBD
 
 
|-
 
|-
|-
+
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |2023/06/22
|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"|[TBD_link X.Y.Z]
+
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |Update J9 signals information
|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"|Month Year
 
|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"|TBD
 
|-
 
|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"|...
 
|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"|...
 
|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"|...
 
 
|-
 
|-
 
|}
 
|}
<section end=History/>
+
<section end="History" />
<section begin=Body/>
+
<section begin="Body" />
  
 
==UARTs interface ==
 
==UARTs interface ==
  
''TBD: sostituire le sezioni con le informazioni sull'uso della periferica e del suo connettore''
+
=== Description  ===
''Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console''
 
  
=== Description  ===
+
The UARTs interfaces available on the Evaluation Kit are mapped to the following connectors:
  
The UARTs interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.  
+
* J8 is a 20x2x2.54mm pin header expansion connector that delivers many interfaces unused on board. On this connector are mapped these instances: UART1; UART2 (default debug console); UART4.
  
''Jxx'' is a ''TBD:connector-type'' header connector for the RS232 two-wires UART3 port, used for debug purposes (bootloader and operating system serial console).
+
[[File:ORCA-EVK-J8-connector.png|thumb|center|500px|UARTs J8 connector]]
  
 +
* J9 is a 8x1x1.25mm 53398-0871 Molex connector that delivers one RS232 4 wires (mapped to UART1) and one RS485 2 wires (mapped to UART3) 
  
[[File:{{{nome-som}}-EVB-UARTs-connector.png|thumb|center|500px|UARTs connector]]
+
[[File:ORCA-EVK-J9-connector.png|thumb|center|500px|UARTs J9 connector]]
  
 
===Signals ===
 
===Signals ===
  
The following table describes the interface signals:
+
The following tables describe the interfaces signals:
 +
 
 +
==== J8 ====
 +
{| class="wikitable"
 +
! latexfontsize="scriptsize" | Pin#
 +
! latexfontsize="scriptsize" | SOM Pin#
 +
! latexfontsize="scriptsize" | Pin name
 +
! latexfontsize="scriptsize" | Pin function
 +
! latexfontsize="scriptsize" | Pin Notes
 +
|-
 +
|7
 +
| J15.150
 +
| SAI2_TXFS
 +
| UART1_CTS
 +
|shared with RS232
 +
|-
 +
| 8
 +
| J15.144
 +
| SAI2_RXFS
 +
| UART1_TXD
 +
|shared with RS232
 +
|-
 +
|10
 +
| J15.140
 +
| SAI2_RXC
 +
| UART1_RXD
 +
|shared with RS232
 +
|-
 +
|11
 +
| J15.142
 +
| SAI2_RXD0
 +
| UART1_RTS
 +
|shared with RS232
 +
|-
 +
|19
 +
|J15.122
 +
|ECSPI2_MOSI
 +
|UART4_TXD
 +
|Transmit signal (OUT)
 +
|-
 +
|21
 +
|J15.120
 +
|ECSPI2_MISO
 +
|UART4_CTS
 +
|Clear to send (OUT)
 +
|-
 +
|23
 +
|J15.124
 +
|ECSPI2_SCLK
 +
|UART4_RXD
 +
|Receive signal (IN)
 +
|-
 +
|24
 +
|J15.126
 +
|ECSPI2_SS0
 +
|UART4_RTS
 +
|Request to send (IN)
 +
|-
 +
|27
 +
|J15.248
 +
|UART2_RXD
 +
|UART2_RXD
 +
|default debug console
 +
|-
 +
|29
 +
|J15.250
 +
|UART2_TXD
 +
|UART2_TXD
 +
|default debug console
 +
|-
 +
|31
 +
|J15.256
 +
|UART4_RXD
 +
|UART4_RXD
 +
|alternative to ECSPI2_SCLK
 +
|-
 +
|33
 +
|J15.258
 +
|UART4_TXD
 +
|UART4_TXD
 +
|alternative to ECSPI2_MOSI
 +
|-
 +
|1, 17
 +
| -
 +
|3V3_CB
 +
|Power output for transceiver supply
 +
|BOARD_PGOOD driven rail
 +
|-
 +
|6, 9, 14, 20, 25, 30, 34, 39
 +
| -
 +
|DGND
 +
|Ground
 +
|
 +
|}
  
 +
==== J9 ====
 
{| class="wikitable"  
 
{| class="wikitable"  
! latexfontsize="scriptsize"| Pin#
+
! latexfontsize="scriptsize" | Pin#
! latexfontsize="scriptsize"| SOM Pin#
+
! latexfontsize="scriptsize" | SOM Pin#
! latexfontsize="scriptsize"| Pin name
+
! latexfontsize="scriptsize" | Pin name
! latexfontsize="scriptsize"| Pin function
+
! latexfontsize="scriptsize" | Pin function
! latexfontsize="scriptsize"| Pin Notes
+
! latexfontsize="scriptsize" | Pin Notes
 
|-
 
|-
|1,2,4,6,,7,8,10
+
|1
 
| -
 
| -
| N.A.
+
| RS485_A
| N.C.
+
|Non inverting BUS signal
| Not connected
+
|UART3
 
|-
 
|-
| 3
+
|2
| J1.189
+
| -
| RS232_RX
+
| RS485_B
| Receive line
+
|Inverting BUS signal
|  
+
|UART3
 
|-
 
|-
| 3
+
|3
| J1.187
+
| -
| RS232_TX
+
| RS485_B_120R
| Transmit line
+
|Termination resistor
|  
+
|connect this signal to RS485_B
 +
to enable the 120R termination
 
|-
 
|-
| 9
+
|4
 
| -
 
| -
 
| DGND
 
| DGND
| Ground
+
|Ground
|  
+
|
 +
|-
 +
|5
 +
|J15.144
 +
|RS232_TX
 +
|Transmit line
 +
|UART1_TXD (shared with J8.8)
 +
|-
 +
|6
 +
|J15.140
 +
|RS232_RX
 +
|Receive line
 +
|UART1_RXD (shared with J8.10)
 +
|-
 +
|7
 +
|J15.150
 +
|RS232_CTS
 +
|Clear to send line
 +
|UART1_CTS (shared with J8.7)
 +
|-
 +
|8
 +
|J15.142
 +
|RS232_RTS
 +
|Request to send line
 +
|UART1_RTS (shared with J8.11)
 
|}
 
|}
  
 
=== Device mapping ===
 
=== Device mapping ===
UART3 is mapped to <code>/dev/ttymxc2</code> device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.
+
UART1 is mapped to <code>/dev/ttymxc0</code> device in Linux
 +
 
 +
UART2 is mapped to <code>/dev/ttymxc1</code> device in Linux. The peripheral is used as the default serial console, both for the bootloader and the kernel.
 +
 
 +
UART3 is mapped to <code>/dev/ttymxc2</code> device in Linux
 +
 
 +
UART4 is mapped to <code>/dev/ttymxc3</code> device in Linux
  
 
=== Device usage ===
 
=== Device usage ===
  
To connect to the debug serial port:
+
The TTL UARTs on J8 can be connected to external devices that use 0-3.3V levels.
  
# connect the DB9 adapter bracket to the J22 connector on the SBCX board
+
The RS232 and RS485 uses the standard protocols.
# connect a serial cable between DB9 connector and PC COM port through a NULL-modem cable (not provided)
 
# start your favorite terminal emulator software on PC (eg: PuTTY); communication parameters are: 115200,N,8,1
 
  
 
----
 
----
  
[[Category:ORCA SOM]]
+
[[Category:ORCA]]

Latest revision as of 18:51, 29 December 2023

History
Issue Date Notes

2021/12/10

First release
2023/06/22 Update J9 signals information


UARTs interface[edit | edit source]

Description[edit | edit source]

The UARTs interfaces available on the Evaluation Kit are mapped to the following connectors:

  • J8 is a 20x2x2.54mm pin header expansion connector that delivers many interfaces unused on board. On this connector are mapped these instances: UART1; UART2 (default debug console); UART4.
UARTs J8 connector
  • J9 is a 8x1x1.25mm 53398-0871 Molex connector that delivers one RS232 4 wires (mapped to UART1) and one RS485 2 wires (mapped to UART3)
UARTs J9 connector

Signals[edit | edit source]

The following tables describe the interfaces signals:

J8[edit | edit source]

Pin# SOM Pin# Pin name Pin function Pin Notes
7 J15.150 SAI2_TXFS UART1_CTS shared with RS232
8 J15.144 SAI2_RXFS UART1_TXD shared with RS232
10 J15.140 SAI2_RXC UART1_RXD shared with RS232
11 J15.142 SAI2_RXD0 UART1_RTS shared with RS232
19 J15.122 ECSPI2_MOSI UART4_TXD Transmit signal (OUT)
21 J15.120 ECSPI2_MISO UART4_CTS Clear to send (OUT)
23 J15.124 ECSPI2_SCLK UART4_RXD Receive signal (IN)
24 J15.126 ECSPI2_SS0 UART4_RTS Request to send (IN)
27 J15.248 UART2_RXD UART2_RXD default debug console
29 J15.250 UART2_TXD UART2_TXD default debug console
31 J15.256 UART4_RXD UART4_RXD alternative to ECSPI2_SCLK
33 J15.258 UART4_TXD UART4_TXD alternative to ECSPI2_MOSI
1, 17 - 3V3_CB Power output for transceiver supply BOARD_PGOOD driven rail
6, 9, 14, 20, 25, 30, 34, 39 - DGND Ground

J9[edit | edit source]

Pin# SOM Pin# Pin name Pin function Pin Notes
1 - RS485_A Non inverting BUS signal UART3
2 - RS485_B Inverting BUS signal UART3
3 - RS485_B_120R Termination resistor connect this signal to RS485_B

to enable the 120R termination

4 - DGND Ground
5 J15.144 RS232_TX Transmit line UART1_TXD (shared with J8.8)
6 J15.140 RS232_RX Receive line UART1_RXD (shared with J8.10)
7 J15.150 RS232_CTS Clear to send line UART1_CTS (shared with J8.7)
8 J15.142 RS232_RTS Request to send line UART1_RTS (shared with J8.11)

Device mapping[edit | edit source]

UART1 is mapped to /dev/ttymxc0 device in Linux

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

UART3 is mapped to /dev/ttymxc2 device in Linux

UART4 is mapped to /dev/ttymxc3 device in Linux

Device usage[edit | edit source]

The TTL UARTs on J8 can be connected to external devices that use 0-3.3V levels.

The RS232 and RS485 uses the standard protocols.