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.

MSP432P401R: How do you setup MCU temperature sensor using SysConfig with TI-RTOS?

Part Number: MSP432P401R

The goal is to use SysConfig for TI-RTOS to configure the ADC to measure the MCU's internal temperature sensor so I can use the TI-RTOS functions to handle the conversion.  I do not want to use ADCBuf, I want to handle the conversions on the fly.  Unfortunately the SysConfig has a dependence on an external pin through the "PinMux" tab.  Does anybody know how I would configure the ADC through SysConfig to measure the internal temperature sensor so I can use the TI-RTOS functions to handle the conversion?

  • Hi Barnesy3113,

    Let me ask around for help on this one.

  • Hi Barnesy3113,

    I'm not able to find an answer for you at the moment, so let me see what I can figure out here on the bench.  It may take a little while to get you an answer.

  • Hi Barnesy3113,

    I did get some comments from one of our engineers in the field who has experience with MSP432P401.

    They suggested using an ADC14 driverlib function that would allow you to access the internal temp sensor.

  • Hi Dennis,

    I have used driverlib and am aware of its ability to convert the internal temperature sensor.  The RTOS library is pretty heavy weighted as it is, and adding driverlib wouldn't help.  Also, using 2 separate libraries to interact with the same interface is not preferred if it can be avoided.  The RTOS library handles all of the configuration in the background for me when I call the convert function, driverlib would require me to configure the ADC through the driverlib functions before the conversion, then I would need to put everything back together (I would assume) so that my next SysConfig library call isn't corrupted.  If I can make the driverlib configuration and conversion calls, and then execute a SysConfig library call and the SysConfig will reconfigure the ADC on the fly as needed then this may be a path I would be willing to go down.  It would be WAY more convenient if it could be handled by the SysConfig library and I didn't need to mix the driverlib in with it.

  • Hi Barnesy3113,

    I don't have any follow up information to provide you.  What is your status?

  • Hi Dennis,

    I can use driverlib for the time being, though it's not the preferred solution.  If I make my driverlib call for the temperature conversion, and then call simplelink's "ADC_convert" on a different channel, will simplelink setup the ADC peripheral correctly?  I just want to understand what kind of cleanup may be necessary after my driverlib call so I don't break my simplelink conversions.

  • Hi Barnesy3113,

    What is your status?

  • I was waiting for an answer to my other question about driverlib not messing up my ADC configuration on the SysConfig conversion call, but I'm guessing that's what the upvote meant, which I didn't see.  I will mark your original answer about using driverlib as "This resolved my issue".  Thank you.