Page 2 of 2
Re: sp32s3 - I2C transaction unexpected nack detected
Posted: Wed Jun 18, 2025 4:23 pm
by edo76mal
I have a working project. Simply I changed esp-idf library. from i2c.c to i2c_master. The first (deprecated) works, the last not. The address is rigth. There is something in new library that introduces bugs.
Re: sp32s3 - I2C transaction unexpected nack detected
Posted: Wed Jun 18, 2025 5:42 pm
by eriksl
The only way to make sure is to use a logic analyser. Highly recommended. used it extensively when I made my own I2C implementation (on ESP8266)... But without any other information, I am inclined to say it really works. With the latest stable IDF version and "new" I2C version.
Re: sp32s3 - I2C transaction unexpected nack detected
Posted: Wed Jun 18, 2025 6:47 pm
by edo76mal
I'm sure address in rigth.... with older version it runs. So, changeing only i2c master, it has problems. No hardware changes. No address changes