LeMaker Guitar:S500 PIO Definition

From BananaPro/Pi
Jump to: navigation, search

Other languages:
English • ‎中文(简体)‎

Introduction

Just like the Raspberry Pi and the Arduino,LeMaker Guitar is able to interact with external components.To achieve this ,we are going to use the PIO that are introduced in this page. Programmed input/output (PIO) is a method of transferring data between the CPU and a peripheral, such as a network adapter or an ATA storage device.

Pin Multiplex List

Note that the functions in Func1~Func6 do not contain all the function used, it's a table for pin mulitiplexing illustration.
Func1~Func6 are refered to Port,PWM/SIRQ/LVDS/TWI,DSI/CSI/DDR/I2S/PCM/KEY,UART/LCD/NAND,UART/LCD/NAND and Ethernet/SDIO/HDMI/USB.

Port Ball Func2 Func3 Func4 Func5 Func6
GPIOA12 C03 reserved reserved NAND DQS reserved reserved
GPIOA13 D02 reserved reserved NAND DQSN reserved reserved
GPIOA14 H02 PWM4 reserved UART6 RX SPI2 SCLK Ethernet TXD0/SMII TX
GPIOA15 H03 PWM5 reserved UART6 TX SPI2 SS Ethernet TXD1/SMII SYNC
GPIOA16 G01 PWM0 reserved UART2 RX SPI3 SCLK Ethernet TXEN
GPIOA17 H04 PWM1 reserved UART2 TX SPI3 MOSI Ethernet RXER
GPIOA18 J04 PWM4 reserved UART4 RX SPI2 MISO Ethernet CRS DC/SMII RX
GPIOA19 J02 PWM2 reserved UART5 TX/UART2 RTSB SPI3 SS Ethernet RXD1
GPIOA20 J01 PWM3 reserved UART5 RX/UART2 CTSB SPI3 MISO Ethernet RXD0
GPIOA21 G02 reserved reserved UART4 TX SPI2 MOSI Ethernet REF CLK/SMII CLK
GPIOA22 J03 reserved reserved reserved reserved Ethernet MDC
GPIOA23 G03 reserved reserved reserved reserved Ethernet MDIO
GPIOA24 V22 SIRQ0 Interrupt reserved reserved reserved reserved
GPIOA25 V21 SIRQ1 Interrupt reserved reserved reserved reserved
GPIOA26 U21 SIRQ2 Interrupt reserved reserved reserved reserved
GPIOA27 AD16 reserved I2S D0 reserved reserved reserved
GPIOA28 AC16 reserved PCM0 IN/I2S BCLK0 reserved reserved reserved
GPIOA29 AD17 reserved PCM1 SYNC/I2S LRCLK0 reserved reserved reserved
GPIOA30 AC17 reserved PCM1 SYNC/I2S MCLK0 reserved reserved reserved
GPIOA31 AB17 reserved I2S D1 reserved reserved reserved
GPIOB00 AD18 reserved PCM0 OUT/I2S BCLK1 reserved reserved reserved
GPIOB01 AC18 reserved PCM0 CLK/I2S LRCLK1 reserved reserved reserved
GPIOB02 AD19 reserved PCM0 SYNC/I2S MCLK1 reserved reserved reserved
GPIOB03 N21 PWM0/PWM4 KEY IN0 reserved Camera Sensor1 D4 reserved
GPIOB04 M21 PWM0/PWM5 KEY IN1 reserved Camera Sensor1 D5 DRV VBUS0
GPIOB05 L21 PWM0 KEY IN2 reserved Camera Sensor1 D6 reserved
GPIOB06 K21 PWM1 KEY IN3 reserved Camera Sensor1 D7 reserved
GPIOB07 J21 PWM2 KEY OUT0 UARTS RX Camera Sensor1 PCLK SDIO0 CMD
GPIOB08 L22 PWM3 KEY OUT1 reserved Camera Sensor1 YSYNC SDIO0 CLK
GPIOB09 L23 PWM2 KEY OUT2 UARTS TX Camera Sensor1 HSYNC SDIO0 D1B
GPIOB10 B10 LVDS OEP reserved LCD0 DCLK0 reserved reserved
GPIOB11 A10 LVDS OEN reserved LCD HSYNC0 reserved reserved
GPIOB12 C10 LVDS ODP reserved LCD0 VSYNC0 reserved reserved
GPIOB13 B11 LVDS ODN reserved LCD0 LDE0 reserved reserved
GPIOB14 C11 LVDS OCP reserved LCD0 D23 reserved reserved
GPIOB15 B12 LVDS OCN reserved LCD0 D22 reserved reserved
GPIOB16 A12 LVDS OBP reserved LCD D21 reserved reserved
GPIOB17 C12 LVDS OBN reserved LCD0 D20 reserved reserved
GPIOB18 A13 LVDS OAP reserved LCD0 D19 reserved reserved
GPIOB19 B13 LVDS OAN reserved LCD0 D15 reserved reserved
GPIOB20 C14 LVDS EEP reserved LCD0 D14 reserved reserved
GPIOB21 B14 LVDS EEN reserved LCD0 D13 reserved reserved
GPIOB22 B15 LVDS EDP reserved LCD0 D12 reserved reserved
GPIOB23 A15 LVDS EDN reserved LCD D11 reserved reserved
GPIOB24 C15 LVDS ECP reserved LCD0 D10 reserved reserved
GPIOB25 A16 LVDS ENC reserved LCD D7 reserved reserved
GPIOB26 B16 LVDS EBP reserved LCD0 D6 reserved reserved
GPIOB27 C16 LVDS EBN reserved LCD0 D5 reserved reserved
GPIOB28 B17 LVDS EAP reserved LCD0 D4 reserved reserved
GPIOB29 C17 LVDS EAN reserved LCD0 D3 reserved reserved
GPIOB30 T19 PWM2/PWM4 reserved LCD0 D18 Camera Sensor1 CLKOUT reserved
GPIOB31 R19 PWM3 reserved LCD0 D17 reserved SDIO0 CLKB/SDIO1 CMD
GPIOC00 A09 reserved MIPI DSI DP3 LCD0 D16 reserved SDIO1 CLKB/SDIO1 CLK
GPIOC01 B09 reserved MIPI DSI DN3 LCD0 D9 reserved SDIO1 D3
GPIOC02 B08 reserved MIPI DSI DP1 LCD0 D8 reserved SDIO1 D2
GPIOC03 C08 reserved MIPI DSI DN1 LCD0 D2 reserved reserved
GPIOC04 A07 reserved MIPI DSI CP LCD0 D1 reserved SDIO1 D1
GPIOC05 B07 reserved MIPI DSI CN LCD0 D0 reserved SDIO D0
GPIOC06 A06 reserved MIPI DSI DP0 UART2 RX SPI0 MISO SDIO0 CLKB
GPIOC07 B06 reserved MIPI DSI DN0 UART2 TX SPI0 MISI reserved
GPIOC08 C06 reserved MIPI DSI DP2 UART2 RTSB SPI0 SCLK SDIO1 CLKB
GPIOC09 B05 reserved MIPI DSI DN2 UART2 CTSB SPI0 SCLK SDIO1 D1B
GPIOC10 Y23 reserved reserved UART2 RX/UART5 RX reserved SDIO0 D0
GPIOC11 Y2 reserved reserved UART2 TX/UART5 TX reserved SDIO0 D1
GPIOC12 V24 reserved reserved UART2 RTSB/UART1 TX reserved SDIO0 D2
GPIOC13 W23 reserved reserved UART2 CTSB/UART1 RX reserved SDIO0 D3
GPIOC14 U22 reserved reserved reserved reserved SDIO0 D4/SDIO0 D0
GPIOC15 V23 reserved reserved reserved reserved SDIO0 D5/SDIO0 D1
GPIOC16 T23 reserved reserved reserved reserved SDIO0 D6/SDIO0 D2
GPIOC17 T24 reserved reserved reserved reserved SDIO0 D3/SDIO0 D7
GPIOC18 W24 reserved reserved reserved reserved SDIO0 CMD
GPIOC19 W22 reserved reserved reserved reserved SDIO0 CLK
GPIOC20 T22 reserved reserved reserved reserved SDIO1 CMD
GPIOC21 U23 reserved reserved reserved reserved SDIO1 CLK
GPIOC22 AB18 TWI3 SCLK PCM0 CLK reserved SPI0 SCLK reserved
GPIOC23 AC19 reserved PCM1 OUT/PCM0 OUT/I2S LRCLK1 reserved SPI0 SS reserved
GPIOC24 AB19 reserved PCM1 IN/PCM0 IN/I2S MCLK1 reserved SPI0 MISO reserved
GPIOC25 AA19 TWI3 SDATA reserved reserved SPI0 MOSI SD3.0 Power
GPIOC26 AC22 TWI0 SDATA PCM1 IN/I2S MCLK1 UART0 RX/UART2 RX SPI1 MISO reserved
GPIOC27 AD22 TWI0 SCLK PCM1 OUT/I2S LRCLK1/SPDIF UART0 TX/UART2 TX SPI1 SS reserved
GPIOC28 AA23 TWI0 SCLK/TWI1 SCLK reserved UART2 RTSB/UART1 TX SPI1 SCLK reserved
GPIOC29 AA24 TWI0 SDATA/TWI1 SDATA UART2 CTSB/UART1 RX reserved SPI1 MOSI reserved
GPIOC31 R22 PWM0 reserved reserved Camera Sensor0 PCLK reserved
GPIOD10 T21 PWM1 reserved reserved Camera Sensor0/Camera Sensor1 CKOUT reserved
GPIOD12 B02 reserved reserved NAND ALE SPI2 MISO reserved
GPIOD13 A02 reserved reserved NAND CLE SPI2 MOSI reserved
GPIOD14 B03 reserved reserved NAND CE0B/NAND CEB0 SPI2 SCLK reserved
GPIOD15 A03 reserved reserved NAND CE1B/NAND CEB1 SPI2 SS reserved
GPIOD16 E03 PWM5 reserved NAND CEB2 reserved reserved
GPIOD17 C05 PWM4 reserved NAND CEB3 reserved reserved
GPIOD18 AC21 reserved reserved UART2 RX reserved reserved
GPIOD19 AD21 reserved reserved UART2 TX reserved reserved
GPIOD20 AB22 reserved reserved UART2 RTSB/UART0 RX reserved reserved
GPIOD21 AB21 reserved reserved UART2 CTSB/UART0 TX reserved reserved
GPIOD22 AD23 reserved reserved UART3 RX reserved reserved
GPIOD23 AD24 reserved reserved UART3 TX reserved reserved
GPIOD24 AC23 reserved reserved UART3 RTSB/UART5 RX reserved reserved
GPIOD25 AC24 reserved reserved UART3 CTSB/UART5 TX reserved reserved
GPIOD28 AA21 PWM4 PCM1 IN UART4 RX Camera Sensor1 D3 reserved
GPIOD29 Y21 PWM5 PCM1 CLK UART4 TX Camera Sensor1 D2 reserved
GPIOD30 AA22 TWI3 SCLK PCM1 SYNC UART6 RX Camera Sensor1 D1 reserved
GPIOD31 W21 TWI3 SDATA PCM1 OUT UART6 TX Camera Sensor1 D0 reserved
GPIOE00 AC20 TWI1 SCLK reserved reserved reserved reserved
GPIOE01 AB20 TWI1 SDATA reserved reserved reserved reserved
GPIOE02 AB23 TWI2 SCLK reserved reserved reserved reserved
GPIOE03 AB24 TWI2 SDATA reserved reserved reserved reserved
D21 Power On Reset reserved reserved reserved reserved reserved
F04 TV CVBS reserved reserved reserved reserved reserved
N18 VCC For IO reserved reserved reserved reserved reserved
F22 VCC For USB reserved reserved reserved reserved reserved
P19 VDD CPU Feed back reserved reserved reserved reserved reserved
E21 Vref Voltage reserved reserved reserved reserved reserved
D10 \ LVDS AGND reserved reserved reserved reserved

See Also

[PIO]