2024-09-05 06:26 AM
I am triggering adc every 100us in dma and getting data in adc callback. I am triggering adc with hrtim compare 3.
//hrtim cmp3 event call back
{
//reset a pin.
}
//adc conversion call back
{
//set a pin
}
for some reason the reset pin is working every cycle but set pin skips its cycle.
It means adc call back not working every cycle?
What can cause this kind of behavior?
2024-09-05 06:45 AM - edited 2024-09-05 06:45 AM
Hello,
To me, it could be either the NVIC priority Level or the timing 100us which is very relatively high to let this interrupt to be executed.