VOXL2 GPIO and Serial Interfaces
-
Hi, I am currently using a VOXL2 and have been diving into the documentation and haven't been able to find or at least notice any reference to how to control GPIO pins and specifically UART pins through the DSP chip with my own program running on the VOXL2. I was wondering if I could be pointed to the appropriate documentation in order to set that up.
-Thanks
-
Sorry, it is poorly documented. The only I/O that needs to use the DSP is for flight controller development. The rest of the I/O is accessed through the Linux CPU and behaves like most Linux systems.
This page shows all of the connections https://docs.modalai.com/voxl2-connectors/
You can see references to things like /dev/ttyHS1 which is a UART available through Linux
You can find GPIO access in /sys/class/gpio/gpio
-
I've been meaning to get this into a user guide as well, but for the applications processor GPIO, here's an example of setting IO programmatically, in this case GPIOs 46/159:
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login