pcDuino debug port is on UART0

This commit is contained in:
Gregory Nutt 2013-12-10 08:24:26 -06:00
parent f9bf993348
commit 5809637722
2 changed files with 126 additions and 4 deletions

View File

@ -97,21 +97,127 @@ README
Contents
========
- pcDuino v1 Connectors
- Serial Console
- LEDs
- Buttons
pcDuino v1 Connectors
=====================
TOP
---
- HDMI
- RJ45
- USB Host (2)
- J11
1. UART-Rx / GPIO0 UART2_RX
2. UART-Tx / GPIO1 UART2_TX
3. GPIO3 / GPIO2 GPIO2
4. PWM0 / GPIO3 PWM0
5. GPIO4 GPIO3
6. PWM1 / GPIO5 PWM1
7. PWM2 /GPIO6 PWM2
8. GPIO7 GPIO4
- J8
1. GPIO8 GPIO5
2. PWM3 / GPIO9 PWM3
3. SPI_CS / GPIO10 / PWM4 SPI0_CS
4. SPI_MOSI / GPIO11 / PWM5 SPI0_MOSI
5. SPI_MISO / GPIO12 SPI0_MISO
6. SPI_CLK / GPIO13 SPI0_CLK
7. Gnd
8. ARef
9. I2C-SDA TWI2_SDA
10. I2C-SCK TWI2_SCK
- J12
1. ADC0
2. ADC1
3. ADC2
4. ADC3
5. ADC4
6. ADC5
- J9
1. 5V
2. Gnd
3. Gnd
4. 5V
5. 3.3V
6. Reset
7. 5V
8. NC
- J5 Debug Port
1. Rx UART0-RX
2. Gnd GND
2. Tx UART0-TX
- J6 SPI2
1. SPI2_MISO
2. DC_5V
3. SPI2_CLK
4. SPI2_MOSI
5. RESET#
6. GND
- J7 SPI0
1. SPI0_MISO
2. DC_5V
3. SPI0_CLK
4. SPI0_MOSI
5. RESET#
6. GND
- J10
1. GPIO6
2. GPIO8
3. GPIO7
4. GPIO9
Bottom
------
- USB OTG
- DC Power IN (USB)
- microSD card slot
Serial Console
==============
To be provided
Two UART connections are available:
UART0 is available on J5 Debug Port.
UART2 is available on J11
By default, the serial console will be provided on UART0 in all of these
configurations.
LEDs
====
To be provided
The pcDuino v1 has four green LEDs. Two are tied to ground and, hence,
illuminated by driving the output pins to a high value:
1. LED1 SPI0_CLK SPI0_CLK/UART5_RX/EINT23/PI11
2. LED5 IPSOUT From the PMU (not controllable by software)
And two are pull high and, hence, illuminated by grounding the output:
3. LED3 RX_LED LCD1_D16/ATAD12/KP_IN6/SMC_DET/EINT16/CSI1_D16/PH16
4. LED4 TX_LED LCD1_D15/ATAD11/KP_IN5/SMC_VPPPP/EINT15/CSI1_D15/PH15
Buttons
=======
To be provided
There are a total of five switches on-board. All pulled high and, hence,
will be sensed as low when closed.
SW1 Reset (not available to software)
SW2 UBOOT UBOOT_SEL (?)
SW3 Key_Back LCD1_D17/ATAD13/KP_IN7/SMC_VCCEN/EINT17/CSI1_D17/PH17
SW4 Key_Home LCD1_D18/ATAD14/KP_OUT0/SMC_SLK/EINT18/CSI1_D18/PH18
SW5 Key_Menu LCD1_D19/ATAD15/KP_OUT1/SMC_SDA/EINT19/CSI1_D19/PH19

View File

@ -121,7 +121,7 @@ CONFIG_ARCH_CHIP_A10=y
#
# Allwinner A1X Peripheral Support
#
# CONFIG_A1X_UART0 is not set
CONFIG_A1X_UART0=y
# CONFIG_A1X_UART1 is not set
# CONFIG_A1X_UART2 is not set
# CONFIG_A1X_UART3 is not set
@ -354,11 +354,27 @@ CONFIG_DEV_NULL=y
CONFIG_SERIAL=y
# CONFIG_DEV_LOWCONSOLE is not set
# CONFIG_16550_UART is not set
CONFIG_ARCH_HAVE_UART0=y
#
# USART Configuration
#
CONFIG_MCU_SERIAL=y
CONFIG_STANDARD_SERIAL=y
CONFIG_UART0_SERIAL_CONSOLE=y
# CONFIG_NO_SERIAL_CONSOLE is not set
#
# UART0 Configuration
#
CONFIG_UART0_RXBUFSIZE=256
CONFIG_UART0_TXBUFSIZE=256
CONFIG_UART0_BAUD=115200
CONFIG_UART0_BITS=8
CONFIG_UART0_PARITY=0
CONFIG_UART0_2STOP=0
# CONFIG_UART0_IFLOWCONTROL is not set
# CONFIG_UART0_OFLOWCONTROL is not set
# CONFIG_SERIAL_IFLOWCONTROL is not set
# CONFIG_SERIAL_OFLOWCONTROL is not set
# CONFIG_USBDEV is not set