UART communication
-
Hi,
We want to connect an arduino to the J10 UART.
When we tryvoxl-uart-loopback -d 7, it fails.
When we use 'voxl-i2c scan 7 400000`, it recognizes the device (besides the UART TX and RX we connected the SDA and SCL as well)We also tried it with a GPS, so that we could be sure it wasn't the arduino code, but it had the same result: uart failed and i2c was recognized.
/ # serial-read-teensy -d 7 INITIALIZING Sending 10 bytes: 0123456789 Transfer should take ~1736us, sleeping for 6736us (+5000us overhead) Reading back data... ERROR: voxl_uart_read 0 bytes, expected 10 closing uart bus FAILCan you help us with this?
Thanks in advance!
-
Hi,
We want to connect an arduino to the J10 UART.
When we tryvoxl-uart-loopback -d 7, it fails.
When we use 'voxl-i2c scan 7 400000`, it recognizes the device (besides the UART TX and RX we connected the SDA and SCL as well)We also tried it with a GPS, so that we could be sure it wasn't the arduino code, but it had the same result: uart failed and i2c was recognized.
/ # serial-read-teensy -d 7 INITIALIZING Sending 10 bytes: 0123456789 Transfer should take ~1736us, sleeping for 6736us (+5000us overhead) Reading back data... ERROR: voxl_uart_read 0 bytes, expected 10 closing uart bus FAILCan you help us with this?
Thanks in advance!
@SHofmeester J10 on the VOXL2 is a SPI port. https://docs.modalai.com/voxl2-connectors/#j10---external-spi
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