CAN Transmission

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

CAN Transmission

跳至解决方案
2,398 次查看
sarwath
Contributor IV

Hello Community,

I am trying to send data through can0 bus.

My motto is to verify whether the can module is working or not.

I sent data and verifying through PCAN View. In PCAN View I got PASSIVE error during receiving the data. 

I have attached my project and SS, Please have a look and help me to solve the issue.

 

BR,

Sarwath

 

0 项奖励
1 解答
2,359 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tried your code on EVB and it was working, message was received on CAN tool.
some example is e.g. in https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-FlexCAN-TX-RX-Error-ISR-test-S32DS2...

BR, Petr

在原帖中查看解决方案

4 回复数
2,382 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

most probably you have wrong CAN bit timing. Check if CAN tool use the same setting as your device.

BR, Petr 

0 项奖励
2,378 次查看
sarwath
Contributor IV

Hello @PetrS,

I am attaching my settings for your reference.

Any issues in my code to transmit the data. If you have any example for send and receive please share it with me.

sarwath_0-1672925160108.png

sarwath_1-1672925191079.png

BR,

Sarwath

 

0 项奖励
2,360 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I tried your code on EVB and it was working, message was received on CAN tool.
some example is e.g. in https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K144-FlexCAN-TX-RX-Error-ISR-test-S32DS2...

BR, Petr

2,389 次查看
sarwath
Contributor IV

I want to send and receive the data through CAN bus.

0 项奖励