MPC5777C Freemaster connection with MCAN Problem

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

MPC5777C Freemaster connection with MCAN Problem

854 次查看
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 回复数

819 次查看
InhyeokHwang
Contributor III

Thanks alot, I will check it up on Monday 

0 项奖励
回复

835 次查看
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 项奖励
回复