CAN Transmission

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CAN Transmission

Jump to solution
3,366 Views
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 Kudos
Reply
1 Solution
3,327 Views
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

View solution in original post

4 Replies
3,350 Views
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 Kudos
Reply
3,346 Views
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 Kudos
Reply
3,328 Views
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,357 Views
sarwath
Contributor IV

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

0 Kudos
Reply