Difference between revisions of "ETRA SOM/ETRA 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=ETRA | nome-peripheral =UARTs}}")
 
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" |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" |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"|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" |Dec 2020
|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" |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_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:#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''
 
''Nell'esempio di seguito c'è la descrizione dell'interfaccia UART/console''
 
  
 
=== Description  ===
 
=== Description  ===
  
The UARTs interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.  
+
The UART interfaces are available on the Evaluation Kit at the connectors J9 and J10.  
  
''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).
+
J9 and J10 are 3 pin terminal blocks 5.0mm pitch respectively for USART3 and UART8. Can be independently used as RS232 or RS485 based on kit model. '''TODO:aggiungere link alla pagina di composizione P/N'''
  
  
Line 42: Line 31:
 
The following table describes the interface signals:
 
The following table describes the interface signals:
  
 +
==== 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" | RS232
! latexfontsize="scriptsize"| Pin function
+
! latexfontsize="scriptsize" | RS485
! latexfontsize="scriptsize"| Pin Notes
+
! latexfontsize="scriptsize" | Pin Notes
 +
|-
 +
|1
 +
| J18.89
 +
| USART3_TX
 +
| RS485_A
 +
|
 
|-
 
|-
|1,2,4,6,,7,8,10
+
| 2
 +
| J18.91
 +
| USART3_RX
 +
| RS485_B
 +
|
 +
|-
 +
| 3
 
| -
 
| -
| N.A.
+
| Ground
| N.C.
+
| Ground
| Not connected
+
|  
 +
|}
 +
 
 +
==== J10 ====
 +
{| class="wikitable"
 +
! latexfontsize="scriptsize" | Pin#
 +
! latexfontsize="scriptsize" | SOM Pin#
 +
! latexfontsize="scriptsize" | RS232
 +
! latexfontsize="scriptsize" | RS485
 +
! latexfontsize="scriptsize" | Pin Notes
 
|-
 
|-
| 3
+
|1
| J1.189
+
| J18.191
| RS232_RX
+
| UART8_TX
| Receive line
+
| RS485_A
 
|  
 
|  
 
|-
 
|-
| 3
+
| 2
| J1.187
+
| J18.193
| RS232_TX
+
| UART8_RX
| Transmit line
+
| RS485_B
 
|  
 
|  
 
|-
 
|-
| 9
+
| 3
 
| -
 
| -
| DGND
+
| Ground
 
| Ground
 
| Ground
 
|  
 
|  
Line 75: Line 86:
  
 
=== 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.
+
USART3 is mapped to <code>/dev/ttyxxx</code> device in Linux.
 +
 
 +
UART8 is mapped to <code>/dev/ttyxxx</code> device in Linux.
  
 
=== Device usage ===
 
=== Device usage ===
 
+
Fix the signal cables to the terminal with a small flat screwdriver.
To connect to the debug serial port:
 
 
 
# 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:ETRA]]
 
[[Category:ETRA]]

Revision as of 14:29, 31 December 2020

History
Version Issue Date Notes
1.0.0 Dec 2020 First Release


UARTs interface[edit | edit source]

Description[edit | edit source]

The UART interfaces are available on the Evaluation Kit at the connectors J9 and J10.

J9 and J10 are 3 pin terminal blocks 5.0mm pitch respectively for USART3 and UART8. Can be independently used as RS232 or RS485 based on kit model. TODO:aggiungere link alla pagina di composizione P/N


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

Signals[edit | edit source]

The following table describes the interface signals:

J9[edit | edit source]

Pin# SOM Pin# RS232 RS485 Pin Notes
1 J18.89 USART3_TX RS485_A
2 J18.91 USART3_RX RS485_B
3 - Ground Ground

J10[edit | edit source]

Pin# SOM Pin# RS232 RS485 Pin Notes
1 J18.191 UART8_TX RS485_A
2 J18.193 UART8_RX RS485_B
3 - Ground Ground

Device mapping[edit | edit source]

USART3 is mapped to /dev/ttyxxx device in Linux.

UART8 is mapped to /dev/ttyxxx device in Linux.

Device usage[edit | edit source]

Fix the signal cables to the terminal with a small flat screwdriver.