s32k146 can't exit freeze mode(configure it by autosar)

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

s32k146 can't exit freeze mode(configure it by autosar)

1,054 Views
evan_wang
Contributor II

Hi:

I meet an question about s32k146, i can't exit freeze mode about can driver. i can send messages successfully if mcr register was forced setting. for example, setting bits 24 to 31 to zero.who can give me a hand for this problem?

Thanks a lot for the trouble you've taken to help me!

112.png

4 Replies

970 Views
evan_wang
Contributor II

I have solved this problem.Davinci divides initialization into two parts,the first is Init can controller the second is init controller mode.The second step is completed by the function 'Can_SetControllerMode'.if the canif layer is not configured,we should call it by ourselves.

note:Complete the first step first and then the second step

0 Kudos

970 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

as per your MCR value the module is in Freeze mode. To leave Freeze mode clear the MCR[HALT] bit in your code.

Then wait till NOTRDY and FRZACK become 0.

BR, Petr

970 Views
evan_wang
Contributor II

yeah,you are right.But  I don't know how to configure it in AUTOSAR,do you have any ideas?

0 Kudos

970 Views
PetrS
NXP TechSupport
NXP TechSupport

unfortunately not.

Petr

0 Kudos