S32K144

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

S32K144

469 Views
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 Kudos
Reply
2 Replies

468 Views
zq1
Contributor III

zq1_0-1691562067197.png

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

hope your reply 

0 Kudos
Reply

407 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

be sure module is clocked. Check respective PPC register.

BR, Petr

0 Kudos
Reply