S32K344 flexCAN Stops Transmission When CAN Bus Loading Is High

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

S32K344 flexCAN Stops Transmission When CAN Bus Loading Is High

1,608 Views
kodyw
Contributor III

Hello,

We had made a S32K344 board and are developing the application using MATLAB Simulink with S32K3 MBDT tool V1.5. We encountered an issue that when the CAN bus loading is high, that CAN controller will randomly stop transmitting CAN messages.  Receiving CAN messages are working okay when transmitting is not working.

I searched the 'SW32K3_RTD_4.4_R21-11_3.0.0_D2303_ReleaseNotes.pdf' and found there is an issue ID: ARTD-55399 which is similar to the issue that we encountered.  However, that issue is found in S32K3 RTD 2.0.0 and MBTD Tool V1.5 is using S32D3 RTD 4.0.0.  

Is the issue fixed in S32D3 RTD 4.0.0? And what can we do to fix the stop transmitting CAN messages issue?  

Please help,

Kody

0 Kudos
Reply
2 Replies

1,295 Views
dragostoma
NXP Employee
NXP Employee

Hi, @kodyw,

Has the newer toolbox version that came with the new RTD package fixed the issue? Are you now able to perform CAN transmission correctly?

 

Best regards,

Dragos

0 Kudos
Reply

1,244 Views
kodyw
Contributor III

@dragostoma

Hi Dragos, 

We ended up to read register to determine if the MBs are full.  If they are full, we will stop calling CAN_Write block which will cause the CAN transmission hang up and no more CAN messages can be sent. 

Thank you,

Kody

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2116415%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32K344%20flexCAN%20Stops%20Transmission%20When%20CAN%20Bus%20Loading%20Is%20High%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2116415%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EWe%20had%20made%20a%20S32K344%20board%20and%20are%20developing%20the%20application%20using%20MATLAB%20Simulink%20with%20S32K3%20MBDT%20tool%20V1.5.%20We%20encountered%20an%20issue%20that%20when%20the%20CAN%20bus%20loading%20is%20high%2C%20that%20CAN%20controller%20will%20randomly%20stop%20transmitting%20CAN%20messages.%26nbsp%3B%20Receiving%20CAN%20messages%20are%20working%20okay%20when%20transmitting%20is%20not%20working.%3C%2FP%3E%3CP%3EI%20searched%20the%20'SW32K3_RTD_4.4_R21-11_3.0.0_D2303_ReleaseNotes.pdf'%20and%20found%20there%20is%20an%20issue%20ID%3A%20ARTD-55399%20which%20is%20similar%20to%20the%20issue%20that%20we%20encountered.%26nbsp%3B%20However%2C%20that%20issue%20is%20found%20in%20S32K3%20RTD%202.0.0%20and%20MBTD%20Tool%20V1.5%20is%20using%20S32D3%20RTD%204.0.0.%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20the%20issue%20fixed%20in%20S32D3%20RTD%204.0.0%3F%20And%20what%20can%20we%20do%20to%20fix%20the%20stop%20transmitting%20CAN%20messages%20issue%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20help%2C%3C%2FP%3E%3CP%3EKody%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2267747%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20flexCAN%20Stops%20Transmission%20When%20CAN%20Bus%20Loading%20Is%20High%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2267747%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F223992%22%20target%3D%22_blank%22%3E%40kodyw%3C%2FA%3E%2C%3C%2FP%3E%0A%3CP%3EHas%20the%20newer%20toolbox%20version%20that%20came%20with%20the%20new%20RTD%20package%20fixed%20the%20issue%3F%20Are%20you%20now%20able%20to%20perform%20CAN%20transmission%20correctly%3F%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EDragos%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2268457%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32K344%20flexCAN%20Stops%20Transmission%20When%20CAN%20Bus%20Loading%20Is%20High%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2268457%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F199423%22%20target%3D%22_blank%22%3E%40dragostoma%3C%2FA%3E%3C%2FP%3E%3CP%3EHi%20Dragos%2C%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20ended%20up%20to%20read%20register%20to%20determine%20if%20the%20MBs%20are%20full.%26nbsp%3B%20If%20they%20are%20full%2C%20we%20will%20stop%20calling%20CAN_Write%20block%20which%20will%20cause%20the%20CAN%20transmission%20hang%20up%20and%20no%20more%20CAN%20messages%20can%20be%20sent.%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%2C%3C%2FP%3E%3CP%3EKody%3C%2FP%3E%3C%2FLINGO-BODY%3E