2025-01-26 8:52 AM - last edited on 2025-01-29 8:58 AM by mƎALLEm
I tried creating I2C connection between my stm32 board and esp32. I assume it is not working because of my code, due to the wiring being so simple in I2C communication, the pull up resistor is connected externally. Do you guys see any mistake in my code that could make my I2C to not work? I cannot figure out why it would not work.
2025-11-10 8:50 AM
Have a look at my post. it may be helpful.
ESP32 AND STM32 I2C INTERFACE
2025-11-10 9:15 AM
@tantheman did you mean to give a link?
https://community.st.com/t5/others-stm32-mcus-related/esp32-and-stm32-i2c-interface/td-p/854859
2025-11-10 9:20 AM
yes meant to give the link but was facing some errors .... being new to the site
2025-11-10 9:36 AM
Seems in Arduino you miss order , right is
bool Wire.begin(uint8_t addr, int sdaPin, int sclPin, uint32_t frequency);