mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(driver_twai): added ctu_official listen only workaround
Closes https://github.com/espressif/esp-idf/issues/17461
This commit is contained in:
@@ -174,7 +174,11 @@ static inline void twaifd_ll_set_mode(twaifd_dev_t *hw, bool listen_only, bool s
|
||||
|
||||
twaifd_mode_settings_reg_t opmode = {.val = hw->mode_settings.val};
|
||||
opmode.stm = self_test;
|
||||
// esp32c5 using `rom` and `acf` together with `bmm` to warkaround the errata 0v2 issue 5
|
||||
// see issue https://github.com/espressif/esp-idf/issues/17461
|
||||
opmode.bmm = listen_only;
|
||||
opmode.rom = listen_only;
|
||||
opmode.acf = listen_only;
|
||||
opmode.ilbp = loopback;
|
||||
|
||||
hw->mode_settings.val = opmode.val;
|
||||
|
||||
Reference in New Issue
Block a user