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