develop the send/receive function of the CAN of s32k358

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

develop the send/receive function of the CAN of s32k358

ソリューションへジャンプ
1,864件の閲覧回数
xiaojinlong
Contributor I

Hi,

     When I was developing the send/receive function of the CAN of s32k358, I referred to the NXP official routine FlexCAN_Ip_Example_S32K358, and used Normal mode or user mode instead of loop-back mode in the FlexCAN of the configuration tool, and the MCU side sent a message once and then didn't send the message again. After sending a message from the MCU, no more message is sent, but the CAN analyzer tool on the pc keeps getting garbled messages, can you help me to analyze it? Can you help me to analyze it? My code is as follows.

0 件の賞賛
返信
1 解決策
1,837件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@xiaojinlong

please double check if the CAN tranceiver need to be configured fisrtly in your board.

here is some demo code for your reference.

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test...

 

元の投稿で解決策を見る

タグ(1)
0 件の賞賛
返信
1 返信
1,838件の閲覧回数
Senlent
NXP TechSupport
NXP TechSupport

Hi@xiaojinlong

please double check if the CAN tranceiver need to be configured fisrtly in your board.

here is some demo code for your reference.

https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test...

 

タグ(1)
0 件の賞賛
返信