FlexCAN_Library icon indicating copy to clipboard operation
FlexCAN_Library copied to clipboard

freeze mode

Open tonton81 opened this issue 7 years ago • 0 comments

First call of setup assumes header was loaded and controller is still in freeze mode.

A second call of setup or a setFilter AFTER the setup() is called, a hard fault is occured because you're writing to the RXFGMASK outside of freeze mode.

I suggest you wrap entering and exiting freezemode around both setup() and setFilter() RXFGMASK sets to correct the hard fault condition

tonton81 avatar Aug 18 '18 17:08 tonton81