Cao Sen Miao
c0e5f2b73a
fix(i2c_master): Fix issue that i2c clock got wrong after reset,
...
Closes https://github.com/espressif/esp-idf/issues/13397
2024-03-21 13:13:53 +08:00
Cao Sen Miao
016877b7ce
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-03-19 11:07:13 +08:00
C.S.M
812d197011
Merge branch 'bugfix/i2c_slave_bugs' into 'master'
...
fix(i2c_slave): Fix multiple issues on i2c slave
Closes IDFGH-12343 and IDFGH-12319
See merge request espressif/esp-idf!29566
2024-03-15 19:36:56 +08:00
Cao Sen Miao
60419a4892
fix(i2c_slave): Fixed the isr_flags not really parse to the intr_allocate,
...
Closes https://github.com/espressif/esp-idf/issues/13374
2024-03-15 14:40:55 +08:00
Cao Sen Miao
7b731cae39
fix(i2c_slave): Fix bugs on i2c slave,
...
1. Fixed read data number smaller than master has sent it will fail
2. Disable interrupt when destroy bus
Closes https://github.com/espressif/esp-idf/issues/13354
2024-03-15 14:40:52 +08:00
Eric Wheeler
6e1bba7430
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-03-15 14:13:13 +08:00
Cao Sen Miao
1517d61add
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-03-07 17:51:23 +08:00
Cao Sen Miao
ddb0c21d4c
feat(i2c): Add I2C support on ESP32C5
2024-02-29 12:13:39 +08:00
Cao Sen Miao
28a0548c67
fix(i2c): Modify the test memory leak check threshold and add more file pattern
2024-02-27 17:30:59 +08:00
Cao Sen Miao
27b2f7a10b
feat(i2c): Add test cases for i2c sleep retention with 802154
2024-02-23 11:28:17 +08:00
Cao Sen Miao
cf521b60ea
feat(i2c): Support i2c sleep retention on esp32c6/h2
2024-02-23 11:28:14 +08:00
Cao Sen Miao
1e3ffdf628
fix(i2c_master): Fix bug on esp32 that read one byte data fails
2024-01-22 11:13:10 +08:00
Cao Sen Miao
0bf2b35b33
fix(i2c): Use hardware fsm reset on esp32c6/h2/p4
2024-01-16 10:05:05 +08:00
Cao Sen Miao
85d0fdabde
fix(i2c_master): Fix issue that use callback may cause memory leak,
...
Closes https://github.com/espressif/esp-idf/issues/12878
2024-01-15 19:09:07 +08:00
Armando
3c5a4f9e8a
ci(p4): added todo jira for disabled tests on p4
2024-01-04 09:36:38 +08:00
Armando
1ab742b3c3
ci(p4): enable esp32p4 target test
2024-01-04 09:34:55 +08:00
Vikram Dattu
3d40b17576
fix(docs): fixed doxygen warnings in few headers
...
- non-matching arguments in `i2c_types.h` and `esp_wifi_crypto_types.h`
- Fixed unended `@cond` macro in `esp_err.h`
2023-12-15 12:28:18 +05:30
Cao Sen Miao
aa10770323
refactor(i2c): Make i2c driver as a seperate component
2023-12-14 15:39:35 +08:00