2021-12-25 02:57 AM
I am using STM32F401 for audio acquisition through I2S interface and also interfaced an IMU sensor with the MCU through I2C. I am using the CCA02M2 library provided by STM for audio acquisition and a separate task for reading IMU data. When I run the code, I am losing some IMU interrupts and hence some sensor data. I have tried changing the priorities, but no luck. How to run both of them normally?