I am trying to figure out how to configure the GPIOs in open drain mode. I have read the reference manual but I don't see any bits that control this.
I need to configure an output PIN in open drain mode so that if other output pins pull the line low it does not affect the bus.
So I need to configure the PIN in output opendrain.
Sorry for the inconvenience this might cause you, but the KW21Z does not have open drain control as you can check in the reference manual