Open main menu

DAVE Developer's Wiki β

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

< ETRA SOM‎ | ETRA Evaluation Kit
(Created page with "{{subst:EVB_Interfaces_and_Connectors | nome-som=ETRA | nome-peripheral =UARTs}}")
 
 
(9 intermediate revisions by 3 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|12555|2021/01/14}}
|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/08/30
|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" |UARTs Linux device updated info
|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 [[ETRA_SOM/ETRA_Hardware/Part_number_composition | Part Number composition]].
  
  
[[File:{{{nome-som}}-EVB-UARTs-connector.png|thumb|center|500px|UARTs connector]]
+
[[File:ETRA-EVK-UARTs-connector.png|thumb|center|300px|UARTs connector]]
  
 
===Signals ===
 
===Signals ===
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.
 
  
=== Device usage ===
+
USART3 is mapped to <code>/dev/ttySTM1</code> device in Linux.
  
To connect to the debug serial port:
+
UART8 is mapped to <code>/dev/ttySTM2</code> device in Linux.
 
 
# 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
 
  
 +
=== Device usage ===
 +
Fix the signal cables to the terminal with a small flat screwdriver.
 
----
 
----
  
 
[[Category:ETRA]]
 
[[Category:ETRA]]

Latest revision as of 16:12, 6 September 2023

History
Issue Date Notes

2021/01/14

First Release
2023/08/30 UARTs Linux device updated info


Contents

UARTs interfaceEdit

DescriptionEdit

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 Part Number composition.


 
UARTs connector

SignalsEdit

The following table describes the interface signals:

J9Edit

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

J10Edit

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 mappingEdit

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

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

Device usageEdit

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