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

From DAVE Developer's Wiki
Jump to: navigation, search
(Signals)
 
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
 
|-
 
|-
 
|-
 
|-

Latest revision as of 14:56, 13 January 2024

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



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:

  • 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 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.

I2C[edit | edit source]

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

SPI[edit | edit source]

SPI peripherals use standard spidev kernel interface.

PWM[edit | edit source]

The PWM driver is accessed via sysfs in user space

GPIO[edit | edit source]

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