Internal pull-up support on Unit PbHub / Unit EXT.IO2?
-
Hello,
I am using Unit PbHub and would like to ask about internal pull-up resistors.
The STM32F030 used in PbHub and EXT.IO2 supports internal pull-up/pull-down at the hardware level, but I could not find any way to enable pull-ups using the current M5Stack libraries. There seems to be no API to configure pull modes.
Is it currently possible to enable internal pull-up resistors on PbHub or EXT.IO2?
If not, is firmware modification the only option, or are there plans to support this in the future?
I would appreciate any official clarification or recommended workaround.
Thank you. -
Hello @sk-ys
currently PbHub does not support internal pull-up/pull-down resistors. See FAQ at the end of the documentation page here. I assume the same is true for EXT.IO2.
Note: I have no idea if there are plans to support this feature in the future.
BTW: I faced the same issue a while ago and I resorted to adding some 10 k SMD resistors to the inputs.
Thanks
Felix -
@felmue
Thank you for the clarification.
Yes, it seems that internal pull-up/pull-down resistors cannot be controlled at the moment.
I also checked the documentation, but could not find any way to configure this, which is why I posted the question here.I hope this feature can be supported in the future, as it would be very useful in practice.
Thanks again for sharing your experience.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login