Rob Meades
Rob Meades
Hi there: it is indeed on the TODO list; we will probably combine it with moving forward to ESP-IDF 5.2. We can't drop support for the old I2C driver of...
I've just begun implementing against the new ESP-IDF I2C API, however it seems to be missing one vital feature: it does not permit I2C stop bits to be suppressed. In...
FYI, the ESP-IDF I2C API _does_ have that feature, in fact [i2c_master_transmit_receive()](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/peripherals/i2c.html#_CPPv427i2c_master_transmit_receive23i2c_master_dev_handle_tPK7uint8_t6size_tP7uint8_t6size_ti) does exactly that, it just doesn't say that it does that in the API description. I'm on to...
Hmmm, I'm now hitting a couple more issues which seem to be known and fixed on ESP-IDF `main` but not yet ported to a release branch: https://github.com/espressif/esp-idf/issues/13962 https://github.com/espressif/esp-idf/issues/13922 I think...
FYI, Espressif have now provided an API that allows [uPortI2cAdopt()](https://github.com/u-blox/ubxlib/blob/ba0a0f17cbd3028dfa2097decccd48458e08b021/port/api/u_port_i2c.h#L122) to be implemented, see https://github.com/espressif/esp-idf/commit/992d8bc5f20556adb62571d55a1517a9848d4b51. Once this, and hopefully the two fixed issues mentioned above, have made it into a...
FYI, it looks like ESP-IDF are gearing up for a 5.3 release; it is holiday season here now so likely we can try this in September when 5.3 is released.
> Beer is guaranteed for this port to be available soon ;-) Then I'm your man :-).
B*gger: looks like the [feature we needed](https://github.com/espressif/esp-idf/issues/13968), even though it was [committed to ESP-IDF master](https://github.com/espressif/esp-idf/commit/992d8bc5f20556adb62571d55a1517a9848d4b51) two months ago, isn't in the ESP-IDF 5.3 release, it stops on the revision of...
Update: I have taken ESP-IDF `master` as of yesterday and am testing with that but things are terribly flaky, I2C transactions generally fail with a HW timeout (and work perfectly...
I guess it depends how quickly you need to get working: you will see from the issue I raised on ESP-IDF that someone else had raised what _looks_ like the...