Cao Sen Miao
7c233ebc80
feat(i2c_master): Add parameter to config I2C scl await time
2024-04-07 15:06:31 +08:00
Cao Sen Miao
ae94c0134b
fix(i2c_master): Fix issue that i2c clock got wrong after reset,
...
Closes https://github.com/espressif/esp-idf/issues/13397
2024-04-01 10:55:39 +08:00
Cao Sen Miao
2291ded9a1
fix(i2c): Use hardware fsm reset on esp32c6/h2/p4
2024-04-01 10:15:50 +08:00
Cao Sen Miao
90afc33cd8
fix(i2c_master): Fix issue that initialize esp32 and using i2c_master_probe issue,
...
and probe might failed.
Fixed I2C cannot return err code when nack detected
Closes https://github.com/espressif/esp-idf/issues/13213 ,
Closes https://github.com/espressif/esp-idf/issues/12929 ,
Closes https://github.com/espressif/esp-idf/issues/13398 ,
2024-04-01 10:15:47 +08:00
Cao Sen Miao
8567102be4
fix(i2c_master): Fix issue that use callback may cause memory leak,
...
Closes https://github.com/espressif/esp-idf/issues/12878
2024-04-01 10:15:45 +08:00
Cao Sen Miao
f93ebedcb6
fix(i2c): Fix I2C synchronous transaction cost so much CPU source,
...
Closes https://github.com/espressif/esp-idf/issues/13137 ,
Closes https://github.com/espressif/esp-idf/pull/13322
2024-04-01 10:15:42 +08:00
Eric Wheeler
27690e0990
fix(i2c_master): fix deadlock on s_i2c_transaction_start failure
...
As pointed out in PR #13134 by @MatthiasKunnen, there is a deadlock in
`s_i2c_synchronous_transaction()` if `s_i2c_transaction_start()` should fail
because, on error, s_i2c_synchronous_transaction() returns before releasing the
lock.
This commit fixes the deadlock without any other changes.
Closes : #13387
Signed-off-by: Eric Wheeler <esp-idf@z.ewheeler.org>
2024-04-01 10:15:39 +08:00
Cao Sen Miao
715ee3576e
fix(i2c_master): Fix bug on esp32 that read one byte data fails
2024-02-21 18:42:21 +08:00
Jiang Jiang Jian
c3b7aa76d9
Merge branch 'change/add_scl_check_v5.2' into 'release/v5.2'
...
change(i2c): Add check for scl frequency for master_bus_add_device(backport v5.2)
See merge request espressif/esp-idf!27662
2023-12-26 10:34:00 +08:00
Cao Sen Miao
1625943486
change(i2c): Add check for scl frequency for master_bus_add_device
...
Closes https://github.com/espressif/esp-idf/issues/12598
2023-12-05 13:36:39 +08:00
Cao Sen Miao
9d3d9d16f0
docs(i2c): Modify some variables in I2C driver for good docs
2023-11-08 10:48:48 +08:00
Cao Sen Miao
8d639492f2
feat(i2c_slave): Add new implementation and API for I2C slave
2023-10-24 18:44:49 +08:00
Cao Sen Miao
c7740b4c2b
fix(i2c_master): Fix I2C new master cannot continously probe
2023-09-05 12:27:18 +08:00
Cao Sen Miao
6e3e923290
fix(i2c_master): Fix issue that i2c master probe device failed,
...
Closes https://github.com/espressif/esp-idf/issues/12159
2023-09-01 10:00:46 +08:00
Cao Sen Miao
317da3ffaf
fix(i2c_master): Fix some static issue checked by coverity
2023-08-16 10:43:18 +08:00
Cao Sen Miao
4ef94fc0dc
feat(i2c): Add new API and implementation for I2C driver
2023-08-10 11:55:54 +08:00