How to configure SAR ADC

cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure SAR ADC

820 Views
俊翔兰
Contributor II

HI,ALL 

I want to use SAR ADC to detect the PWM, how should I configure the ADC.Do you have example?

Best Regards,



7 Replies

228 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

you can find several ADC examples here MPC5 software example list 

If you need to synchronize ADC sampling with PWM you can refer to https://community.nxp.com/docs/DOC-102559 

BR, Petr

228 Views
俊翔兰
Contributor II

Hi,

      How to determine the sampling frequency of SARADC?

0 Kudos

228 Views
PetrS
NXP TechSupport
NXP TechSupport

could you specify the MCU you have?

BR, Petr

227 Views
俊翔兰
Contributor II

MPC5775K

0 Kudos

228 Views
PetrS
NXP TechSupport
NXP TechSupport

read chapter 40.5.11 "Conversion Time" of the device RM; https://www.nxp.com/docs/en/reference-manual/MPC5775KRM.pdf 

BR, Petr

228 Views
俊翔兰
Contributor II

Thank you very much,but I have a question,What is the difference between ADC_CTR0 and ADC_CTR1?

 Best Regards,

0 Kudos

228 Views
yinlei
Contributor III

Break zero reply

0 Kudos