Hello,
I am currently working on connecting a Thingy:91x to a Cube Orange autopilot (Pixhawk 2.1) in order to receive telemetry data over UART using the MAVLink protocol. The goal is for the Thingy:91x to act as a receiver for MAVLink messages being emitted by the flight controller.
The Cube Orange exposes several UART interfaces via connectors such as TELEM2, which provide:
-
TX (Cube output)
-
RX (Cube input)
-
GND
Questions:
-
Which pins should I use from the Thingy to connect with UART and read the telem?
-
Is there any specific configuration required in the device tree or Kconfig to properly enable and use
uart0
on the Thingy:91x? -
Are there any official examples or recommended approaches within Zephyr/NCS for receiving a continuous data stream (such as MAVLink) over UART?
-
What is the recommended way to debug incoming UART data on the Thingy:9x1? Is it possible to redirect the UART output to USB for inspection via a terminal like
minicom
? -
Are there any considerations regarding buffer size, flow control, or DMA configuration when handling continuous traffic such as MAVLink (~10-20Hz message rate)?