Jump to content
Sign in to follow this  

Tivaware weak pull down and ADC?

Recommended Posts

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);


Share this post

Link to post
Share on other sites

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. 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this