MPC5674 Rx individual mask register write failure sometimes

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC5674 Rx individual mask register write failure sometimes

Jump to solution
396 Views
Songzl
Contributor I

FlexCAN module in freeze mode. write  in rx individual mask register to an constant(0x00FFFF00) as follow snapshot, but after write, the value in it is not expected, it's a random value.  this issue occurs sometimes, not always. not sure whether it's a defect or any other point I miss

Songzl_1-1664332814368.png

Songzl_0-1664332580867.png

Songzl_2-1664333132554.png

0 Kudos
1 Solution
377 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

before access to RXIMR be sure module is really in Freeze mode and MBFEN is set.
Check if PE clock is not higher then peripheral clock. Try to use different init for setting CLKSCR and freeze mode, for example

PetrS_0-1664787163102.png

BR, Petr

View solution in original post

0 Kudos
1 Reply
378 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

before access to RXIMR be sure module is really in Freeze mode and MBFEN is set.
Check if PE clock is not higher then peripheral clock. Try to use different init for setting CLKSCR and freeze mode, for example

PetrS_0-1664787163102.png

BR, Petr

0 Kudos