S32k144 not receive in Logic analyzer

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

S32k144 not receive in Logic analyzer

跳至解决方案
360 次查看
vinmotion
Contributor II

Hello engineers , im new to nxp and i dont know why every example CAN project for s32k144 when i test receive using logic analyzer it get all can error and cannot decode can id or data. hopefully you guys can test the code to check . Thanks a lot 

flexcan_ERROR_nxp.png

0 项奖励
回复
1 解答
313 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I used below PCAN setting

PetrS_0-1759844202880.png


BR, Petr

在原帖中查看解决方案

3 回复数
329 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tested your code on S32K144EVB-Q100 and with PCAN tool connected I see CAN FD message periodically received. Using a debugger no error is detected on FlexCAN module.

PetrS_0-1759832665208.png


In you case error frame is sent, I guess. You can check module MCR/ECR/ESR1 registers to see a state and error detected. If using S32K144EVB-Q100 as well on your side, be sure board is powered by 12V and SBC CAN transceiver is active.

BR, Petr



325 次查看
vinmotion
Contributor II

Thank you sir but im fresher from university and nxp is all new to me , can you please share or screen shot how config pcan view to receive above program .. .

0 项奖励
回复
314 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I used below PCAN setting

PetrS_0-1759844202880.png


BR, Petr