Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
RJ_0701
Level 3
Level 3
25 sign-ins 10 questions asked 10 replies posted

Dear Team,

I am using the sequencer for analog input reading, just want to know what is difference between interrupt method and sequencer method for ADC1 reading?  

0 Likes
1 Solution
Sahil_K
Moderator
Moderator
Moderator
25 likes received 250 replies posted First like given

Hi @RJ_0701 ,

Assuming you are talking about the EIM and ESM measurements done by ADC1. Both are triggered by the hardware event. In EIM, the current measurement of ADC1 is aborted and the measurement of the channel specified by EIM is done and after that aborted measurement is repeated and the sequence continues. Whereas in ESM, upon hardware event current measurement is aborted, and the ESM sequence will be executed for the measurement. After the ESM is finished the aborted measurement will be repeated and the sequence continues.

Note: In case EIM and ESM hardware events occur at the same time, the EIM event is processed first.

For more information please refer to section 24 of the user manual. For the implementation of ADC1 ESM/EIM please refer to the below example code.

Sahil_K_0-1711611089134.png

Kindly create proper titles related to the query description to help other community members so that they can easily relate to the thread.

Best Regards,
Sahil Kumar

View solution in original post

0 Likes
2 Replies
Sahil_K
Moderator
Moderator
Moderator
25 likes received 250 replies posted First like given

Hi @RJ_0701 ,

Assuming you are talking about the EIM and ESM measurements done by ADC1. Both are triggered by the hardware event. In EIM, the current measurement of ADC1 is aborted and the measurement of the channel specified by EIM is done and after that aborted measurement is repeated and the sequence continues. Whereas in ESM, upon hardware event current measurement is aborted, and the ESM sequence will be executed for the measurement. After the ESM is finished the aborted measurement will be repeated and the sequence continues.

Note: In case EIM and ESM hardware events occur at the same time, the EIM event is processed first.

For more information please refer to section 24 of the user manual. For the implementation of ADC1 ESM/EIM please refer to the below example code.

Sahil_K_0-1711611089134.png

Kindly create proper titles related to the query description to help other community members so that they can easily relate to the thread.

Best Regards,
Sahil Kumar

0 Likes

Thanks, will check data sheet ,

0 Likes