AnsweredAssumed Answered

Using DMA with pin interrupt trigger to copy data

Question asked by Grzegorz Kaczmarek on May 18, 2015
Latest reply on Jun 1, 2015 by Earl Orlando Ramirez Sanchez



I'd like to use pin interrupt to implement accurate timestamping with use of DMA.

What I'd like to reach is to copy 64bit timestamp value (updated in SysTick interrupt) to some other 64-bit variable on logic transition caused by external interrupt signal.

I could to it manually in interrupt routine while handling external IRQ request, but I want to minimize timestamp copying lag due to interrupt handling delay.


Does anybody have any suggestions?

Anybody implemented such a feature already?

Maybe my idea is a bit over engineered on KL05?


I am using KDS2.0 with PE.


Thanks in advance for any hints!