I am using XIAO nRF52840 SENSE.
I want to get IMU data via DMA @ 104Hz, PDM data @16kHz/41.667kHz, and send the data via BLE @ 247,1M, gap = 7.5ms.
when enable IMU, disable PDM, the IMU data can be send via BLE correctly.
when enable both IMU and PDM, the BLE is disconnected, the IMU data are also correct.
when enable both IMU and PDM, and connected BLE and send realtime data. the IMU data will be about 0 in some frame. about 1 frame in 10 frames.
In the situation, the IMU data from DMA buffer are already 0, so I think it is none business of send data via BLE or parse data.
I try to change PDM from 41.667kHz to 16kHz, it appears no improvement.
Anyone know why and what happened. What can I do to solve this problem?