Hi, I'm currently trying to use the BMI270 coupled with the BMM150. So far I was using the BMI270 alone with the FIFO in header mode (both accel and gyroscope enabled) and everything seemed to work properly. Then, I wanted to also use the BMM150 with the Auxiliary Interface of the BMI270. I managed to read the Chip ID of the BMM150 and I believe that I set everything properly for the BMM150 (enabled PWR_CONF.aux_en, IF_CONF.aux_en, specified the proper I2C address for the Auxiliary interface in AUX_DEV_ID, set AUX_IF_CONF.aux_rd_burst to 8 bytes, disabled advance power save and IF_CONF.aux_man_en and specified the approriate read address in AUX_RD_ADDR) and for the FIFO_CONFIG (enabled all sensors). My problem is : when I read the FIFO Header, sometimes the control frame contains the "correct" value indicating that all three sensors are enabled (i.e. the field "fh_parm" is set to 0b0111) and sometimes the control frame indicates that only Accelerometer and Aux sensors are enabled (fh_parm set to 0b0101) and I don't understand why. I must have missed something but I can't figure out what, so if anyone can point me towards the usual suspects for that kind of strange behaviour, it will be strongly appreciated ! 🙂 Cheers, Ps: I'm aware of the examples in the Bosch github repo and I tried to use those as much as I could but my implementation is on a SoC with a lot of legacy code and hence, I can't just copy/paste an example and adapt it to my needs..
... View more