CAN FD and CAN(not Working)

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

CAN FD and CAN(not Working)

跳至解决方案
552 次查看
GaneshBhagwat
Contributor IV

Hello NXP Community,

I'm currently facing an issue with my CAN configuration. I'm using a basic setup for CAN communication, and it only works when I use CAN-FD mode with PEAK CAN Viewer. However, when I try standard Classical CAN (non-FD), I do not receive any response.

I've attached my project for reference. Could someone kindly review it and let me know if there might be any missing configuration or setting that I’ve overlooked?

To summarize:

  • CAN-FD + PEAK CAN Viewer: Working as expected

  • Standard CAN + PEAK CAN Viewer: No response from the board

Any suggestions or guidance would be greatly appreciated.

Thank you in advance!

Best regards,
Ganesh Bhagwat

0 项奖励
回复
1 解答
497 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @GaneshBhagwat

Is the PCAN-View tool configured correctly for the mode, baud rate and sampling point? 

Is it possible to share what do you see on the bus? (By using a logic analyzer or oscilloscope) just to confirm if the frame is being sent correctly. Also, please elaborate on what "not working" implies; are you able to enter callback upon reception? Is it only transmissions you are having issues with?

I can see in your CANInit function, ID 0x80000 is being set for acceptance, confirm if this is also set in the CAN analyzer.

You can use this community post as guidance for CAN configuration: Example S32K358 FlexCAN TXRX ISR S32DS35 RTD400/500 - NXP Community.

Best regards,
Julián

在原帖中查看解决方案

0 项奖励
回复
2 回复数
498 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @GaneshBhagwat

Is the PCAN-View tool configured correctly for the mode, baud rate and sampling point? 

Is it possible to share what do you see on the bus? (By using a logic analyzer or oscilloscope) just to confirm if the frame is being sent correctly. Also, please elaborate on what "not working" implies; are you able to enter callback upon reception? Is it only transmissions you are having issues with?

I can see in your CANInit function, ID 0x80000 is being set for acceptance, confirm if this is also set in the CAN analyzer.

You can use this community post as guidance for CAN configuration: Example S32K358 FlexCAN TXRX ISR S32DS35 RTD400/500 - NXP Community.

Best regards,
Julián

0 项奖励
回复
437 次查看
GaneshBhagwat
Contributor IV

 

Hi Julián,

Thank you for your response.

I initially suspected a software configuration issue, which is why I posted here. However, it turned out to be a hardware-related problem with the TJA1443 transceiver connection. Due to a floating pin, I was unable to receive or transmit any CAN messages in normal CAN but I don't know why it was working in FD.

After resolving the hardware issue, everything is now working as expected.

Thanks again for taking the time to respond and for pointing me toward the helpful community post.

Best regards,
Ganesh