SAR ADC

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决
1,886 次查看
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

标签 (1)
1 解答
1,671 次查看
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 项奖励
回复
4 回复数
1,671 次查看
ankur_kala
NXP Employee
NXP Employee

Hi Matthias,

which device are you working upon?

0 项奖励
回复
1,671 次查看
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 项奖励
回复
1,672 次查看
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 项奖励
回复
1,671 次查看
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