ADC for MC56F83783

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

ADC for MC56F83783

446 Views
Mariya01
Contributor I

In MC56F83783 how to configure ADC in polling method. Is there any application note available for ADC configuration.

0 Kudos
Reply
1 Reply

430 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

There is SDK package for MC56F83xxx, pls download it from the link:

https://mcuxpresso.nxp.com/en/welcome

For the ADC, there are  three examples:

xiangjun_rong_0-1688971676985.png

All of then is based in interrupt mode, if you want to use polling mode, you can use any one of the 4 examples, and disable interrupt, then the use the following code to implement the polling mode:

.................

while(1)

{

1)start ADC convertion

2)while(ADC_STAT&1<<11) {} //polling EOSI0 bit

3)reading ADC result register to memory

 

}

Pls try to modify the example code

We have not the application note about ADC polling mode

Hope it is helpful

BR

Xiangjun Rong

 

 

0 Kudos
Reply