Hi Ti Experts
We are making Ble Beacon project which will take temperature from LMT85 temperature sensor .We have few doubts from software side
1) How to configure pin as ADC(analog) as these pins are muliplexd having digital/gpio/analog option.
2) We are taking reading temperature from 23rd pin by assuming this pin as analog by default.Here we are facing accuracy issue.By oscilloscope we have measured reading as 1.38V but from ADC pin from software side we are getting 1339mV. What may be the issue.
The code we have used is following:-
pinHandle = PIN_open(&pinState, alsPins);
adcsample[i++] = AUXADCReadFifo();
sprintf(buff,"sample : %d microvolt\r\n",singleSample);
SbpUartHandle = UART_open(CC2650_UART0, &SbpUartParams);