5.4.1
UART
The P2020 consists of two universal asynchronous receiver/transmitters (UARTs). The
UARTs act independently; The UART#1 acts as the standard input and output device at U-
boot; the UART#2 is not used at U-boot, but the command: func testuart1 can be used to
test UART#2 at U-boot:
1. Connect the UART#2 to another serial port of PC;
2. Connect another terminal to the board's serial console port UART#2 with a baudrate of
115200 8n1n.
3. Run the command at the terminal to UART#1:
=> func testuart1
Please test at UART1, press 'q' to quit:
4. Enter any character at the terminal to UART#2. You can see the character you entered
at the terminal, which means that the input to UART#2 can be outputted to UART#2.
5. Press 'q' at the terminal to UART#2, the UART#2 test will end successfully.
5.4.2
GPIO
There are a total of 16 GPIO used at COMX-P2020.
Table 5-2
Name
GPIO 0
GPIO 1
GPIO 2
GPIO 3
GPIO 4
GPIO 5
GPIO 6
GPIO 7
GPIO 8
GPIO 9
COMX-P2020 BSP User Guide (6806800L84C)
GPIO Description
Intput/ Output
Input
Input
Input
Input
Output
Output
Output
Output
Reset Value Description
Connected to the COM-E Carrier Board
Connected to the COM-E Carrier Board
Connected to the COM-E Carrier Board
Connected to the COM-E Carrier Board
0
Connected to the COM-E Carrier Board
0
Connected to the COM-E Carrier Board
0
Connected to the COM-E Carrier Board
0
Connected to the COM-E Carrier Board
Multiplex as SDHC_CD: which is used to
check if the SD insert or not.
Multiplex as SDHC_WP: which is used to
check the SD is write protect or not.
U-boot Deployment
49
Need help?
Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?