10-30-2023 01:30 PM
Hi,
I try the code from below link to use fifo watermark header mode.
I got data. My watermark level is 650. I expect got around 30 frame for each sensor, and each sensor's frame count should be equal. But actually frame count I got is like below:
The acc frame count is less than gyro and aux.
Could please help?
Thanks,
Yang
11-01-2023 07:24 AM
Hi HMK,
You can refer to attached example code. If you used application board 3.0+BMI270 shuttle board 3.0 and run the code in COINES environement, you should run the code in RAM or Flash.
mingw32-make LOCATION=RAM TARGET=MCU_APP30 download
mingw32-make LOCATION=FLASH TARGET=MCU_APP30 download
11-01-2023 07:39 AM
Hi,
We don't have COINES board and the environement. It seems we got the dummy bytes. How to avoid this?
Thanks,
Yang
11-01-2023 07:43 AM
We also tried the headless mode. Got same result.
The return value of below code is BMI2_W_DUMMY_BYTE.
11-28-2023 07:26 AM
Hi HMK,
You can check the length of your FIFO and whether the data read is an integer multiple of the data per frame.