News:

Attention: For security reasons,please choose a user name *different* from your login name.
Also make sure to choose a secure password and change it regularly.

Main Menu

BMG250 Power Mode not working

Started by hyuna, December 01, 2021, 10:50:20 AM

Previous topic - Next topic

hyuna

I have hooked up the BMG250(https://www.kynix.com/components/BMG250-Triaxial-Gyroscope-Block-Diagram-Datasheet-Features.html) 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?

JH

Hi,
this forum is for Trenz FPGA and SoC Modules.

If you have problems with your RPI board, you should post in the RPI forum, the community is bigger there. You might get a quicker answer there than here.

br
John