Rs-232 And Rs-485 - Cherry Theobroma PX30-mQ7 User Manual

System-on-module quad-core arm cortex-a35
Hide thumbs Also See for Theobroma PX30-mQ7:
Table of Contents

Advertisement

The serial converter does not require additional drivers on Windows and Linux.
For macOS, drivers are available from Silicon Labs: https://www.silabs.com/products/development-tools/software/
usb-to-uart-bridge-vcp-drivers
The PX30-uQ7 module has two external UARTs:
• UART0 is, by default, used for the serial console for interactive login.
• UART1 is unused by default and can be freely used for machine-to-machine communications or other purposes.
The switch UART0 / UART1 cross-switches UART0 and UART1 between the RS232 / RS485 jack and the onboard USB-
serial converter:
Switch Position
UART0
UART1
For interactive login through the USB-serial converter, make sure the switch is on the UART1 position.
Note: UART1 is the name of the UART exposed on the Haikou baseboard. It is actually connected to the UART5 controller on
the PX30 SoC.
Incidentially, UART0 on Haikou is connected to the UART0 controller on the PX30 SoC.
Picocom can be used to connect via the serial line (assuming the USB-serial converter is USB0):
picocom -b
115200
/dev/ttyUSB0
Note: Make sure to disable software flow-control (XON/XOFF). Otherwise serial input may not be recognized.
After system boot-up, the login console appears on the terminal:
px30-uq7 login:
You can log in as root with password root .

3.7 RS-232 and RS-485

To connect via RS-232 or RS-485, connect to the RS232 / RS485 jack on the base board.
v1.2.0-1-g5ccabb6
Page 8
Fig. 3.4: USB UART
RS232 / RS485 jack connected to:
UART0 (interactive console)
UART1
USB-serial converter connected to:
UART1
UART0 (interactive console)

Advertisement

Table of Contents
loading

Table of Contents