This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: MSP432P401R
The calibration values appear to be set to 0. Is this correct or were the values never put into the library?
Thanks!
cal30 = SysCtl_getTempCalibrationConstant(SYSCTL_2_5V_REF,
SYSCTL_30_DEGREES_C);
cal85 = SysCtl_getTempCalibrationConstant(SYSCTL_2_5V_REF,
SYSCTL_85_DEGREES_C);
Robert,
What version of the SimpleLink MSP432 SDK are you using? Here are my settings using MSP432 SDK v1.4 containing the latest driverlib.
#define SYSCTL_85_DEGREES_C 4 #define SYSCTL_30_DEGREES_C 0
How do I determine the driverlib version?
Clicking on project properties for the first project w/bespoke board (cal values return 0) I see:
location: /Applications/ti/msp/MSPWare_3_30_00_18/driverlib/driverlib/MSP432P4xx/ccs/msp432p4xx_driverlib.lib
last modified: November 4, 2015 at 4:29:26 PM
For the second project with the launchhpad (cal values return 0xffff) I see:
location: C:\ti\tirex-content\msp\msp432ware__3.50.00.02\driverlib\driverlib\MSP432P4xx\ccs\msp432p4xx_driverlib.lib
last modified: November 29, 2016
Thank you, I was worried, I've got an on-going multi-year multi-thousand line development program for the 432 and expect to be using the processor in several embedded (science related) projects.
I didn't want to have to re-port all the drivers - I'm using the timers, rtc, uart, i2c, a2d, wdt., eerom, just about every interface the 432 has a driver for :-)
I'll be updating to the SDK today and will report back to you on the values returned.
Hi, Evan,
I updated the mac to ccsv7, rebuilt the "project explorer" adc14_single_channel_temperature_sensor project,
double-checked the include and link paths point to v7, attached the launchpad and still get 0xffff for the cal values.
I'm thinking the temperature constants might have slipped through the cracks and were never added to the driverlib.
bob s.
**Attention** This is a public forum