本帖最后由 tll 于 2013-11-8 15:54 编辑
From:
http://cn.cubiebook.org/index.ph ... 5%B1%95PIN%E8%84%9A
And(a10/20 pio):
CN8LEFT GND 5V SPI2-SD0 SPI2-CLK SPI0-CS SPI0-CLK GND PS2SCK0-FMINL PS2SDA0-FMINR PWM0 PWM1 TWI1-SCK TWI1-SDA CVBS RIGHT 3.3V RESET SPI2-MOSI SPI2-MISO SPI0-MOSI SPI0-MISO GND PS2SCK1-ENINT15 PS2SDA1-ENINT16 IR-TX IRRX-VMX LINEINL-MICIN1 LINEINR-MICIN2 LRADC0 LRADC1 spi2,pio(证实是上面的):
PC19 | L21 | I/O | NCE4 | SPI2_CS0 | reserved | reserved | EINT12 | reserved | PC20 | K21 | I/O | NCE5 | SPI2_CLK | reserved | reserved | EINT13 | reserved | PC21 | J21 | I/O | NCE6 | SPI2_MOSI | reserved | reserved | EINT14 | reserved | PC22 | J20 | I/O | NCE7 | SPI2_MISO | reserved | reserved | EINT15 | reserved | OR
PB13 | B11 | I/O | SPI2_CS1 | reserved | SPDIF_DO | reserved | reserved | reserved | verify SPDIF_DO | PB14 | A10 | I/O | SPI2_CS0 | JTAG_MS0 | reserved | reserved | reserved | reserved | PB15 | B10 | I/O | SPI2_CLK | JTAG_CK0 | reserved | reserved | reserved | reserved | PB16 | A9 | I/O | SPI2_MOSI | JTAG_DO0 | reserved | reserved | reserved | reserved | PB17 | B9 | I/O | SPI2_MISO | JTAG_DI0 | reserved | reserved | reserved | reserved |
spi0,pio[不是这个]
PC00 | M23 | I/O | NAND_WE# | SPI0_MOSI | reserved | reserved | reserved | reserved | PC01 | M22 | I/O | NALE | SPI0_MISO | reserved | reserved | reserved | reserved | PC02 | L32 | I/O | NCLE | SPI0_CLK | reserved | reserved | reserved | reserved |
PC23 | G19 | I/O | reserved | SPI0_CS0 | reserved | reserved | reserved | reserved | OR[不是这个]
是这个(我也不知道为什么是spi2的,实验也没成功,但是原理图就是这么写的):
PB14 | A10 | I/O | SPI2_CS0 | JTAG_MS0 | reserved | reserved | reserved | reserved | PB15 | B10 | I/O | SPI2_CLK | JTAG_CK0 | reserved | reserved | reserved | reserved | PB16 | A9 | I/O | SPI2_MOSI | JTAG_DO0 | reserved | reserved | reserved | reserved | PB17 | B9 | I/O | SPI2_MISO | JTAG_DI0 | reserved | reserved | reserved | reserved |
PWM
PB02 | A14 | I/O | PWM0 | reserved | reserved | reserved | reserved | reserved | i2c(twi)
reset,LOW reset
CN9LEFT SCI1-PCLK CSI1-HYSYNC CSI1-D0 CSI1-D2 CSI1-D4 CSI1-D6 GND P-I2SDO1 XN-I2SDO2 YP-I2SDO3 YN-BT-PCM-IN RIGHT CSI1-VSYNC CSI1-MCLK CSI1-D1 CSI1-D3 CSI1-D5 CSI1-D7 GND TVIN0-I2SMCLK TVIN1-BTPCMCLK TVIN2-BTPCMSYNC TVIN3-BTPCMOUT
PD20 | Y10 | I/O | LCD0_D20 | CSI1_MCLK | reserved | reserved | reserved | reserved |
PG00 | F20 | I/O | TS1_CLK | CSI1_PCK | SDC1_CMD | reserved | reserved | reserved | PG01 | E21 | I/O | TS1_ERR | CSI1_CK | SDC1_CLK | reserved | reserved | reserved | PG02 | E20 | I/O | TS1_SYNC | CSI1_HSYNC | SDC1_D0 | reserved | reserved | reserved | PG03 | D21 | I/O | TS1_DVLD | CSI1_VSYNC | SDC1_D1 | reserved | reserved | reserved | PG04 | D20 | I/O | TS1_D0 | CSI1_D0 | SDC1_D2 | CSI0_D8 | reserved | reserved | PG05 | C21 | I/O | TS1_D1 | CSI1_D1 | SDC1_D3 | CSI0_D9 | reserved | reserved | PG06 | E19 | I/O | TS1_D2 | CSI1_D2 | UART3_TX | CSI0_D10 | reserved | reserved | PG07 | C20 | I/O | TS1_D3 | CSI1_D3 | UART3_RX | CSI0_D11 | reserved | reserved | PG08 | D19 | I/O | TS1_D4 | CSI1_D4 | UART3_RTS | CSI0_D12 | reserved | reserved | PG09 | C19 | I/O | TS1_D5 | CSI1_D5 | UART3_CTS | CSI0_D13 | reserved | reserved | PG10 | D18 | I/O | TS1_D6 | CSI1_D6 | UART4_TX | CSI0_D14 | reserved | reserved | PG11 | C18 | I/O | TS1_D7 | CSI1_D7 | UART4_RX | CSI0_D15 | reserved | reserved |
OR
PH00 | A6 | I/O | LCD1_D00 | reserved | UART3_TX | reserved | EINT0 | CSI1_D0 | PH01 | B6 | I/O | LCD1_D01 | reserved | UART3_RX | reserved | EINT1 | CSI1_D1 | PH02 | C6 | I/O | LCD1_D02 | reserved | UART3_RTS | reserved | EINT2 | CSI1_D2 | PH03 | A5 | I/O | LCD1_D03 | reserved | UART3_CTS | reserved | EINT3 | CSI1_D3 | PH04 | B5 | I/O | LCD1_D04 | reserved | UART4_TX | reserved | EINT4 | CSI1_D4 | PH05 | C5 | I/O | LCD1_D05 | reserved | UART4_RX | reserved | EINT5 | CSI1_D5 | PH06 | A4 | I/O | LCD1_D06 | reserved | UART5_TX | MS_BS | EINT6 | CSI1_D6 | PH07 | B4 | I/O | LCD1_D07 | reserved | UART5_RX | MS_CLK | EINT7 | CSI1_D7 | PH08 | C4 | I/O | LCD1_D08 | ERXD3 | KP_IN0 | MS_D1 | EINT8 | CSI1_D9 | PH09 | D4 | I/O | LCD1_D09 | ERXD2 | KP_IN1 | MS_D0 | EINT9 | CSI1_D8 | PH10 | A3 | I/O | LCD1_D10 | ERXD1 | KP_IN2 | MS_D2 | EINT10 | CSI1_D10 | PH11 | B3 | I/O | LCD1_D11 | ERXD0 | KP_IN3 | MS_D3 | EINT11 | CSI1_D11 | PH12 | C3 | I/O | LCD1_D12 | reserved | PS2_SCK1 | reserved | EINT12 | CSI1_D12 | PH13 | A2 | I/O | LCD1_D13 | reserved | PS2_SDA1 | SMC_RST | EINT13 | CSI1_D13 | PH14 | B2 | I/O | LCD1_D14 | ETXD3 | KP_IN4 | SMC_VPPEN | EINT14 | CSI1_D14 | PH15 | A1 | I/O | LCD1_D15 | ETXD2 | KP_IN5 | SMC_VPPPP | EINT15 | CSI1_D15 | PH16 | B1 | I/O | LCD1_D16 | ETXD1 | KP_IN6 | reserved | EINT16 | CSI1_D16 | PH17 | C1 | I/O | LCD1_D17 | ETXD0 | KP_IN7 | SMC_VCCEN | EINT17 | CSI1_D17 | PH18 | C2 | I/O | LCD1_D18 | ERXCK | KP_OUT0 | SMC_SCK | EINT18 | CSI1_D18 | PH19 | D1 | I/O | LCD1_D19 | ERXERR | KP_OUT1 | SMC_SDA | EINT19 | CSI1_D19 | PH20 | D2 | I/O | LCD1_D20 | ERXDV | CAN_TX | reserved | EINT20 | CSI1_D20 | PH21 | D3 | I/O | LCD1_D21 | EMDC | CAN_RX | reserved | EINT21 | CSI1_D21 | PH22 | E1 | I/O | LCD1_D22 | EMDIO | KP_OUT2 | SDC1_CMD | reserved | CSI1_D22 | PH23 | E2 | I/O | LCD1_D23 | ETEN | KP_OUT3 | SDC1_CLK | reserved | CSI1_D23 | PH24 | E3 | I/O | LCD1_CLK | ETXCK | KP_OUT4 | SDC1_D1 | reserved | CSI1_FIELD | PH25 | E4 | I/O | LCD1_DE | ECRS | KP_OUT5 | SDC1_D0 | reserved | CSI1_PCLK | PH26 | F3 | I/O | LCD1_HSYNC | ECOL | KP_OUT6 | SDC1_D2 | reserved | CSI1_HSYNC | PH27 | F4 | I/O | LCD1_VSYNC | ETXERR | KP_OUT7 | SDC1_D3 | reserved | CSI1_VSYNC |
|