I was wondering: if the last sample of a buffer in the SAADC (using easyDMA and scan mode) is outside the limits, which interrupt would come first, the END or the LIMIT interrupt? Or is there no guarantee which comes first?
I was wondering: if the last sample of a buffer in the SAADC (using easyDMA and scan mode) is outside the limits, which interrupt would come first, the END or the LIMIT interrupt? Or is there no guarantee which comes first?
Hi
The END event does not occur until after the sampled data is moved into RAM over the DMA. In other words this should happen after the LIMIT event, which happens as soon as the sampled data is compared to the configured limits.
The hardware designers confirmed this, and mentioned that there should be at least a 120ns delay after the LIMIT event occurs before the END event is triggered, but exactly how long it is we have not tested.
Best regards
Torbjørn
Hi
The END event does not occur until after the sampled data is moved into RAM over the DMA. In other words this should happen after the LIMIT event, which happens as soon as the sampled data is compared to the configured limits.
The hardware designers confirmed this, and mentioned that there should be at least a 120ns delay after the LIMIT event occurs before the END event is triggered, but exactly how long it is we have not tested.
Best regards
Torbjørn
Cheers :)