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

From DAVE Developer's Wiki
Jump to: navigation, search
(WIP)
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
! 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" |{{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" |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" |Sep 2021
 
| 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" |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:#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:#ededed; padding:5px; color:#000000" |Update J9 signals information
 
 
|-
 
|-
 
|}
 
|}
Line 20: Line 20:
 
=== Description  ===
 
=== Description  ===
  
The UARTs interfaces available on the Evaluation Kit are mapped to the following connectors:
+
The UARTs interfaces are available on the Evaluation Kit at the connector J8
  
* 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.
+
J8 is a 20x2x2.54mm pin header expansion connector that delivers many interfaces unused on board.
  
[[File:ORCA-EVK-J8-connector.png|thumb|center|500px|UARTs J8 connector]]
+
Some interfaces could not be available in a specific model.
  
* 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:ORCA-EVK-J9-connector.png|thumb|center|500px|UARTs J9 connector]]
+
[[File:{{{nome-som}}-EVB-UARTs-connector.png|thumb|center|500px|UARTs connector]]
  
 
===Signals ===
 
===Signals ===
  
The following tables describe the interfaces signals:
+
The following table describes the interface signals:
  
==== J8 ====
 
 
{| class="wikitable"  
 
{| class="wikitable"  
 
! latexfontsize="scriptsize" | Pin#
 
! latexfontsize="scriptsize" | Pin#
Line 46: Line 44:
 
| SAI2_TXFS
 
| SAI2_TXFS
 
| UART1_CTS
 
| UART1_CTS
|shared with RS232
+
|
 
|-
 
|-
 
| 8
 
| 8
Line 52: Line 50:
 
| SAI2_RXFS
 
| SAI2_RXFS
 
| UART1_TXD
 
| UART1_TXD
|shared with RS232
+
|  
 
|-
 
|-
 
|10
 
|10
Line 58: Line 56:
 
| SAI2_RXC
 
| SAI2_RXC
 
| UART1_RXD
 
| UART1_RXD
|shared with RS232
+
|  
 
|-
 
|-
 
|11
 
|11
Line 64: Line 62:
 
| SAI2_RXD0
 
| SAI2_RXD0
 
| UART1_RTS
 
| 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"
 
! latexfontsize="scriptsize" | Pin#
 
! latexfontsize="scriptsize" | SOM Pin#
 
! latexfontsize="scriptsize" | Pin name
 
! latexfontsize="scriptsize" | Pin function
 
! latexfontsize="scriptsize" | 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 ===
 
=== Device mapping ===
UART1 is mapped to <code>/dev/ttymxc0</code> device in Linux
+
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.
 
 
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 ===
  
The TTL UARTs on J8 can be connected to external devices that use 0-3.3V levels.
+
To connect to the debug serial port:
  
The RS232 and RS485 uses the standard protocols.
+
# connect the DB9 adapter bracket to the J22 connector on the SBCX board
 +
# 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]]
+
[[Category:ORCA SOM]]

Revision as of 15:23, 6 September 2021

History
Version Issue Date Notes
1.0.0 Sep 2021 First release


UARTs interface[edit | edit source]

Description[edit | edit source]

The UARTs interfaces are available on the Evaluation Kit at the connector J8

J8 is a 20x2x2.54mm pin header expansion connector that delivers many interfaces unused on board.

Some interfaces could not be available in a specific model.


[[File:{Template:Nome-som-EVB-UARTs-connector.png|thumb|center|500px|UARTs connector]]

Signals[edit | edit source]

The following table describes the interface signals:

Pin# SOM Pin# Pin name Pin function Pin Notes
7 J15.150 SAI2_TXFS UART1_CTS
8 J15.144 SAI2_RXFS UART1_TXD
10 J15.140 SAI2_RXC UART1_RXD
11 J15.142 SAI2_RXD0 UART1_RTS

Device mapping[edit | edit source]

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

Device usage[edit | edit source]

To connect to the debug serial port:

  1. connect the DB9 adapter bracket to the J22 connector on the SBCX board
  2. connect a serial cable between DB9 connector and PC COM port through a NULL-modem cable (not provided)
  3. start your favorite terminal emulator software on PC (eg: PuTTY); communication parameters are: 115200,N,8,1