Trenz Electronic GmbH Support Forum

Trenz Electronic Products => Trenz Electronic FPGA Modules => Topic started by: hyuna on December 01, 2021, 10:50:20 AM

Title: BMG250 Power Mode not working
Post by: hyuna on December 01, 2021, 10:50:20 AM
I have hooked up the BMG250(https://www.kynix.com/components/BMG250-Triaxial-Gyroscope-Block-Diagram-Datasheet-Features.html (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?
Title: Re: BMG250 Power Mode not working
Post by: JH on December 01, 2021, 11:58:54 AM
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