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

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:EVB_Interfaces_and_Connectors | nome-som=ETRA | nome-peripheral = Auxiliary connectors}}")
(4 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" |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"|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" |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"|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:#edf8fb; padding:5px; color:#000000" |2021/04/06
+
|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" |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"|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"|[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/>
  
 
==Auxiliary connectors interface ==
 
==Auxiliary connectors 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 Auxiliary connectors on the Evaluation Kit are J11 and J12, 2x15x2.54mm stripline header.  
+
The Auxiliary connectors interface available on the Evaluation Kit at the connector ''TBD:Jxxx''.  
 +
 
 +
''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).
  
On these connectors are available many interfaces, some of this peripherals are not available at the same time:
 
* FDCAN1
 
* FDCAN2
 
* I2C5
 
* SPI5
 
* UART7
 
* SAI2
 
* 11x8 keyboard matrix
 
* LED driver
 
* JTAG
 
  
[[File:ETRA-EVK-auxiliary-connectors.png|thumb|center|500px|Auxiliary connectors]]
+
[[File:{{{nome-som}}-EVB-Auxiliary connectors-connector.png|thumb|center|500px|Auxiliary connectors connector]]
  
 
===Signals ===
 
===Signals ===
  
The following tables describe the connectors signals:
+
The following table describes the interface signals:
* J11
+
 
 
{| 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
!POWER
+
! latexfontsize="scriptsize"| Pin function
! latexfontsize="scriptsize" |JTAG
+
! latexfontsize="scriptsize"| Pin Notes
! latexfontsize="scriptsize" |KEYBOARD
 
!LED
 
 
|-
 
|-
|1
+
|1,2,4,6,,7,8,10
 
| -
 
| -
| 5V_CB
+
| N.A.
|5V
+
| N.C.
|
+
| Not connected
|
 
|
 
 
|-
 
|-
|2
+
| 3
| -
+
| J1.189
|3V3_CB
+
| RS232_RX
|3.3V
+
| Receive line
|
 
 
|  
 
|  
|
 
 
|-
 
|-
|3
+
| 3
|J18.143
+
| J1.187
|ADP5589_R2
+
| RS232_TX
|
+
| Transmit line
|
+
|  
|ROW_2
 
|
 
 
|-
 
|-
|4
+
| 9
|J18.149
 
|ADP5589_C0
 
|
 
|
 
|COLUMN_0
 
|LED_0
 
|-
 
|5
 
|J18.141
 
|ADP5589_R3
 
|
 
|
 
|ROW_3
 
|
 
|-
 
|6
 
|J18.151
 
|ADP5589_C1
 
|
 
|
 
|COLUMN_1
 
|LED_1
 
|-
 
|7
 
|J18.139
 
|ADP5589_R4
 
|
 
|
 
|ROW_4
 
|
 
|-
 
|8
 
|J18.155
 
|ADP5589_C2
 
|
 
|
 
|COLUMN_2
 
|LED_2
 
|-
 
|9
 
|J18.137
 
|ADP5589_R5
 
|
 
|
 
|ROW_5
 
|
 
|-
 
|10
 
|J18.157
 
|ADP5589_C3
 
|
 
|
 
|COLUMN_3
 
|LED_3
 
|-
 
|11
 
|J18.135
 
|ADP5589_R6
 
|
 
|
 
|ROW_6
 
|
 
|-
 
|12
 
|J18.159
 
|ADP5589_C4
 
|
 
|
 
|COLUMN_4
 
|LED_4
 
|-
 
|13
 
|J18.133
 
|ADP5589_R7
 
|
 
|
 
|ROW_7
 
|
 
|-
 
|14
 
|J18.161
 
|ADP5589_C5
 
|
 
|
 
|COLUMN_5
 
|LED_5
 
|-
 
|15,20,29
 
 
| -
 
| -
|DGND
+
| DGND
|Ground
+
| Ground
|
+
|  
|
 
|
 
|-
 
|16
 
|J18.147
 
|ADP5589_R0
 
|
 
|
 
|ROW_0
 
|
 
|-
 
|17
 
| -
 
|VDD
 
|3.3V
 
|ref. voltage
 
|
 
|
 
|-
 
|18
 
|J18.145
 
|ADP5589_R1
 
|
 
|
 
|ROW_1
 
|
 
|-
 
|19
 
|J18.90
 
|JTMS-SWDIO
 
|
 
|JTMS-SWDIO
 
|
 
|
 
|-
 
|21
 
|J18.98
 
|JTCK-SWCLK
 
|
 
|JTCK-SWCLK
 
|
 
|
 
|-
 
|22
 
|J18.163
 
|ADP5589_C6
 
|
 
|
 
|COLUMN_6
 
|
 
|-
 
|23
 
|J18.92
 
|JTDI
 
|
 
|JTDI
 
|
 
|
 
|-
 
|24
 
|J18.165
 
|ADP5589_C7
 
|
 
|
 
|COLUMN_7
 
|
 
|-
 
|25
 
|J18.96
 
|JTDO-TRACESWOO
 
|
 
|JTDO-TRACESWOO
 
|
 
|
 
|-
 
|26
 
|J18.167
 
|ADP5589_C8
 
|
 
|
 
|COLUMN_8
 
|
 
|-
 
|27
 
|J18.94
 
|NJTRST
 
|
 
|NJTRST
 
|
 
|
 
|-
 
|28
 
|J18.169
 
|ADP5589_C9
 
|
 
|
 
|COLUMN_9
 
|
 
|-
 
|30
 
|J18.171
 
|ADP5589_C10
 
|
 
|
 
|COLUMN_10
 
|
 
 
|}
 
|}
* J12
 
{| class="wikitable"
 
|-
 
!Pin#
 
! SOM Pin#
 
! Pin name
 
!POWER
 
!System control
 
!CAN
 
!I2C
 
!SPI
 
!UART
 
!SAI
 
|-
 
|1
 
| -
 
| 5V_CB
 
|5V
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|2,4
 
| -
 
|PMIC_3V3
 
|3.3V
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|3
 
|J18.
 
|PD13
 
|
 
|
 
|
 
|
 
|
 
|
 
|SAI2_SCK_A
 
|-
 
|5
 
|J18.
 
|PD12
 
|
 
|
 
|
 
|
 
|
 
|
 
|SAI2_FS_A
 
|-
 
|6
 
|J18.
 
|PB13
 
|
 
|
 
|FDCAN2_TX
 
|
 
|
 
|
 
|
 
|-
 
|7
 
|J18.
 
|PD11
 
|
 
|
 
|
 
|
 
|
 
|
 
|SAI2_SD_A
 
|-
 
|8
 
|J18.
 
|PB5
 
|
 
|
 
|FDCAN2_RX
 
|
 
|
 
|
 
|
 
|-
 
|9
 
|J18.
 
|PG9
 
|
 
|
 
|
 
|
 
|
 
|
 
|SAI2_FS_B
 
|-
 
|10, 11, 16, 19, 29, 30
 
| -
 
|DGND
 
|Ground
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|12
 
|J18.
 
|PA12
 
|
 
|
 
|FDCAN1_TX
 
|I2C5_SDA
 
|
 
|
 
|
 
|-
 
|13
 
| -
 
|3V3_CB
 
|3.3V
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|14
 
|J18.
 
|PA11
 
|
 
|
 
|FDCAN1_RX
 
|I2C5_SCL
 
|
 
|
 
|
 
|-
 
|15
 
| -
 
|N.C.
 
|
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|17
 
| -
 
|N.C.
 
|
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|18
 
|J18.
 
|PF6
 
|
 
|
 
|
 
|
 
|SPI5_NSS
 
|UART7_RX
 
|
 
|-
 
|20
 
|J18.
 
|PF9
 
|
 
|
 
|
 
|
 
|SPI5_MOSI
 
|UART7_CTS
 
|
 
|-
 
|21
 
|J18.
 
|NRST
 
|
 
|system reset
 
|
 
|
 
|
 
|
 
|
 
|-
 
|22
 
|J18.
 
|PF7
 
|
 
|
 
|
 
|
 
|SPI5_SCK
 
|UART7_TX
 
|
 
|-
 
|23
 
|J18.
 
|PONKEYn
 
|
 
|power key
 
|
 
|
 
|
 
|
 
|
 
|-
 
|24
 
|J18.
 
|PF8
 
|
 
|
 
|
 
|
 
|SPI5_MISO
 
|UART7_RTS/
 
  
UART7_DE
+
=== 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.
|-
 
|25
 
|J18.
 
|EEPROM_WP
 
|
 
|write protect for carrier eeprom
 
|
 
|
 
|
 
|
 
|
 
|-
 
|26
 
|J18.
 
|PD6
 
|
 
|
 
|
 
|
 
|
 
|
 
|
 
|-
 
|27
 
|J18.
 
|MEM_WP#
 
|
 
|write protect for NAND
 
|
 
|
 
|
 
|
 
|
 
|-
 
|28
 
|J18.
 
|PA9
 
|
 
|
 
|
 
|
 
|
 
|
 
|
 
|}
 
  
 
=== Device usage ===
 
=== Device usage ===
  
==== CAN ====
+
To connect to the debug serial port:
The CAN interfaces need a tranceiver to be connected to the CAN bus.
 
 
 
'''NOTE:''' the FDCAN1 pins are shared with touchscreen I2C interface and are not available when using I2C5.
 
 
 
See the [[ETRA SOM/ETRA Hardware/Peripherals/CAN|CAN]] page for more informations.
 
 
 
==== I2C5 ====
 
Configured by deafult for touchscreen I2C interface.
 
 
 
See the [[ETRA SOM/ETRA Hardware/Peripherals/I2C|I2C]] page for more informations.
 
 
 
==== SPI5 ====
 
'''NOTE:''' these pins are shared with UART7, cannot be used at the same time.
 
 
 
See the [[ETRA SOM/ETRA Hardware/Peripherals/SPI|SPI]] page for more informations.
 
 
 
==== UART7 ====
 
'''NOTE:''' these pins are shared with SPI5, cannot be used at the same time.
 
 
 
See the [[ETRA SOM/ETRA Hardware/Peripherals/USART|UART]] page for more informations.
 
 
 
==== SAI2 ====
 
See the [[ETRA SOM/ETRA Hardware/Peripherals/Audio|Audio]] page for more informations.
 
 
 
==== LED driver ====
 
Open collector outputs through a 120ohm resistor. Can be drive indicators LEDs
 
 
 
By default all the pins are available.
 
 
 
==== keyboard matrix ====
 
'''NOTE:''' COLUMN[0:5] are not available by default as the pins are routed to the LED open collector outputs. Please send an e-mail to [mailto:helpdesk@dave.eu helpdesk@dave.eu] for custom configurations.
 
 
 
See the [[ETRA SOM/ETRA Hardware/Peripherals/IO expander|IO_expander]] page for more informations.
 
 
 
==== Interface membrane ====
 
This mambrane can be provided for user interface when the system is mounted on the 4 modules DIN BAR profile, it can offer up to 2 keys and 6 LEDs.
 
 
 
Please send an e-mail to [mailto:helpdesk@dave.eu helpdesk@dave.eu] for more informations.
 
 
 
==== JTAG ====
 
See the [[ETRA SOM/ETRA Hardware/Power and Reset/JTAG|JTAG]] page for more informations.
 
  
=== System control ===
+
# connect the DB9 adapter bracket to the J22 connector on the SBCX board
See the [[ETRA SOM/ETRA Hardware/Power and Reset/Reset scheme and control signals|reset scheme]] for more informations.
+
# 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
  
The system control signals are the following:
 
* system reset
 
** tie to ground for reset the system
 
* power key
 
** tie to ground for power up and down the system
 
* write protect for carrier eeprom
 
** tie to ground for write inside the carrier eeprom
 
** the first 32 bytes of the eeprom are used to store the CB ConfigID, the corruption of these bytes prevents the system from boot.
 
* write protect for NAND
 
** this pin allow to prevent unwanted writes, tie to ground when the NAND are not to be written.
 
 
----
 
----
  
 
[[Category:ETRA]]
 
[[Category:ETRA]]

Revision as of 12:36, 2 April 2021

History
Version Issue Date Notes
X.Y.Z Month Year TBD
[TBD_link X.Y.Z] Month Year TBD
... ... ...


Auxiliary connectors interface[edit | edit source]

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[edit | edit source]

The Auxiliary connectors interface available on the Evaluation Kit at the connector TBD:Jxxx.

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:{Template:Nome-som-EVB-Auxiliary connectors-connector.png|thumb|center|500px|Auxiliary connectors connector]]

Signals[edit | edit source]

The following table describes the interface signals:

Pin# SOM Pin# Pin name Pin function Pin Notes
1,2,4,6,,7,8,10 - N.A. N.C. Not connected
3 J1.189 RS232_RX Receive line
3 J1.187 RS232_TX Transmit line
9 - DGND Ground

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