beautypg.com

12 uart – Artesyn COMX-P40x0 ENP2 Installation and Use (January 2015) User Manual

Page 108

background image

BSP

COMX-P40x0 ENP2 Installation and Use (6806800R95C)

108

For the GPIO signals connected to the I2C expander, these are controlled via the "i2c"
command using the I2C address = 0x18. For more information, see

I2C

on page 110

.

7.12 UART

There are four universal asynchronous receiver/transmitters (UART) in the COMX-P40x0 ENP2
module, each with Tx and Rx signals routed to the COM-E connectors.

The default active console is UART0. The working mode is 115200baud rate, 8 data bit, No
parity, 1 stop bit. Each of the four UART can become the active console by setting the
environment variable "uart#".

The UART boot up message in U-Boot is as follows:

Usage:

UART0

-

setenv uart# 0; saveenv; reset

UART1

-

setenv uart# 1; saveenv; reset

UART2

-

setenv uart# 2; saveenv; reset

UART3

-

setenv uart# 3; saveenv; reset

In :

Serial

Out :

Serial

Err :

Serial

Current Console:

uart#0