How to configure differential ADC(use differential mode) on K60

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to configure differential ADC(use differential mode) on K60

跳至解决方案
1,556 次查看
kwonym
Contributor II

Hi, I use K60FX512 model.

I want to use adc on differential mode, and use DMA too.

anybody had been used it?

标签 (1)
0 项奖励
1 解答
813 次查看
arpitaagarwal-b
NXP Employee
NXP Employee

Hello Kwon,

Check Example code on how to use DMA in Kinetis K60 and KINETIS512_V2_SC from Software development tools --> Snippets, Boot Code, Headers, Monitors, etc. tab at the below link:

K60_100 |Kinetis K60 100 MHz MCUs|Freescale

The first is the example code for DMA

Second zip folder is the source code for drivers and few demo codes as well. It has adc driver which can be used to configure adc in differential mode.

Hope this helps.

If this post helps you, kindly mark it as correct/helpful answer.

-Arpita

在原帖中查看解决方案

0 项奖励
2 回复数
814 次查看
arpitaagarwal-b
NXP Employee
NXP Employee

Hello Kwon,

Check Example code on how to use DMA in Kinetis K60 and KINETIS512_V2_SC from Software development tools --> Snippets, Boot Code, Headers, Monitors, etc. tab at the below link:

K60_100 |Kinetis K60 100 MHz MCUs|Freescale

The first is the example code for DMA

Second zip folder is the source code for drivers and few demo codes as well. It has adc driver which can be used to configure adc in differential mode.

Hope this helps.

If this post helps you, kindly mark it as correct/helpful answer.

-Arpita

0 项奖励
813 次查看
mjbcswitzerland
Specialist V

Hi

Application note on DMA driven ADC and DAC, using PDB as timebase

Whether using single-ended or differential mode is purely a front-end setting so just needs ADC_SC1A_DIFF to be set in ADC_SC1A (and/or ADC_SC1B). The only operational effect of differential mode is otherwise that the conversions take slightly longer to complete than in single-ended mode; see the data sheet which will point you to the Freescale ADC conversion calculation program.

Regards

Mark