This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SAADC end vs limit interrupt

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?

Parents
  • 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

Reply
  • 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

Children
Related