Search found 2 matches

by equinox2k
Sat Jul 20, 2024 6:05 am
Forum: ESP-IDF
Topic: I2C_slave / i2c_legacy
Replies: 0
Views: 536

I2C_slave / i2c_legacy

I2C_Legacy seems to have feature where you can have more granular control over the I2C communication. i.e. you can receive x bytes, send a response and then acknowledge the response. with i2c_slave it seems you can only read a predefined buffer size then transmit. Also master for write will do i2c a...
by equinox2k
Sat Jul 20, 2024 3:42 am
Forum: ESP-IDF
Topic: I2C Slave Transaction
Replies: 0
Views: 655

I2C Slave Transaction

I have a I2C Master device which sends a command then expects to read a value back based on command sent. My problem is i can receive the command sent, how ever transmitting a value back seems to be another transaction and thus master device does not get expected value. I've been following the i2c_s...