hi,
I am using new Drivers in v5.3 i2c Master and Slave Drivers.
Both Master and Slave are Esp32
I send from Master for Example, 1 byte 0x55
At the Slave I get 2 times 0x55 0x55
or Even Some times I get four Times 0x55 0x55 0x55 0x55
Any Idea Why is it so ?
Thanks
i2c New Driver
Re: i2c New Driver
Could be do to several things...
1. Glitches on I2C bus: Check pull-up resistors and try reducing bus speed (e.g., to 100kHz).
2. Master retransmissions: Ensure the master sends data only once and handles acknowledgments correctly.
3. Slave buffer issues: Clear the slave buffer after reading data.
4. Repeated slave interrupts: Ensure the slave ISR isn’t triggered multiple times per transmission.
Without the code, cannot tell you more unfortunatelly.
1. Glitches on I2C bus: Check pull-up resistors and try reducing bus speed (e.g., to 100kHz).
2. Master retransmissions: Ensure the master sends data only once and handles acknowledgments correctly.
3. Slave buffer issues: Clear the slave buffer after reading data.
4. Repeated slave interrupts: Ensure the slave ISR isn’t triggered multiple times per transmission.
Without the code, cannot tell you more unfortunatelly.
ESPBoards.dev - Everything about ESP32 and ESP8266 Development Boards - https://www.espboards.dev
Who is online
Users browsing this forum: Assasinsareus, terpstraapril and 108 guests