s32k142 CAN Rx Not working

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

s32k142 CAN Rx Not working

731 次查看
bhushangs101
Contributor I
IN S32k142 RDB FOC Motor Control Example , We are using CAN0 port with PTE4 and PTE5 , we have made the necessary changes attaching the screen shot for your reference.
bhushangs101_0-1710303520836.png

 

bhushangs101_1-1710303520839.png
Currently we are able to debug the code with changing the #define  CONTROL_COMMAND to CAN_CONTROL , We are receiving the CAN data from 0x371 on BusMaster as you can see this in Screenshot but when we are sending the data to 0x370 id  we are not able to receive the data on the MCU debug window , I have set a break point at CAN_RXComplete Flag but the flag status is unchanged , Attaching the image for your reference 
bhushangs101_2-1710303612648.png

 

 
let me know how we can debug CAN and if you have any suggestions on the same.
0 项奖励
回复
1 回复

710 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

please contact author directly as mentioned in the kit's thread
https://community.nxp.com/t5/S32K-Knowledge-Base/Automotive-Electrical-E-compressor-Aircon-RDB-based...

BR, Petr

0 项奖励
回复