Jump to content


Tivaware weak pull down and ADC?

  • Please log in to reply
1 reply to this topic

#1 Davidwallis


    Noob Class

  • Members
  • 4 posts
  • LocationLeeds

Posted 09 January 2017 - 07:34 PM

Is it possible to configure a weak Down up on an adc? 


I have tried this but it doesn't seem to work..(based on the single ended adc example, comments removed for clarity.. 


 //Configure Weak pull down
 ADCSequenceConfigure(ADC0_BASE, 3, ADC_TRIGGER_PROCESSOR, 0);
ADCSequenceStepConfigure(ADC0_BASE, 3, 0, ADC_CTL_CH0 | ADC_CTL_IE | ADC_CTL_END);
ADCSequenceEnable(ADC0_BASE, 3);
ADCIntClear(ADC0_BASE, 3);


#2 dubnet


    Level 3

  • Members
  • 446 posts
  • LocationUSA

Posted 09 January 2017 - 09:37 PM

My guess is that it would only apply to the pin when configured as digital I/O.  Given these aren't likely laser trimmed resistors with low temperature coefficients, they would likely add error to the A/D result.


Just an educated guess. Perhaps someone more knowledgeable can jump in to confirm. 

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users