2022-08-02 07:53 AM
Hello,
I am looking at the STM32G041j6m6 with the soic8 package and as you can see (screenshoot from the datasheet) it has several ports wired to the same pin. Which is the register that selects which port is actually wired to the output pin?
Solved! Go to Solution.
2022-08-02 08:24 AM
The pins are bonded to multiple pads on the die.
You get to chose if they are inputs, or outputs, or which ones are used.
You are also responsible for ensuring your use cases don't clash.
You can switch usage on the fly, if/when appropriate, say if you want a TIM input, vs I2C bus, etc.
2022-08-02 08:08 AM
None. It's your responsibility to keep all but one ports sharing the same pin in high impedance state.
hth
KnarfB
2022-08-02 08:24 AM
The pins are bonded to multiple pads on the die.
You get to chose if they are inputs, or outputs, or which ones are used.
You are also responsible for ensuring your use cases don't clash.
You can switch usage on the fly, if/when appropriate, say if you want a TIM input, vs I2C bus, etc.