With CONFIG command you can setup external UART of Carberry.

Synopsis

UART CONFIG <BAUD> <SIZE> <PARITY> <STOP>

Where arguments are:

Argument Meaning Range
<BAUD> Baud rate1200 .. 256000
<SIZE> Data bits8 .. 9
<PARITY> Parity bitN, E, O
<STOP> Stop bits1 .. 2

Return

CONFIG command returns OK.

Examples

Setup External UART at 9600bps, 8 data bits, Even parity, 1 stop bit:

UART CONFIG 9600 8 E 1
OK

Setup External UART at 115200bps, 8 data bits, None parity, 1 stop bit:

UART CONFIG 115200 8 N 1
OK

Notes

  1. Configuration settings, are not power loss safe. If you disconnect Carberry from power supply or a watchdog reset rises, UART peripheral will be setup as 115200 8 N 1.