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.

TM4C1294NCPDT: TM4C1294NCPDT Internal Temperature Sensor Get Confused

Part Number: TM4C1294NCPDT
Other Parts Discussed in Thread: ENERGIA

Hello ;

We use internal temperature sensor of microcontroller . When we use just internal temperature sensor code we get true adc values and degrees . In our project we do pull-up for some pins . When we pull-up with 

 (for example)   " pinMode(PE_3, INPUT_PULLUP); "   we get wrong adc values . If we dont pull-up , ADC is working true . 

Is ADC effected from pins or what is a problem ? 

Does anyone have idea ? 

Sincereley

  • Hello Hasan,

    If you are using pinMode then that is not a TivaWare API but an Energia one correct?

    If so, we don't support Energia on the TM4C E2E forums per our forum guidelines: e2e.ti.com/.../695568

    Please direct your question to the primary Energia forums at: forum.43oh.com/.../ - they will understand what is going on and be able to assist you with this issue.
  • Yes you are right , it is energia . But I thought that problem is coming from microcontroller . Is there anything to say about microcontroller ?  Because If we dont pull-up , ADC works good . 

  • Hello Hasan,

    Turning on a pull-up should never affect the internal temperature sensor. Therefore I suspect the issue has something to do with how Energia is handling either the ADC or the pull-up activation, and that is why you need to post to the forums that actually have device expertise.

    Alternatively, try to do the same application with TivaWare and if you can replicate the same behavior with TivaWare we can review the code.