Page 1 of 1

I²C OUTPUT_OPEN_DRAIN ./. OPEN_DRAIN

Posted: Wed Feb 21, 2018 10:51 am
by rudi ;-)
hi
we talk just in time the I²C glitch problem in arduino esp32 core.
not tested just in time, but makes sense:

at we have:

Code: Select all

gpio_set_direction(scl_io, GPIO_MODE_OUTPUT_OD);
gpio_set_direction(sda_io, GPIO_MODE_OUTPUT_OD);
to change it to OPEN_DRAIN only?

Code: Select all

gpio_set_direction(scl_io, GPIO_MODE_DEF_OD);
gpio_set_direction(sda_io, GPIO_MODE_DEF_OD);

i can test earliest this on weekend with OSC ( RIGOL )

best wishes
rudi ;-)