GPIO open drain?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

GPIO open drain?

1,477 次查看
towenyu
Contributor III

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:

towenyu_0-1705547858495.png

My question is: how should I make the GPIO pin act like open-drain? 

 

Best Regards,

Yu

2 回复数

1,432 次查看
towenyu
Contributor III

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.

1,452 次查看
davidtosenovjan
NXP TechSupport
NXP TechSupport

No, this device does not support open drain.

davidtosenovjan_0-1705666460878.png