Adding CP210x USB to Serial converter support to m500
-
How do I add support for CP210x USB to Serial converter on my m500 drone?
I know that it is a driver / kernel module issue, but I can't figure it out. Connecting Arduino UNO creates a ttyACM0 (virtual serial) right away. But the device that I need to connect has CP210x serial converter chip onboard.I found the tutorials below, but as I am new to this, I am unable to figure it out. Help please!
https://gitlab.com/voxl-public/system-image-build/voxl-build/-/blob/master/README.md#building-the-kernel-and-wlan-module
https://gitlab.com/voxl-public/system-image-build/meta-voxl/-/tree/master?ref_type=heads
https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads
https://askubuntu.com/questions/941594/installing-cp210x-driver -
How do I add support for CP210x USB to Serial converter on my m500 drone?
I know that it is a driver / kernel module issue, but I can't figure it out. Connecting Arduino UNO creates a ttyACM0 (virtual serial) right away. But the device that I need to connect has CP210x serial converter chip onboard.I found the tutorials below, but as I am new to this, I am unable to figure it out. Help please!
https://gitlab.com/voxl-public/system-image-build/voxl-build/-/blob/master/README.md#building-the-kernel-and-wlan-module
https://gitlab.com/voxl-public/system-image-build/meta-voxl/-/tree/master?ref_type=heads
https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads
https://askubuntu.com/questions/941594/installing-cp210x-driver@boga Can you use an FTDI based converter instead?
-
@boga Can you use an FTDI based converter instead?
@Eric-Katzfey, yes. I came up with the same solution in parallel. I am already able to read data. FTDI based converter appears as ttyUSBX (X=0...n).
Also, while we're at it... If I would use the VOXL Flight port J10 to read in UART data, what is the port number from the software side?
Is there a documentation about that? -
@Eric-Katzfey, yes. I came up with the same solution in parallel. I am already able to read data. FTDI based converter appears as ttyUSBX (X=0...n).
Also, while we're at it... If I would use the VOXL Flight port J10 to read in UART data, what is the port number from the software side?
Is there a documentation about that?@boga On a VOXL board J10 is mapped to the DSP and so you have to go through our libvoxl_io library to use it: https://docs.modalai.com/libvoxl-io/
-
@boga On a VOXL board J10 is mapped to the DSP and so you have to go through our libvoxl_io library to use it: https://docs.modalai.com/libvoxl-io/
this should be helpful as well : https://docs.modalai.com/voxl-serial-io/ , which points to a uart loop back test app for DSP-based UART ports (https://gitlab.com/voxl-public/libvoxl_io/blob/master/lib/apps/voxl-uart-loopback.c)
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