Why S32K3 cannot receive data?

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

Why S32K3 cannot receive data?

Jump to solution
925 Views
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 Kudos
Reply
1 Solution
901 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
902 Views
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 Kudos
Reply
895 Views
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 Kudos
Reply