Voxl2 Use J10 as I2C slave
-
Hello,
I’m working on a project involving the CubePilot Orange+ flight controller (which acts as an I2C master), and I’d like to know if it’s possible to establish an I2C connection to the VOXL 2 as the slave using the J10/J3 or J19 connectors?
From the VOXL 2 connector documentation, I understand that J10 is labeled as an "External SPI" port, but I’ve read that some SPI interfaces on VOXL 2 can be reconfigured for I2C.
1. Can the J10 connector be repurposed or reconfigured to support I2C communication? 2. If yes, which specific pins on J10 correspond to I2C SDA and SCL? 3. Are there any device tree overlays or configuration changes needed in VOXL 2’s software to enable I2C on J10? 4. Is level shifting required, or is J10 already 3.3V I/O compatible with the CubePilot Orange+? 5. Can https://docs.modalai.com/voxl-i2c-io/ be used or would a custom driver need to be written?Thanks in advance for the clarification.
VOXL 2 Connectors
ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA
ModalAI Technical Docs (docs.modalai.com)
-
Hello,
I’m working on a project involving the CubePilot Orange+ flight controller (which acts as an I2C master), and I’d like to know if it’s possible to establish an I2C connection to the VOXL 2 as the slave using the J10/J3 or J19 connectors?
From the VOXL 2 connector documentation, I understand that J10 is labeled as an "External SPI" port, but I’ve read that some SPI interfaces on VOXL 2 can be reconfigured for I2C.
1. Can the J10 connector be repurposed or reconfigured to support I2C communication? 2. If yes, which specific pins on J10 correspond to I2C SDA and SCL? 3. Are there any device tree overlays or configuration changes needed in VOXL 2’s software to enable I2C on J10? 4. Is level shifting required, or is J10 already 3.3V I/O compatible with the CubePilot Orange+? 5. Can https://docs.modalai.com/voxl-i2c-io/ be used or would a custom driver need to be written?Thanks in advance for the clarification.
VOXL 2 Connectors
ModalAI technical documentation for VOXL and VOXL 2 Companion Computers for PX4 and ArduPilot Obstacle Avoidance and GPS-denied navigation, assembled in the USA
ModalAI Technical Docs (docs.modalai.com)
@KnightHawk What are you trying to do? Why would you want to communicate with your FC via i2c?
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