Serial Ports
This article provides clarification regarding the STorM32's serial ports.
Ports
Generally, the STorM32 port naming follows this scheme: The name of a port is simply the type of the port, plus a number for a 2nd port of that type, and so on. Example: RC and RC2. The STorM32 serial ports are named USB, UART, UART2, and UART3, and are accessible in the GUI as “usb”, “uart”, “uart2”, and “uart3”. The pins corresponding to these serial ports are labelled as Rx/Tx.
Comment: The naming scheme may be confusing to those coming from the FPV world, since in that world it has become common to name the UART ports by the MCU peripheral name. STorM32 does not follow that scheme (STorM32 is older than the FPV scheme in fact LOL), it rather follows the PX4/ArduPilot approach.
Comment: The naming scheme for the UARTs is different to the naming scheme of the older v2.xx firmwares.
MCU Peripherals
Few words on microcontroller (MCU) peripherals. STorM32 uses the STM32 series of chips. The STM32's serial peripherals are called UARTx or USARTx, where x goes from 1 to 10 for e.g. the STM32H7A3RG chip. Note: This naming convention is a choice of the chip manufacturer, not ours. Hence:
The names of the STorM32 serial ports must not be confused with the names of the MCU serial peripherals! They may or may not coincide.
Availability
The v6.x STorM32 boards all provide the USB, UART, UATRT2, and UART3 ports.
The UART3 port is shared with RC-0 and RC-1 pins of the RC port.
| Gui | v6.x Boards |
|---|---|
| “uart” | UART port |
| “uart2” | UART2 port |
| “usb” | USB connector |
| “uart3” | RC-0,RC-1 pins on RC port, labeled UART3 |
Baudrate
The default baudrate is generally 115200 bps for all serial ports. It can be adjusted for all serial ports in the GUI.
Comment: The USB baudrate setting is irrelevant, as the v6.x boards provide native USB functionality.
Comment: The GUI per default also communicates with a baudrate of 115200 bps. It can be changed in the GUI.
Comment: Changing the baudrate of a serial port can imply that one cannot connect to this port with the GUI anymore.