MPC5674 Rx individual mask register write failure sometimes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

MPC5674 Rx individual mask register write failure sometimes

跳至解决方案
602 次查看
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 项奖励
回复
1 解答
583 次查看
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 项奖励
回复
1 回复
584 次查看
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 项奖励
回复