Other Parts Discussed in Thread: CC2640
Tool/software: Code Composer Studio
Hi,
Part: CC2640R2F 5X5 custom module
SDK : Simplelink cc2640R2 SDK version 1.50.0.58
Compiler version: TI V16.9.7LTS
I've been trying to monitor the battery voltage of my device over ADC to send it into sleep or shutdown mode and wake it up according to the respective battery voltage. My problem occurs while reading data from ADC.
1) While using ADC data logger example of Sensor controller, i never get an accurate reading of the voltage (which is a constant 3.3v used while developing ), Moreover, the value keep moving unreliably oscillating over a range of around a 100 mV. How can i resolve this?
2) I tried doing the same without the sensor controller and looked into adcsinglechannel example and adcbufcontinuous example to do the same, but even without any changes, both these examples throw the following errors :
#10010 null: errors encountered during linking; "adcsinglechannel_CC2640R2_LAUNCHXL_tirtos_ccs.out"
10234-D</a> null: unresolved symbols remain
gmake: *** [all] Error 2
gmake[1]: *** [adcsinglechannel_CC2640R2_LAUNCHXL_tirtos_ccs.out] Error 1
unresolved symbol ADC_config, first referenced in C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/drivers/lib/drivers_cc26x0r2.aem3<ADC.oem3>
unresolved symbol ADC_count, first referenced in C:/ti/simplelink_cc2640r2_sdk_1_50_00_58/source/ti/drivers/lib/drivers_cc26x0r2.aem3<ADC.oem3>
Kindly help me resolve these problems.
Regards,
Nikhil