I am using ESP32 as Master and AVR32 using as a slave device.
AVR32 image sends
Sends ACK (if lock on block data is successful) during the first read transaction
Sends a NACK during the start of the second read transaction at the end of receiving the second register address byte.
Send ACKs (if ...
Search found 3 matches
- Mon Jul 19, 2021 11:35 pm
- Forum: General Discussion
- Topic: ESP32-S2-WROVER I2C transaction failure after receiving NACK during write
- Replies: 0
- Views: 2217
- Fri Jul 16, 2021 9:45 pm
- Forum: General Discussion
- Topic: ESP32 as a I2C slave device
- Replies: 12
- Views: 40157
Re: ESP32 as a I2C slave device
Hi ESP,
There is no code in the i2c driver in the ESP forum related to ESP32 as a slave to send ACK and NACK pulses.
Can you please provide me any documentation/ link that really helps me a lot
There is no code in the i2c driver in the ESP forum related to ESP32 as a slave to send ACK and NACK pulses.
Can you please provide me any documentation/ link that really helps me a lot
- Wed Jul 07, 2021 11:01 am
- Forum: ESP-IDF
- Topic: i2c_master_cmd_begin() returns ESP_FAIL
- Replies: 1
- Views: 4071
Re: i2c_master_cmd_begin() returns ESP_FAIL
Hi,
I have seen your code, maybe in line 41, the third parameter in the i2c_master_write_byte as ACK_CHECK_EN. If you are disabling the acknowledge check condition if the slave sends the NACK master will not check the condition and it will not enable the I2C_NACK_INTR maybe that is the cause to get ...
I have seen your code, maybe in line 41, the third parameter in the i2c_master_write_byte as ACK_CHECK_EN. If you are disabling the acknowledge check condition if the slave sends the NACK master will not check the condition and it will not enable the I2C_NACK_INTR maybe that is the cause to get ...