esp-idf/components/ulp/ulp_riscv
Sudeep Mohanty 88e4c06028 ulp-riscv-i2c: Updated ULP RISC-V I2C driver to abort when met with errors
The current ULP RISC-V RTC I2C driver got stuck in an infinite loop if
there is a I2C transaction error. This commit amends the driver flow to
abort the read/write operation if met with errors. It also adds a loop
timeout to avoid getting stuck in an infinite loop.The commit also
updates the default bus timing parameters for RTC I2C to be faster.
This commit also adds documentation help to guide users when they meet
with issues while working with the RTC I2C driver on the ULP RISC-V coprocessor.
2023-03-29 13:25:46 +02:00
..
include ulp-riscv-i2c: Updated ULP RISC-V I2C driver to abort when met with errors 2023-03-29 13:25:46 +02:00
shared/include ulp-riscv: added lock API to provide mutual exclusion when sharing variables between the main CPU and the ULP. 2022-08-05 18:16:31 +08:00
ulp_core ulp-riscv-i2c: Updated ULP RISC-V I2C driver to abort when met with errors 2023-03-29 13:25:46 +02:00
ulp_riscv_i2c.c ulp-riscv-i2c: Updated ULP RISC-V I2C driver to abort when met with errors 2023-03-29 13:25:46 +02:00
ulp_riscv_lock.c ulp-riscv: added lock API to provide mutual exclusion when sharing variables between the main CPU and the ULP. 2022-08-05 18:16:31 +08:00
ulp_riscv.c ulp: Added APIs to handle ULP signal ISRs for the main CPU 2023-02-24 07:25:39 +00:00