CAN Transmission

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

CAN Transmission

跳至解决方案
3,358 次查看
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 解答
3,319 次查看
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 回复数
3,342 次查看
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 项奖励
回复
3,338 次查看
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 项奖励
回复
3,320 次查看
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

3,349 次查看
sarwath
Contributor IV

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

0 项奖励
回复