sp32s3 - I2C transaction unexpected nack detected

edo76mal
Posts: 16
Joined: Wed May 11, 2022 10:17 am

Re: sp32s3 - I2C transaction unexpected nack detected

Postby edo76mal » Wed Jun 18, 2025 4:23 pm

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.

eriksl
Posts: 199
Joined: Thu Dec 14, 2023 3:23 pm
Location: Netherlands

Re: sp32s3 - I2C transaction unexpected nack detected

Postby eriksl » Wed Jun 18, 2025 5:42 pm

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.

edo76mal
Posts: 16
Joined: Wed May 11, 2022 10:17 am

Re: sp32s3 - I2C transaction unexpected nack detected

Postby edo76mal » Wed Jun 18, 2025 6:47 pm

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

Who is online

Users browsing this forum: Perplexity-User, PerplexityBot and 3 guests