GPIO on DSP?
-
Hello, in the documentation for the VOXL 2 connector J19 pin 9 is listed as a GPIO, the other pins are connected to the SLPI/DSP, is the GPIO connected to the DSP as well? How can it be controlled from within the DSP? Are there any other pins that can be used as GPIO and controlled from the DSP/PX4? Thank you
-
Hi @czarsimon
J10 pin 9 is a Voltage for Spektrum Style RC modules that require a power ON/OFF/ON sequence to bind.
GPIO_159 is the GPIO that enables this feature. If held static ON, this is a reverse protected 3.3V pin, up to 1A of support.

All Board-to-Cable (JST's) connectors are on the DSP since they are purpose designed for Flight Control features.
You'll need to use the Board-to-Board connectors (J3 and J5) for Apps GPIOs.https://docs.modalai.com/voxl2-connectors/#j3---legacy-board-to-board-connector-b2b
https://docs.modalai.com/voxl2-connectors/#j5---high-speed-board-to-board-connector-hsb2b
Hope this helps!
-
@Vinny Can you explain how the J10/J19, M0094 and the spektrum receiver are meant to work together?
I have a dev drone w/ VOXL2 & spektrum satellite receiver. After flashing the latest SDK (1.6.3) the receiver and transmitter stay bound but I have to force a rebind to get RC data coming in to PX4 every time I power cycle the drone. No issue up to SDK 1.1.2 and I noticed the way kernel GPIO initialization is handled changed in 1.1.3. More details here:
https://forum.modalai.com/topic/5243/spektrum-rc-bind-issues-after-sdk-update
I'm guessing this has to do with GPIO pin settings for pins 46, 67 or 159 being set wrong on boot, but I don't know enough about the hardware to understand what's going on. If I have a spektrum receiver on a dev drone w/ M0054 that is already bound to a transmitter, what should the GPIO pin settings be on boot to enable rc data flow to px4?