s32k344 can

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

s32k344 can

515 Views
qicbeng
Contributor I

Hello, I am using the s32k344 motor driver code and have several prototypes. I found that one of the CAN machines will go offline after running for a period of time, and both sending and receiving will be abnormal. I turned on offline reply and found that the message will lose frames for 200ms. I exchanged CAN transceivers, but the same phenomenon still exists. I have read the errata manual, is it the chip itself that has this bug    E:\S32K344_48V_EAC\MCSPTE1AK344_PMSM_FOC_2Sh_ll

Tags (1)
0 Kudos
Reply
1 Reply

433 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@qicbeng

The example code "MCSPTE1AK344_PMSM_FOC_2Sh_ll" does not provide FLEXCAN functionality; you must have added CAN-related functionality yourself.

Please provide your CAN test project so I can check if your configuration is correct.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2366394%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Es32k344%20%20can%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366394%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%20I%20am%20using%20the%20s32k344%20motor%20driver%20code%20and%20have%20several%20prototypes.%20I%20found%20that%20one%20of%20the%20CAN%20machines%20will%20go%20offline%20after%20running%20for%20a%20period%20of%20time%2C%20and%20both%20sending%20and%20receiving%20will%20be%20abnormal.%20I%20turned%20on%20offline%20reply%20and%20found%20that%20the%20message%20will%20lose%20frames%20for%20200ms.%20I%20exchanged%20CAN%20transceivers%2C%20but%20the%20same%20phenomenon%20still%20exists.%20I%20have%20read%20the%20errata%20manual%2C%20is%20it%20the%20chip%20itself%20that%20has%20this%20bug%26nbsp%3B%20%26nbsp%3B%26nbsp%3BE%3A%5CS32K344_48V_EAC%5CMCSPTE1AK344_PMSM_FOC_2Sh_ll%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2366642%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20s32k344%20%20can%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2366642%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%40%3CSPAN%3Eqicbeng%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20example%20code%20%22MCSPTE1AK344_PMSM_FOC_2Sh_ll%22%20does%20not%20provide%20FLEXCAN%20functionality%3B%20you%20must%20have%20added%20CAN-related%20functionality%20yourself.%3C%2FP%3E%0A%3CP%3EPlease%20provide%20your%20CAN%20test%20project%20so%20I%20can%20check%20if%20your%20configuration%20is%20correct.%3C%2FP%3E%3C%2FLINGO-BODY%3E