Difference between revisions of "RIALTO SBC/Interfaces and Connectors/Mezzanine"

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "<section begin="History" /> {| style="border-collapse:collapse; " ! colspan="4" style="width:100%; text-align:left" ; border-bottom:solid 2px #ededed" |History |- ! style="bo...")
 
(Signals)
Line 36: Line 36:
 
! latexfontsize="scriptsize" |Pin#
 
! latexfontsize="scriptsize" |Pin#
 
! latexfontsize="scriptsize" |Pin name
 
! latexfontsize="scriptsize" |Pin name
! latexfontsize="scriptsize" |Pin function
+
! latexfontsize="scriptsize" |Alternate function
 
! latexfontsize="scriptsize" |GPIO
 
! latexfontsize="scriptsize" |GPIO
 +
!Pin notes
 
|-
 
|-
 
|1
 
|1
Line 43: Line 44:
 
|I2C4_SDA, ECSPI3_SCLK
 
|I2C4_SDA, ECSPI3_SCLK
 
|GPIO1_IO21
 
|GPIO1_IO21
 +
|
 +
|-
 +
|2
 +
|UART2_RTS
 +
|FLEXCAN2_RX, ECSPI3_MISO
 +
|GPIO1_IO23
 +
|
 +
|-
 +
|3
 +
|UART2_TX_DATA
 +
|I2C4_SCL, ECSPI3_SS0
 +
|GPIO1_IO20
 +
|
 +
|-
 +
|4
 +
|UART2_CTS
 +
|FLEXCAN2_TX, ECSPI3_MOSI
 +
|GPIO1_IO22
 +
|
 +
|-
 +
|5
 +
|UART5_TX_DATA
 +
|I2C2_SCL
 +
|GPIO1_IO3
 +
|
 +
|-
 +
|6
 +
|UART5_RX_DATA
 +
|I2C2_SDA
 +
|GPIO1_IO31
 +
|
 +
|-
 +
|7
 +
|MEZZANINE_GP0
 +
|
 +
|GPIO3_IO24 or GPIO4_IO25
 +
|LCD_DATA19 or CSI_DATA04 mounting options
 +
|-
 +
|8
 +
|MEZZANINE_GP1
 +
|
 +
|GPIO3_IO27 or GPIO4_IO26
 +
|LCD_DATA22 or CSI_DATA05 mounting options
 +
|-
 +
|9
 +
|MEZZANINE_GP2
 +
|
 +
|GPIO3_IO28 or GPIO4_IO27
 +
|LCD_DATA23 or CSI_DATA06 mounting options
 
|-
 
|-
 
|10
 
|10
 
|DGND
 
|DGND
 
|Ground
 
|Ground
 +
|
 
|
 
|
 
|}
 
|}
Line 53: Line 104:
  
 
=== Device mapping ===
 
=== Device mapping ===
 +
 +
==== UART ====
 +
* UART2 and it is mapped to <code>/dev/ttymxc1</code> device in Linux
 +
* UART5 and it is mapped to <code>/dev/ttymxc4</code> device in Linux
 +
 
==== GPIO ====
 
==== GPIO ====
 
GPIOs are mapped into banks each of which contains 32 pins. They are named as GPIO<bank>_IO<pin>
 
GPIOs are mapped into banks each of which contains 32 pins. They are named as GPIO<bank>_IO<pin>
Line 59: Line 115:
  
 
=== Device usage ===
 
=== Device usage ===
 +
 +
==== UART ====
 +
UART peripherals use standard Linux protocols.
 +
 
==== GPIO ====
 
==== GPIO ====
Under Linux the GPIOs can be manipulated su sysfs export or with the gpio tools.
+
Under Linux the GPIOs can be manipulated su <code>sysfs</code> export or with the gpio tools.
  
 
<section end="Body" />
 
<section end="Body" />
  
 
[[Category:RIALTO SBC]]
 
[[Category:RIALTO SBC]]

Revision as of 14:12, 13 January 2024

History
Issue Date Notes
2024/01/13 First documentationrelease



Mezzanine Connectors[edit | edit source]

Description[edit | edit source]

RIALTO SBC has two mezzanine expansion connectors: J60 and J61.

J60 is a 10x1x2.54mm pin strip header connector.


UART, I2C, GPIO connector (J60)

J61 is a 10x1x2.54mm pin strip header connector.


VIN, 3V3, 5V, GPIO connector (J61)

Signals[edit | edit source]

The following table describes the interface signals:

Pin# Pin name Alternate function GPIO Pin notes
1 UART2_RX_DATA I2C4_SDA, ECSPI3_SCLK GPIO1_IO21
2 UART2_RTS FLEXCAN2_RX, ECSPI3_MISO GPIO1_IO23
3 UART2_TX_DATA I2C4_SCL, ECSPI3_SS0 GPIO1_IO20
4 UART2_CTS FLEXCAN2_TX, ECSPI3_MOSI GPIO1_IO22
5 UART5_TX_DATA I2C2_SCL GPIO1_IO3
6 UART5_RX_DATA I2C2_SDA GPIO1_IO31
7 MEZZANINE_GP0 GPIO3_IO24 or GPIO4_IO25 LCD_DATA19 or CSI_DATA04 mounting options
8 MEZZANINE_GP1 GPIO3_IO27 or GPIO4_IO26 LCD_DATA22 or CSI_DATA05 mounting options
9 MEZZANINE_GP2 GPIO3_IO28 or GPIO4_IO27 LCD_DATA23 or CSI_DATA06 mounting options
10 DGND Ground

All the GPIO signals are 0-3.3V level.

Device mapping[edit | edit source]

UART[edit | edit source]

  • UART2 and it is mapped to /dev/ttymxc1 device in Linux
  • UART5 and it is mapped to /dev/ttymxc4 device in Linux

GPIO[edit | edit source]

GPIOs are mapped into banks each of which contains 32 pins. They are named as GPIO<bank>_IO<pin>

Each pin can be addressed with an incremental number, calculated as follows: GPIO = 32 x (<bank> - 1) + <pin>

Device usage[edit | edit source]

UART[edit | edit source]

UART peripherals use standard Linux protocols.

GPIO[edit | edit source]

Under Linux the GPIOs can be manipulated su sysfs export or with the gpio tools.