Next Generation Emulation banner
1 - 1 of 1 Posts

· Registered
Joined
·
7 Posts
Discussion Starter · #1 ·
I have hooked up the BMG250 shuttle board to my Raspberry Pi 3 (I2C) and it is currently in suspend mode. I am able to read/write to registers such as GYR_CONF (0x42) and GYR_RANGE (0x43).

So in order to change the PMU status from suspend mode to normal mode I execute the following line:

bus.write_byte_data(0x68, 0x7E, 0x15)

To check the PMU status I wrote:

time.sleep(1)

bus.read_i2c_block_data(0x68, 0x03, 1)

And I keep getting PMU Status like 0. Instead of the integer 4 which would be representative of normal mode. Does anybody know how to fix this?
 
1 - 1 of 1 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top