MPC5777C Freemaster connection with MCAN Problem

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

MPC5777C Freemaster connection with MCAN Problem

853件の閲覧回数
InhyeokHwang
Contributor III

Hello NXP Team

I wonder why my ping test with MCAN doesn't work.

I've configured all the settings in freemaster_cfg.h (I've referenced freemaster driver example)

KakaoTalk_20230417_153053511.png

 and I've checked that I am using MCAN0 channel.

 

I've also checked FMSTR_CAN_CMDID and FMSTR_CAN_RESPID which was set default as 0x7aa.

KakaoTalk_20230417_152738943.png

When I try to Test connection, the error message pops up.

KakaoTalk_20230417_152744294.png

I implemented simple CAN_transmit and CAN_receive code and tested with CAN king. It works fine with CAN king.

What might be the problem?

Thanks in advance. 

 

 

0 件の賞賛
返信
2 返答(返信)

818件の閲覧回数
InhyeokHwang
Contributor III

Thanks alot, I will check it up on Monday 

0 件の賞賛
返信

834件の閲覧回数
iulian_stan
NXP Employee
NXP Employee

Hi @InhyeokHwang,

Could you compare your CAN configuration with the one from demo project from "C:\NXP\S32DS_Power_v2.1\S32DS\software\FreeMASTER_Serial_Communication_Driver_V2_0\examples\SCI_driver_examples\MPC57xx\MPC577xC_EVB_e200z7_Core0\src\periphinit.c".

There was an issue reported on another platform caused by SDK misconfiguration. You can find an example here.

Hope it helps,
Iulian

0 件の賞賛
返信