Commit 3614dc0
[stm32] Fix initialization of FDCAN message RAM
After power-on the FDCAN message RAM is filled with non-zero invalid
data. In some cases the CAN filter region contains well-formed entries
which cause inadvertent reception or rejection of messages.
To prevent this message RAM sections are now zeroed out on the first
initialization of the respective FDCAN instance.1 parent 9e7bdf4 commit 3614dc0
File tree
3 files changed
+13
-0
lines changed- src/modm/platform/can
- common/fdcan
- stm32-fdcan
3 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
| 273 | + | |
273 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
274 | 282 | | |
275 | 283 | | |
276 | 284 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
219 | 223 | | |
220 | 224 | | |
221 | 225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
0 commit comments