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

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

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

Jump to solution
1,507 Views
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?

Labels (1)
0 Kudos
1 Solution
764 Views
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

View solution in original post

0 Kudos
2 Replies
765 Views
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 Kudos
764 Views
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