Using Grove - 3-Axis Compass on Jetson TX2

General information

Moderators: lily.li, violet

Post Reply
ulf.anso295
Pre-kindergarten
Pre-kindergarten
Posts: 1
Joined: Thu Sep 12, 2019 1:09 am

Using Grove - 3-Axis Compass on Jetson TX2

Post by ulf.anso295 » Thu Sep 12, 2019 1:17 am

Hi,

I recently purchased the 3-Axis compass module. I tested on Raspberry Pi 3, works without a fault.
After that I tried to use it on the Nvidia Jetson TX2 but keep getting:

Code: Select all

RuntimeError: UPM Runtime Error: BMM150: bmm150_init() failed
Seems it keeps failing on the line in the example code:

Code: Select all

sensor = sensorObj.BMM150(1, 0x13)
In I2C detect I can see the compass being on 1 bus and 13 address.
Checked the source library, but to no avail. Didn't find the real issue. Tried different values and formatting.

Any tips or hints or such on how should this be tackled?

When I do I2Cread, I get value like 0xff and some other codes just give array of 255.


Has anyone encountered this and found a solutions? Or know how shouldit be resolved?

Thank You in advance!

Post Reply