SAR ADC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1,854 Views
matthiasuhlmann
Contributor II


Hi All,

 

I need to setup the ADC_16 to measure several input measurements.

Can somebody help me to set up a propper implementation?

- how can i set up a smaple sequence? (e.g. AD10,AD12,AD20)?

- how can i use DMA to prevent using IRQ's?

- Is there somewhere a code example available?

 

Thank you!

 

Matthias

Labels (1)
1 Solution
1,639 Views
ankur_kala
NXP Employee
NXP Employee

Hi Matthias,

You can look in AN4583, where the SAR ADC is used for PFC implementation along with the DMA. This will solve all the above three queries. the link for the same is http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4583.pdf?&Parent_nodeId=&Parent_pag...

You can also download the code from freescale web : RDPFCPMSMMC56F84789: Dual Sensorless PMSM FOC with PFC Reference Design: Dual Sensorless PMSM FOC wi...

Note: if the answer helps please mark it as helpful/correct.

Regards,

Ankur

View solution in original post

0 Kudos
4 Replies
1,639 Views
ankur_kala
NXP Employee
NXP Employee

Hi Matthias,

which device are you working upon?

0 Kudos
1,639 Views
matthiasuhlmann
Contributor II

MC56F84789

I am getting in slow... :smileyhappy: but i still have no solution to initiate a scan sequence whidout using interupts...

0 Kudos
1,640 Views
ankur_kala
NXP Employee
NXP Employee

Hi Matthias,

You can look in AN4583, where the SAR ADC is used for PFC implementation along with the DMA. This will solve all the above three queries. the link for the same is http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4583.pdf?&Parent_nodeId=&Parent_pag...

You can also download the code from freescale web : RDPFCPMSMMC56F84789: Dual Sensorless PMSM FOC with PFC Reference Design: Dual Sensorless PMSM FOC wi...

Note: if the answer helps please mark it as helpful/correct.

Regards,

Ankur

0 Kudos
1,639 Views
matthiasuhlmann
Contributor II

Hi Ankur,

Thank you for your help.

It was more or less what i needed and helped me to solve my problem!

Regards,

Matthias