DMA adds to the time delay of counters
Hello guys I just want to ask why adding a callback is causing additional time delay to counters. In my case I created a periodic pulse using the PeriodElapsedCallback which is in interrupt mode. I toggle the output every 300ms and this is working fine. Then I created an additional DMA for the PWM using the PulseFinishedCallback. Then when I checked my counter the 300ms somehow increased to 315ms. What is the reason why the delay increased by 15ms? Is this additional overhead time processing due to the PulseFinishedCallback.? However this is too long.