Other Parts Discussed in Thread: MSP430FR5969, SYSBIOS, LM35, CC2640R2F, CC2640
Hi Sir,
The below post I have made earlier has no reply. (I think of correct asking with apt expert will guide me). So, I am posting in SimpleLik MCU
I am using CC2650 launchxl for interfacing Temperature sensor(DS600).
I used TI driver example(adcbufcontinuous_CC2650_LAUNCHXL_TI_CC2650F128) for getting sensor values from analog pin -Board_DIO23_ANALOG.
In ADCCC26XX Hardware attributes, Board_DIO23_ANALOG is configured to index-0. Below are my configurations:
ADCCC26XX_HWAttrs structure{
.adcDIO = Board_DIO23_ANALOG,
.adcCompBInput = ADC_COMPB_IN_AUXIO7,
.refSource = ADCCC26XX_FIXED_REFERENCE,
.samplingDuration = ADCCC26XX_SAMPLING_DURATION_682_US,
.inputScalingEnabled = true,
.triggerSource = ADCCC26XX_TRIGGER_MANUAL
}
I didnt able to get the correct ADC value. Then only I can able to change for temperature value. Is the configuration correct.
I have searched for any thread, got the idea on Sensor controller. fyi: RTOS/CC2650: ADC taking upto 50ms to get a valid result
But, I Haven't checked these because I have not tried with sensor controller examples. So, it is difficult to handle in it.