mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'fix/c5_twai_listen_only_workaround' into 'master'
fix(driver_twai): added ctu_official workaround, fixed error count info Closes IDFGH-16314, IDFGH-16278, IDFGH-16364, IDFGH-16383, IDFCI-3106, and IDFCI-3107 See merge request espressif/esp-idf!41570
This commit is contained in:
@@ -180,6 +180,9 @@ 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;
|
||||
opmode.bmm = listen_only;
|
||||
// esp32h4 using `rom` together with `bmm` although errata 0v2 issue 5 is fixed
|
||||
// see detail in https://github.com/espressif/esp-idf/issues/17461
|
||||
opmode.rom = listen_only;
|
||||
opmode.ilbp = loopback;
|
||||
|
||||
hw->mode_settings.val = opmode.val;
|
||||
|
||||
Reference in New Issue
Block a user