UARTs on J17
-
I'm trying to communicate with some external devices using two of the UARTs in J19, but can't find any documentation on how the physical UARTs are mapped to the tty devices.
In particular, I need to use both GNSS and ESC serial ports from C and/or as a login console.
Thanks.
-
I'm trying to communicate with some external devices using two of the UARTs in J19, but can't find any documentation on how the physical UARTs are mapped to the tty devices.
In particular, I need to use both GNSS and ESC serial ports from C and/or as a login console.
Thanks.
@Brendon You are likely referring to J17 on VOXL 2 Mini. That connector exposes I/O connected to the Flight DSP, labeled in that table as "slpi_proc". They will not be exposed as a tty device.
We are currently working on libqrb5165-io which will provide an API to passthrough and expose a UART to the CPU. It could be a few weeks until a solid dev version of that is available
While waiting for that, you could look at the voxl-slpi-uart-bridge which voxl-esc-tools uses to program the ESCs from the CPU https://gitlab.com/voxl-public/voxl-sdk/core-libs/voxl-slpi-uart-bridge . That tool has only been tested in limited capacity for the ESC programming and diagnostic, but it should expose a way to use that UART.
-
@Brendon You are likely referring to J17 on VOXL 2 Mini. That connector exposes I/O connected to the Flight DSP, labeled in that table as "slpi_proc". They will not be exposed as a tty device.
We are currently working on libqrb5165-io which will provide an API to passthrough and expose a UART to the CPU. It could be a few weeks until a solid dev version of that is available
While waiting for that, you could look at the voxl-slpi-uart-bridge which voxl-esc-tools uses to program the ESCs from the CPU https://gitlab.com/voxl-public/voxl-sdk/core-libs/voxl-slpi-uart-bridge . That tool has only been tested in limited capacity for the ESC programming and diagnostic, but it should expose a way to use that UART.
@Moderator I'll take a look at that code. Can you tell me which UARTs currently are available as tty devices?
I may be able to rewiring things to use different ports while I wait.
Thanks.
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login