S32k118 Debugging and CAN Transmission Error Inquiry

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

S32k118 Debugging and CAN Transmission Error Inquiry

591 次查看
Juns
Contributor I

hello, 

I'm a newbie studying about s32k.

I am facing two inquiries. Please refer to the information below

 

1. When conducting CAN communication using the FLEXCAN component, an error such as a photo occurs in the Vector. Please let me know what to do about this part.

Juns_0-1731551403481.png

Juns_2-1731551551499.png

Juns_3-1731551564869.png

I want to use SPI and SBC to do CAN communication, what should I do?

 

 

2. During debugging, if I click the debugging Resum button by writing the expressions value with the variable name as shown in the picture below, an error occurs, how do I handle it?

Juns_1-1731551529855.png

 

 

 

0 项奖励
回复
1 回复

550 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

1) se sure board is powered by 12V so SBC and its CAN transceiver is active. Also be sure SBC is in Forced Normal Mode operation (default mode). If not must be configured via SPI, or put back to default mode.

2) Expression window does not show variables if code is running, once you stop code variables are updated.

BR, Petr

0 项奖励
回复