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

From DAVE Developer's Wiki
Jump to: navigation, search
(6 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" |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"|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" |{{oldid|14467|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"|Oct 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" |Oct 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"|First DESK 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 DESK 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" |1.0.1
 +
| 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" |Apr 2022
 +
| 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" |Add GPIO setting reference
 
|}
 
|}
<section end=History/>
+
<section end="History" />
<section begin=Body/>
+
<section begin="Body" />
  
 
==UARTs interface ==
 
==UARTs interface ==
Line 21: Line 25:
 
The UARTs interface available on the Evaluation Kit are mapped to the following connectors:
 
The UARTs interface available on the Evaluation Kit are mapped to the following connectors:
  
* J25 is a 6x1x2.54 pitch vertical header for the UART4 port. This is a Digilent Pmod™ Compatible connector for the UART Pmod™ Compatiblemodule (6-Pin Pmod™ Compatible Connector  Digilent Pmod™ Interface Specification Type 4 UART)
+
* J25 is a 6x1x2.54mm horizontal socket header for the UART4 port. This is a Digilent Pmod™ Compatible connector for the UART Pmod™ Compatiblemodule (6-Pin Pmod™ Compatible Connector  Digilent Pmod™ Interface Specification Type 4 UART)
 +
 
 +
 
 +
[[File:AXEL Lite-EVB-PMOD-connector.png|thumb|center| 500px|PMOD configuration]]
 +
 
 +
 
 
* J21 is a standard DB9 male connector for the configurable UART5 port. The board provides some configuration options for the selection of the UART mode (RS232/RS422/RS485 with auto-direction)
 
* J21 is a standard DB9 male connector for the configurable UART5 port. The board provides some configuration options for the selection of the UART mode (RS232/RS422/RS485 with auto-direction)
 +
 +
 +
[[File:AXEL Lite-EVB-DB9-connector.png|thumb|center| 500px|DB9 configuration]]
  
 
===Signals ===
 
===Signals ===
Line 31: Line 43:
  
 
{| 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 || J2.50 || PMOD_A0 || Clear to send ||
+
| 1 || J10.50 || PMOD_A0 || Clear to send ||
 
|-
 
|-
| 2 || J2.89 || PMOD_A1 || Transmit data ||
+
| 2 || J10.89 || PMOD_A1 || Transmit data ||
 
|-
 
|-
| 3 || J2.91 || PMOD_A2 || Receive data ||  
+
| 3 || J10.91 || PMOD_A2 || Receive data ||  
 
|-
 
|-
| 4 || J2.40 || PMOD_A3 || Request to send ||  
+
| 4 || J10.40 || PMOD_A3 || Request to send ||  
 
|-
 
|-
 
| 5 || - || DGND || Ground ||  
 
| 5 || - || DGND || Ground ||  
Line 53: Line 65:
  
 
{| 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"| RS-232
+
! latexfontsize="scriptsize" | RS-232
! latexfontsize="scriptsize"| RS-422
+
! latexfontsize="scriptsize" | RS-422
! latexfontsize="scriptsize"| RS-485
+
! latexfontsize="scriptsize" | RS-485
 
|-
 
|-
 
| 1 || - || Not connected || Not connected || Not connected || Not connected
 
| 1 || - || Not connected || Not connected || Not connected || Not connected
 
|-
 
|-
| 2 || J2.95 || UART5_A || UART2 receive line || UART5_A || UART5_A
+
| 2 || J10.95 || UART5_A || UART5 receive line || UART5_A || UART5_A
 
|-
 
|-
| 3 || J2.93 || UART5_Y || UART2 transmit line || UART5_Y || UART5_A
+
| 3 || J10.93 || UART5_Y || UART5 transmit line || UART5_Y || UART5_A
 
|-
 
|-
 
| 4 || - || Not connected || Not connected || Not connected || Not connected
 
| 4 || - || Not connected || Not connected || Not connected || Not connected
Line 72: Line 84:
 
| 6 || - || Not connected || Not connected || Not connected || Not connected
 
| 6 || - || Not connected || Not connected || Not connected || Not connected
 
|-
 
|-
| 7 || J2.105 || UART5_Z || UART2 Request To Send || UART5_Z || UART5_B
+
| 7 || J10.105 || UART5_Z || UART5 Request To Send || UART5_Z || UART5_B
 
|-
 
|-
| 8 || J2.107 || UART5_B || UART2 Clear To Send || UART5_B || UART5_B
+
| 8 || J10.107 || UART5_B || UART5 Clear To Send || UART5_B || UART5_B
 
|-
 
|-
 
| 9 || - || Not connected || Not connected || Not connected || Not connected
 
| 9 || - || Not connected || Not connected || Not connected || Not connected
 
|}
 
|}
  
The J19 and J20 jumpers are used to configure the UART mode, as  
+
The J19 and J20 jumpers are used to configure the UART mode, as reported below:
reported below:
 
  
 
{| class="wikitable"  
 
{| class="wikitable"  
! latexfontsize="scriptsize"| Jumper
+
! latexfontsize="scriptsize" | Jumper
! latexfontsize="scriptsize"| RS232 mode
+
! latexfontsize="scriptsize" | RS232 mode
! latexfontsize="scriptsize"| RS422 mode
+
! latexfontsize="scriptsize" | RS422 mode
! latexfontsize="scriptsize"| RS485 mode
+
! latexfontsize="scriptsize" | RS485 mode
 
|-
 
|-
 
| 1-3 || open || open || closed
 
| 1-3 || open || open || closed
Line 104: Line 115:
 
| 14-16 || open || open || closed
 
| 14-16 || open || open || closed
 
|}
 
|}
 +
 +
[[File:AXEL Lite-EVB-UART5-connector.png|thumb|center| 500px|J19 and J20 connectors]]
  
 
[[File: AXEL_Lite_-_EVK-_UART5_configuration_jumpers.jpg|500px|thumb|UART5 jumper configuration|center]]
 
[[File: AXEL_Lite_-_EVK-_UART5_configuration_jumpers.jpg|500px|thumb|UART5 jumper configuration|center]]
Line 115: Line 128:
  
 
* UART4 can be used with a PMOD adapter or with a TTL peripheral
 
* UART4 can be used with a PMOD adapter or with a TTL peripheral
* UART5 is a MultiProtocol that support (after harware Jumper configuration) the RS232, RS4222 or RS485 protocols. The related ''device tree file'' has to be properly configured too for enabling the GPIO transceiver configuration.  
+
* UART5 is a MultiProtocol that support (after harware Jumper configuration) the RS232, RS4222 or RS485 protocols. The related ''device tree file'' has to be properly configured too for enabling the GPIO transceiver configuration, see [[DESK-MX6-L/Pheripherals/UART#Configuring_the_RS232.2FRS485_mode | Configuring the RS232/RS485 mode]]
  
 
----
 
----
  
 
[[Category:AXEL Lite]]
 
[[Category:AXEL Lite]]

Revision as of 15:22, 27 May 2022

History
Version Issue Date Notes

1.0.0

Oct 2020 First DESK release
1.0.1 Apr 2022 Add GPIO setting reference


UARTs interface[edit | edit source]

Description[edit | edit source]

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

  • J25 is a 6x1x2.54mm horizontal socket header for the UART4 port. This is a Digilent Pmod™ Compatible connector for the UART Pmod™ Compatiblemodule (6-Pin Pmod™ Compatible Connector Digilent Pmod™ Interface Specification Type 4 UART)


PMOD configuration


  • J21 is a standard DB9 male connector for the configurable UART5 port. The board provides some configuration options for the selection of the UART mode (RS232/RS422/RS485 with auto-direction)


DB9 configuration

Signals[edit | edit source]

The following tables describes the interface signals

UART4[edit | edit source]

Pin# SOM Pin# Pin name Pin function Pin Notes
1 J10.50 PMOD_A0 Clear to send
2 J10.89 PMOD_A1 Transmit data
3 J10.91 PMOD_A2 Receive data
4 J10.40 PMOD_A3 Request to send
5 - DGND Ground
6 - 3V3 +3.3 V

UART5[edit | edit source]

Pin# SOM Pin# Pin name RS-232 RS-422 RS-485
1 - Not connected Not connected Not connected Not connected
2 J10.95 UART5_A UART5 receive line UART5_A UART5_A
3 J10.93 UART5_Y UART5 transmit line UART5_Y UART5_A
4 - Not connected Not connected Not connected Not connected
5 - DGND Ground Ground Ground
6 - Not connected Not connected Not connected Not connected
7 J10.105 UART5_Z UART5 Request To Send UART5_Z UART5_B
8 J10.107 UART5_B UART5 Clear To Send UART5_B UART5_B
9 - Not connected Not connected Not connected Not connected

The J19 and J20 jumpers are used to configure the UART mode, as reported below:

Jumper RS232 mode RS422 mode RS485 mode
1-3 open open closed
5-7 open closed open
9-11 open closed open
2-4 open open closed
6-8 open closed closed
10-12 open closed closed
13-15 open open closed
14-16 open open closed
J19 and J20 connectors
UART5 jumper configuration


Device mapping[edit | edit source]

  • UART4 is mapped to /dev/ttymxc3 device in Linux
  • UART5 is mapped to /dev/ttymxc4 device in Linux

Device usage[edit | edit source]

  • UART4 can be used with a PMOD adapter or with a TTL peripheral
  • UART5 is a MultiProtocol that support (after harware Jumper configuration) the RS232, RS4222 or RS485 protocols. The related device tree file has to be properly configured too for enabling the GPIO transceiver configuration, see Configuring the RS232/RS485 mode