ESP configured as I2C slave receives incorrect data
Posted: Tue Feb 20, 2024 11:38 am
I am trying to interface my Tiva C microcontroller with ESP32 Pico Kit via I2C. I have configured Tiva as master, ESP as slave and I am trying to transmit data from Tiva to ESP at an interval of 1 second. While the Tiva transmission works as expected (verified using logic analyzer), ESP is reading incorrect values from Tiva. Please let me know if I am doing anything wrong. Attached code for reference.