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.
I've tried with 32, 16, 8 I2C buffer sizes. Neither of them was helpful. You can find SALEAE capture files in attachment.
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.
Even though you are using our code, but doesn't work, please let me know.
Just in case, I will upload my log.
Many Thanks, now its working fine!
May be you can advice to fix statement you can find attachment. Otherwise I will be not the last disturbing you with this issue.
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 = (uint8_t)((index / 2) & 0x0F);
/* Store 4 to 11 bits of address in the second byte */
addr_array = (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)