HELP, ADC of FRDM64 in differential mode

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

HELP, ADC of FRDM64 in differential mode

Jump to solution
729 Views
hunglam
Contributor II

Hi all,

I have a problem with the ADC in differential mode. Let me explain my test settings: in order to verify the measurement of adc, I connect the internal DAC (output J4_11/DAC0 out) to the input of pin ADC0 (J4-1/ADC0_DP1) and the ground pin to the ADC0_DM1/J4-3. I program the board using kinetis design studio,  sdk 1.2/mqx standard and processor expert. The DAC works well, I have verified the output with the scope. However, the ADC also return always values ranging from 60,000 to 63,000 regardless of the DAC voltage output. The ADC is configured as followed:

16bit differential, bus clock as clock source, high speed mode, 1 extra ADCK cycle mode, no HW trigger, one-shot conversion, no DMA.

When I use the single 16bit mode, everything works just fine. But whenever I switch to the differential mode, I got the problem. PLEASE, HELP!!!!

THANKS

0 Kudos
1 Solution
504 Views
hunglam
Contributor II

I actually found the mistake. it was ridiculously stupid that it is not worth sharing it. but thanks all!

View solution in original post

0 Kudos
3 Replies
505 Views
hunglam
Contributor II

I actually found the mistake. it was ridiculously stupid that it is not worth sharing it. but thanks all!

0 Kudos
504 Views
EarlOrlando
Senior Contributor II

Hello,

Could you please share your project or the code where you configure the module to reproduce the problem?

Best regards,

Earl.

0 Kudos
504 Views
mjbcswitzerland
Specialist V

Hi

When configuring for differential mode, which voltage do you have on the other signal input?

Regards

Mark

0 Kudos