This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Intersection of PDM Module with TWI Module

Dear Nordic team,

I have a running NRF52 with a firmware based on the freeRTOS demo. To this demo I added the PDM Support Module and the TWI Module. As soon as both sensors are available, I get very random intersections and the TWI Module stops working. Exactly after starting a TWI transaction, sometimes the twi_event after the transation is never executed. If the PDM is stopped, the TWI module is working without any problems.

Are there any known intersections between the PDM Module and the TWI Module?

-- more info -- I changed the pdm driver to the official pdm module from the sdk, (SDK_14.0.0_3bcc1f7) the TWI is connected to pin 26 and 27 the PDM is on pin 23 and 24

changing the PDM clock to a different pin (where no microphone is connected) works fine, so it does not look like a software problem.

the current workaround is to wait for a timeout of the TWI, disabling and re enabling the TWI module.

Related