CAN Transmission

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,360件の閲覧回数
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,321件の閲覧回数
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,344件の閲覧回数
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,340件の閲覧回数
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,322件の閲覧回数
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,351件の閲覧回数
sarwath
Contributor IV

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

0 件の賞賛
返信