Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/MSP430FR2311: OutOfBox_MSP430FR4133 run at MSP-EXP430FR4133 seems to give 511 as maximum ADC10 ADC_Conversion_Result

$
0
0

Part Number:MSP430FR2311

Tool/software: Code Composer Studio

Could anyone please confirm this. And if it is so- Why?

There are two versions of the project: one in Resource Explorer, and a slightly different one in the MSP430FR231x Examples. They behave the same way. No matter how strong light you expose the photo diode to, I cannot make the ADC_Conversion_Result pass 511. In driverlib adc.c it says that the ADC defaults to 10 bit 0-1023. Setting the resolution in a call make no difference.

Strangely enough the main.c file has a test:

    if(ADC_Conversion_Result >= 256)  //Normalize data for lower brightness

which could mean that the program is meant to present only 9 bit / 512 values.

I am making a micro/nano ampere meter, and need the 1024 steps to get some 0.1% resolution.

Thanks in advance.

Roy


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>