I'm trying to use S32K344 GPIO to simulate I2C R/W (as I want use dozens of channels)
I read from some posts that GPIO function doesn't support "true" open drain. while I also found below definition in Siul2_port_Ip.c:
My question is: how should I make the GPIO pin act like open-drain?
Best Regards,
Yu
Thanks for your information, this is also what I get from user manual. However, I did tried to configure those GPIO pin as input, it act pretty much like open-drain: it will be pulled to high (relatively slowly) by internal pullup resistor. And the overall I2C simulation code sounds like working well.
No, this device does not support open drain.