How to configure SAR ADC

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

How to configure SAR ADC

1,392 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

800 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

799 Views
俊翔兰
Contributor II

Hi,

      How to determine the sampling frequency of SARADC?

0 Kudos

800 Views
PetrS
NXP TechSupport
NXP TechSupport

could you specify the MCU you have?

BR, Petr

799 Views
俊翔兰
Contributor II

MPC5775K

0 Kudos

800 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

800 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

800 Views
yinlei
Contributor III

Break zero reply

0 Kudos