Why S32K3 cannot receive data?

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

Why S32K3 cannot receive data?

ソリューションへジャンプ
599件の閲覧回数
jingfang
Contributor IV

I use CAN Tool send data to demo board in s32k344.

but the message show data is "0"&datalen is "0"?

What could be the problem?

捕获.JPG

0 件の賞賛
1 解決策
575件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there could be many reasons. Be sure module is in normal mode, CAN pins properly initialized and CAN transceiver is active. Did you prepare MB to receive the ID you sent from CAN tool?
You can refer to below example that shows RTD usage
https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test...

BR, Petr

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
576件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

there could be many reasons. Be sure module is in normal mode, CAN pins properly initialized and CAN transceiver is active. Did you prepare MB to receive the ID you sent from CAN tool?
You can refer to below example that shows RTD usage
https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K344-FlexCAN-Ip-TX-RX-EnhanceRXFIFO-test...

BR, Petr

0 件の賞賛
569件の閲覧回数
jingfang
Contributor IV

Thank you for your feedback. I test your code ,it is ok.

I want copy your mex,but show “Invalid thread access”.

Maybe the files written by the configuration tool was locked on the file system.

How do I unlock it?

捕获.JPG

0 件の賞賛