Hi,
I am looking for an example that uses the eDMA with the TWI in the 15.2 SDK on nRF52840.
My idea is to read out an external sensor using the TWI with as little processor involvement as possible. The sensor fills a buffer (this buffer is contained in the sensor) and is able to interrupt the processor when this buffer is filled to a certain level. It should be possible for this interrupt to start a TWI read action through the PPI that reads the sensor data into a buffer using the eDMA right? Or is this not feasible?
I looked on the devZone and found similar questions but I did not find a specific link to an example using the 15.2 sdk version. I also tried grepping through the sdk but didn't really find anything useful.
Thanks in advance and best regards,
Michiel