DSPRelated.com
Forums

Problem in ADC of F2812

Started by naay...@gmail.com June 20, 2008
Hi all,

I fed 2V and 1V DC signals to ADCIN0 and ADCIN1 respectively and ran my program in F2812 DSP, it didn't work as i have expected. The thing is I observed ADCRESULT0 as 0XFFF0 and ADCRESULT1 as 0xFFF0 in watch window.I have given ADC VREFLO to gnd and the two ADC inputs gnd to the analog ground. Moreover, I have also observed the equivalent voltage after the conversion of digital input by 3/4095, it was 3.00789e-06. Its very strange.

My doubt is

1)why it didn't indicate the exact digital value of 2V and 1V in the respective result registers.

2) why it shows 0.00789e-06 for
x[Conversioncount]=(ADCRESULT0>>4);
x1[ConversionCount]=x[ConversionCount]*(3/4095); even if it shows wrongly as 0xFFF0 in result registers, the x1 value would be 3V, but i have got 0.00789e-06.

Can any one extend your helping hand?

Many thanks in advance


OMAP35x EVM jump-starts low-power apps
The modular and extensible OMAP35x Evaluation Module (EVM) enables developers to start building applications based on the OMAP35x architecture: http://www.DSPRelated.com/omap35x