MPC5777C Freemaster connection with MCAN Problem

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

MPC5777C Freemaster connection with MCAN Problem

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

820 Views
InhyeokHwang
Contributor III

Thanks alot, I will check it up on Monday 

0 Kudos
Reply

836 Views
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 Kudos
Reply