You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I have a question regarding the selection of pin properties like bias-pull-up, when using a shield. Is there a possibility, to add a pinctrl configuration to a shield overlay, that tells e.g. the i2c0_default node, that he should use a pull up resistor? The only option, came to my mind is to adding a pinctrl alternative like this in the shield overlay:
But the problem is, that psels is required inside group1. So I would overwrite the pin numbers for SDA and SCL in previous example code.
When looking from the perspective of the shield, it does not know, which board is used, so I can not simply overwrite with some pin number, that won't fit for every board underneath the shield. So I have somehow reference to the psels pin number of the board? Is this somehow possible, or are there any other ways, to enable a pull-up from a shield overlay?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I have a question regarding the selection of pin properties like
bias-pull-up
, when using a shield. Is there a possibility, to add a pinctrl configuration to a shield overlay, that tells e.g. thei2c0_default
node, that he should use a pull up resistor? The only option, came to my mind is to adding a pinctrl alternative like this in the shield overlay:But the problem is, that psels is required inside group1. So I would overwrite the pin numbers for SDA and SCL in previous example code.
When looking from the perspective of the shield, it does not know, which board is used, so I can not simply overwrite with some pin number, that won't fit for every board underneath the shield. So I have somehow reference to the psels pin number of the board? Is this somehow possible, or are there any other ways, to enable a pull-up from a shield overlay?
Beta Was this translation helpful? Give feedback.
All reactions