01-14-2021 03:35 AM
Paragraph 4.4 of the BMI270 Data Sheet outlines Power on Reset and Device Initialization. Fourth bullet says that a configuration file needs to be loaded into the device using "burst write". Questions: what is in the configuration file and is it really needed to make the device operate? What happens if I don't load it into the device? What is "burst write" command and is that supported as a python command? Where is it documented?
Solved! Go to Solution.
07-22-2021 02:39 AM
Hello Tilic,
Please try 8 or 16 bytes first.
If it works, then try to increase read and write buffer.
Please let me know about your result.
Thanks,
07-22-2021 02:57 PM
07-24-2021 01:59 AM
Hello Tolic,
Are you sure that you are using our BMI270 API?
When you upload config file using 32 bytes of chunk, Writing into 0x5B shall increase 0x01, not 0x10.
Please check our source code as below.
https://github.com/BoschSensortec/BMI270-Sensor-API
Even though you are using our code, but doesn't work, please let me know.
Just in case, I will upload my log.
Thanks,
07-26-2021 12:27 PM
07-27-2021 01:10 AM
Hello Tolic,
The datasheet comment could be confused.
Here is the config file upload source code in bmi270.c
/* Store 0 to 3 bits of address in first byte */
addr_array[0] = (uint8_t)((index / 2) & 0x0F);
/* Store 4 to 11 bits of address in the second byte */
addr_array[1] = (uint8_t)((index / 2) >> 4);
It's not just bytes/2, but some operations more.
Even though you don't use our github API, it's good to check our API 🙂
Please let me know if you have any further questions. (Any question is alright, not disturbing me)
Thanks,