Hello,
I have got system on ESP32S3. I use I2c line. Everything works fine on ESP-IDF v5.3.1 . I have just upgraded the system to ESP-IDF v5.4.1 and my app stopped working. I have got no error. Whole system hangs on i2c_master_transmit. I setup many registers. When I execute function i2c_master_transmit, it works 1-10 times ok and then hangs. The number of times i2c_master_transmit runs ok is random but no more than 10 times.
System hangs on i2c_master_transmit
Re: System hangs on i2c_master_transmit
I have resolved it by myself. There is bug in i2c_master.c file.
i2c_hal_master_set_scl_timeout_val must be above I2C_CLOCK_SRC_ATOMIC
i2c_hal_master_set_scl_timeout_val must be above I2C_CLOCK_SRC_ATOMIC
Who is online
Users browsing this forum: PetalBot, YisouSpider and 2 guests