Search found 2 matches

by shivgpt
Wed Jan 22, 2025 1:50 am
Forum: ESP-IDF
Topic: How to disable the I2C slave driver's response capabilities to prevent it from sending any ACK/NACK signals?
Replies: 2
Views: 373

Re: How to disable the I2C slave driver's response capabilities to prevent it from sending any ACK/NACK signals?

Hi, Thanks for the reply. Yes, this I am doing it in gpio_init() function, function is in another .c file. "gpio_set_direction(I2C_SLAVE_SDA_IO, GPIO_MODE_INPUT);" I am trying to sniff the packet exchange between two devices. so I have connected my ESP32 board with same SDA / SCL pins, and just want...
by shivgpt
Tue Jan 21, 2025 1:04 pm
Forum: ESP-IDF
Topic: How to disable the I2C slave driver's response capabilities to prevent it from sending any ACK/NACK signals?
Replies: 2
Views: 373

How to disable the I2C slave driver's response capabilities to prevent it from sending any ACK/NACK signals?

I am using ESP-IDF v5.4.0 and the driver/i2c_slave.h library for I2C communication. I need to disable the I2C slave driver's response capabilities to prevent it from sending any ACK/NACK signals. Is there a configuration flag or a recommended method to stop the I2C slave from transmitting any data o...