S32K144

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

S32K144

589 次查看
zq1
Contributor III

i am building a bootloader, so i need to  CAN_Deinit before jump to app ,but everytime the program will into hardfault when the program into the sdk api called 

FLEXCAN_DRV_Deinit  , 
zq1_0-1691561646367.png

 

 
when i debug ,the picture shown above,
hope your reply
0 项奖励
回复
2 回复数

588 次查看
zq1
Contributor III

zq1_0-1691562067197.png

enter the program will into hardfault in  if(FLEXCAN_IsEnabled(g_flexcanBase[instance]))

hope your reply 

0 项奖励
回复

527 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

be sure module is clocked. Check respective PPC register.

BR, Petr

0 项奖励
回复