I use the I2C controller to access GPIO extender and LED controller.
It is not entirely clear how the time out in i2c_master_cmd_begin() is intended to work.
On entry a semaphore is taken granting ownership of the bus.
It looks as if the time out is also used to detect completion.
The problem is that on one of my boards I was missing the GPIO extender. The i2c_master_cmd_begin() calls then ran to the full time out.
Why does the I2C wait for full time out when there is no device and/or bus error?
Error time out in i2c_master_cmd_begin()
Error time out in i2c_master_cmd_begin()
& I also believe that IDF CAN should be fixed.
Who is online
Users browsing this forum: No registered users and 152 guests