Open main menu

DAVE Developer's Wiki β

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

< RIALTO SBC
(Signals)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
|-
 
|-
 
| 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" |2024/01/13
 
| 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" |2024/01/13
| 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 documentationrelease
+
| 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 documentation release
 
|-
 
|-
 
|-
 
|-
Line 33: Line 33:
  
 
The following table describes the interface signals:
 
The following table describes the interface signals:
 +
* J60
 
{| class="wikitable"
 
{| class="wikitable"
 
! latexfontsize="scriptsize" |Pin#
 
! latexfontsize="scriptsize" |Pin#
Line 67: Line 68:
 
|UART5_TX_DATA
 
|UART5_TX_DATA
 
|I2C2_SCL
 
|I2C2_SCL
|GPIO1_IO3
+
|GPIO1_IO30
 
|
 
|
 
|-
 
|-
Line 93: Line 94:
 
|GPIO3_IO28 or GPIO4_IO27
 
|GPIO3_IO28 or GPIO4_IO27
 
|LCD_DATA23 or CSI_DATA06 mounting options
 
|LCD_DATA23 or CSI_DATA06 mounting options
 +
|-
 +
|10
 +
|DGND
 +
|Ground
 +
|
 +
|
 +
|}
 +
* J61
 +
{| class="wikitable"
 +
! latexfontsize="scriptsize" |Pin#
 +
! latexfontsize="scriptsize" |Pin name
 +
! latexfontsize="scriptsize" |Alternate function
 +
! latexfontsize="scriptsize" |GPIO
 +
!Pin notes
 +
|-
 +
|1
 +
|VIN
 +
|
 +
|
 +
|
 +
|-
 +
|2
 +
|PMIC_5V
 +
|
 +
|
 +
|
 +
|-
 +
|3
 +
|3V3_AUX
 +
|
 +
|
 +
|
 +
|-
 +
|4
 +
|VDD_ADC
 +
|
 +
|
 +
|
 +
|-
 +
|5
 +
|GPIO1_IO01
 +
|WDOG1_WDOG_B
 +
|GPIO1_IO01
 +
|
 +
|-
 +
|6
 +
|GPIO1_IO02
 +
|I2C1_SCL
 +
|GPIO1_IO02
 +
|
 +
|-
 +
|7
 +
|GPIO1_IO03
 +
|I2C1_SDA
 +
|GPIO1_IO03
 +
|
 +
|-
 +
|8
 +
|GPIO1_IO04
 +
|UART5_TX, PWM3
 +
|GPIO1_IO04
 +
|
 +
|-
 +
|9
 +
|GPIO1_IO05
 +
|UART5_RX, PWM4
 +
|GPIO1_IO05
 +
|
 
|-
 
|-
 
|10
 
|10
Line 119: Line 188:
 
UART peripherals use standard Linux protocols.
 
UART peripherals use standard Linux protocols.
  
==== GPIO ====
+
==== I2C ====
Under Linux the GPIOs can be manipulated su <code>sysfs</code> export or with the gpio tools.
+
I2C buses can be used with i2ctools (at userspace) or accessing the related <code>/dev/i2c-''x''</code> device in Linux.
 +
 
 +
==== SPI ====
 +
SPI peripherals use standard <code>spidev</code> kernel interface.
  
<section end="Body" />
+
==== PWM ====
 +
The PWM driver is accessed via <code>sysfs</code> in user space
  
 +
==== GPIO ====
 +
Under Linux the GPIOs can be manipulated su <code>sysfs</code> export or with the <code>gpiod</code> tools in Linux.<section end="Body" />
 
[[Category:RIALTO SBC]]
 
[[Category:RIALTO SBC]]

Latest revision as of 14:56, 13 January 2024

History
Issue Date Notes
2024/01/13 First documentation release



Contents

Mezzanine ConnectorsEdit

DescriptionEdit

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)

SignalsEdit

The following table describes the interface signals:

  • J60
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_IO30
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
  • J61
Pin# Pin name Alternate function GPIO Pin notes
1 VIN
2 PMIC_5V
3 3V3_AUX
4 VDD_ADC
5 GPIO1_IO01 WDOG1_WDOG_B GPIO1_IO01
6 GPIO1_IO02 I2C1_SCL GPIO1_IO02
7 GPIO1_IO03 I2C1_SDA GPIO1_IO03
8 GPIO1_IO04 UART5_TX, PWM3 GPIO1_IO04
9 GPIO1_IO05 UART5_RX, PWM4 GPIO1_IO05
10 DGND Ground

All the GPIO signals are 0-3.3V level.

Device mappingEdit

UARTEdit

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

GPIOEdit

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 usageEdit

UARTEdit

UART peripherals use standard Linux protocols.

I2CEdit

I2C buses can be used with i2ctools (at userspace) or accessing the related /dev/i2c-x device in Linux.

SPIEdit

SPI peripherals use standard spidev kernel interface.

PWMEdit

The PWM driver is accessed via sysfs in user space

GPIOEdit

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