ADC Data Average Using Timer

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ADC Data Average Using Timer

730 Views
Govind89
Contributor II

i am using km34z256xxx7 and i am using mcuxpresso sdk . I want to use a timer and an ADC interrupt handler. In this, I want to read ADC data every 1 second using an interrupt-based approach. When the timer starts, it will trigger the ADC to read and store the data in a buffer. Once the timer reaches 1 second, it will stop, and I will calculate the average of the ADC data in the buffer. After completing the average calculation, the timer will restart, and the process will repeat.

 #mcuxpressoide #nxp

0 Kudos
Reply
1 Reply

699 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @Govind89 ,

Thanks for your post. This question is the repeat post, I will answer you in your private case which have the same question. 

Any updated information, please reply me in that case. Thanks for your understanding.

Have a great day,

Celeste

0 Kudos
Reply