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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,364件の閲覧回数
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 返答(返信)

1,280件の閲覧回数
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 件の賞賛
返信

1,280件の閲覧回数
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

1,280件の閲覧回数
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 件の賞賛
返信

1,280件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

unfortunately not.

Petr

0 件の賞賛
返信