Commit d636b32
committed
stm32cube: stm32f4, stm32f7: Fix errata workaround
The errata for STM32F4 says successive writes to MACCR may be ignored,
and recommends reading back, waiting and rewriting as a workaround. This
workaround has been done correctly for writes to TE, but has mistakenly
been removed after enabling RE, which means that receiving sometimes
ended up not working. The errata recommends doing multiple writes, then
a final wait and rewrite at the end, which seems to work correctly.
Even though this is not mentioned in the F7 errata, the same fix is
required there.
Fixes zephyrproject-rtos/zephyr#107024.
Signed-off-by: Ole Morten Haaland <omh@ixys.no>1 parent 39130f2 commit d636b32
2 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
807 | 810 | | |
808 | 811 | | |
809 | 812 | | |
810 | 813 | | |
811 | 814 | | |
812 | 815 | | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | 816 | | |
817 | 817 | | |
818 | 818 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
804 | 804 | | |
805 | 805 | | |
806 | 806 | | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
807 | 810 | | |
808 | 811 | | |
809 | 812 | | |
810 | 813 | | |
811 | 814 | | |
812 | 815 | | |
813 | | - | |
814 | | - | |
815 | | - | |
816 | 816 | | |
817 | 817 | | |
818 | 818 | | |
| |||
0 commit comments