Skip to content

UPDI pin float OK? (ATTiny202) #883

Answered by SpenceKonde
jazzjohn27 asked this question in Q&A
Discussion options

You must be logged in to vote

As long as it is configured to act as either Reset or UPDI, the internal pullup is forced on. so the pin is not in a floating or intermediate state and is fine: In this case the OUT and DIR register bits for the UPDI pin are ignored, and since the pin is held HIGH by the internal pullup, your configuration consistent with low power consumption.

The other pins are a different matter: If you care about power consumption, you need to do something to ensure that they aren't floating or at an intermediate voltage neither high nor low. Either use pinConfigure to disable the input buffer, or set the pins to output, preferably outputting a LOW (in the datasheet, they just say that it should be ei…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jazzjohn27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants