Open main menu

DAVE Developer's Wiki β

Changes

Signals
=== Description ===
RIALTO SBC can drive up to five six leds and detect two key buttons at the expansion connector J70.
J71 J70 is a 10x1x2.54mm pin strip header connector.
[[File:RIALTO_SBC-J70-connector.png|thumb|center|500px|Led and buttons connector (J60J70)]]
===Signals ===
The six LED output are driven by a PCA9551PW integrated circuit. In the following table describes the interface signalsIC output pins to the connector J70:
{| class="wikitable"
! latexfontsize="scriptsize" |Pin#
! latexfontsize="scriptsize" |Pin name
! latexfontsize="scriptsize" |Alternate functionPCA9551 output! latexfontsize="scriptsize" |GPIO!Pin notesPCA9551 pin
|-
|1
|VIN|3V3_IO
|
|
|-
|2
|PMIC_5V|AUX_LED0|LED7|12
|-
|3
|3V3_AUX|AUX_LED1|LED6|11
|-
|4
|VDD_ADC|AUX_LED2|LED5|10
|-
|5
|GPIO1_IO01AUX_LED3|WDOG1_WDOG_B|GPIO1_IO01LED4|9
|-
|6
|GPIO1_IO02AUX_LED4|I2C1_SCL|GPIO1_IO02LED0|4
|-
|7
|GPIO1_IO03AUX_LED5|I2C1_SDALED1|GPIO1_IO035|-|10|DGND
|
|
|}
 
The two KEY input are connected to the i.MX6UL SoC or (optionally) to the PCA9551PW IC. The following table describes the interface signals:
 
{| class="wikitable"
! latexfontsize="scriptsize" |Pin#
! latexfontsize="scriptsize" |Pin name
! latexfontsize="scriptsize" |PCA9551 input
!PCA9551 pin
!GPIO
|-
|8
|GPIO1_IO04LCD_RESET|UART5_TX, PWM3LED2|GPIO1_IO046|GPIO3_IO04
|-
|9
|GPIO1_IO05LCD_ENABLE|UART5_RX, PWM4|GPIO1_IO05||-|10|DGND|GroundLED3|7|GPIO3_IO01
|}
=== Device mapping ===
GPIOs The led are mapped into banks each of which contains 32 pinsto a sysfs led class interface. They The button 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>mapped to the input event device handler.
=== Device usage ===
Under Linux :* the GPIOs LEDs can be manipulated su via <code>sysfs/sys/class/leds/pca955x</code> export or with ''syfs'' interface* the KEY buttons can be detected via <code>/dev/input/event1</code> input devices** KEY0 is mapped to <code>gpiodKEY_F1</code> tools ** KEY1 is mapped to <code>KEY2</code>** the mapping can be easily modified in Linux.the device tree file<section end="Body" /> 
[[Category:RIALTO SBC]]
8,226
edits