What are the minimum steps required to get the accelerometer/gyroscope to turn on so I can read measurements from their registers? I was told elsewhere the initialization file isn't required if I just want to make register reads. If I follow the "Configuring the device for normal power mode' Page 19 of Data Sheet:
7D = x0E
40 = xA8
42 = xA9
7c = x02
All I get are '0's for both Acceleromer and Gyroscope. I can read chipid, temperature and sensortime so my read and write statements are working
Same with Sensor self test for Acceleromer and Gyroscope - just get all '0's.
What am I missing?
Hello Swingpro,
There was example code in github, by calling API, the software can read sensor data quickly.
Unfortunately the APIs don't explain exactly which flags are being set and are required to make readings possible
Is there a way to see the actual commands setting various registers in the API. I am using Python without the COINES environment. I am able to read registers and write to registers but Temperature, Accel and Gyro don't return any values even though they are enabled in power register
Hello Swingpro,
BMI270 sensor API was wrote by C language, had demonstrated how to operate sensor. You can migrate it to your platform.