lis3mdl magnetometer
-
@mkriesel The low level driver is Qualcomm proprietary so we cannot share it. But you don't need to look at that code to use an i2c port. You just need to use the interface functions provided by px4.
-
@mkriesel Yes, you would need to compile the DSP code with the Hexagon SDK.
-
@mkriesel You cannot access the DSP i2c ports from the applications processor.
-
@mkriesel We don't have any immediate plans to add dsp i2c access to libqrb5165-io.
-
@Eric-Katzfey Hi again, sorry for all the questions but for an update, I was able to get the compass working for my application by using the mavlink pipe and for now this is sufficient, however if I wanted to reconfigure the port to have it on the application processor instead could I do that? Again, it doesn't matter if I lose functionality in px4 because I don't plan to use it if I don't have to but if those GPIO pins are available I would like to explore that option.
Thanks for all the help so far.
-
@mkriesel The VOXL 2 does not have any i2c brought out to connectors for the applications processor. However, there are some add-on boards that do include this. For example: https://docs.modalai.com/usb2-type-a-breakout-add-on/
-
@Eric-Katzfey I undertand you do not have any Voxl 2 mini schematics open to the public but is it possible for you to share with me the gpio pins that J19 are on for the QRB5165 board?
-
https://docs.modalai.com/voxl2-mini-connectors/#j19---external-sensors-2x-uart-2x-i2c
here is a link for voxl2 (not mini) : https://docs.modalai.com/voxl2-connectors/
does this help?
-
@Alex-Kushleyev @mkriesel , I just updated that table to include the raw GPIO numbers.
However, I'm certain that they are unusable as GPIOs due to Trust Zone settings we have applied using them as I2C/UART etc. -
Hi @mkriesel
Have you seen this product we offer? This may be something that interests you:
https://docs.modalai.com/voxl2-dev-test-board/Our purchase link is buried in our beta section due to the risk of such product:
https://www.modalai.com/pages/beta-voxl-2-b2b-breakout-board
It includes a lot of extras not posted such as a tray to hold everything together, an SD Card, many cables, and several jumpers to get you going.
Hope this helps! -
@Vinny Thanks for the help on this I really appreciate it. I'll take a look.