Hi, I use K60FX512 model.
I want to use adc on differential mode, and use DMA too.
anybody had been used it?
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.
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.
Retrieving data ...