01-26-2022 07:37 PM
Hello,
I have implemented a write/verify chip configuration routine. If the configuration process is preceeded with a "Soft Reset w/2ms delay", verification of register FIFO_CONFIG_1 (0x3E) fails. It always returns 0x00. If I don't perform the soft reset, the configuration verification works fine.
Has anyone else experienced this? Is there a solution?
Thanks
01-26-2022 08:38 PM
00> [00:00:00.009,918] <info> accel: BMA280 No Soft Reset Performed
00> [00:00:00.013,580] <info> accel: BMA280 reg 0x11 match 0x50 == 0x50
00> [00:00:00.014,129] <info> accel: BMA280 reg 0x12 match 0x60 == 0x60
00> [00:00:00.014,648] <info> accel: BMA280 reg 0x0F match 0x3 == 0x03
00> [00:00:00.017,272] <info> accel: BMA280 reg 0x10 match 0x9 == 0x09
00> [00:00:00.017,822] <info> accel: BMA280 reg 0x19 match 0x10 == 0x10
00> [00:00:00.018,371] <info> accel: BMA280 reg 0x1A match 0x20 == 0x20
00> [00:00:00.018,890] <info> accel: BMA280 reg 0x20 match 0x5 == 0x05
00> [00:00:00.019,439] <info> accel: BMA280 reg 0x2A match 0x5 == 0x05
00> [00:00:00.022,064] <info> accel: BMA280 reg 0x2B match 0x81 == 0x81
00> [00:00:00.022,583] <info> accel: BMA280 reg 0x3E match 0x80 == 0x80
01-26-2022 11:21 PM
Hello Mark,
Firstly, all user configuration setting to be overwritten with their default value after softreset and the sensor goes to enter normal mode.
Please check p44 in our datasheet.
https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bma280-ds000.pdf
And, if you want to use our FIFO, I'd like to use our reference example code as below url.
https://github.com/BoschSensortec/BMA2-Sensor-API
Thank you.