Eth_43_GMAC on S32K344

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

Eth_43_GMAC on S32K344

Jump to solution
1,830 Views
won0020
Contributor III

Hello,
I use S32K3-T-BOX, MCAL RTD 2.0.0 22_03, Eth_InternalLoopback example and PE micro multilink.

I added configuration for all necessary pins according to SCH-50735.pdf and disable Loopback mode. I also added a loop with a delay for cyclic Eth_transmit and flashing the U37 LED to check the run.

After Debug_FLASH everything works as expected and the T-BOX sends ethernet message cyclically, the problem occurs after turning the T-BOX off and on. LED U37 flashes to indicate software is running, but the Ethernet message is not being sent. It occurs to me that the multilink is doing some initialization that doesn't happen after the device is restarted, but I don't know how to solve this problem.

If anyone has a solution, I would appreciate any advice.

Regards
won0020

0 Kudos
Reply
1 Solution
1,795 Views
PavelL
NXP Employee
NXP Employee

Hi @won0020 ,

have you programmed both FLASHs - S32k3 and Flash attached to SJA1110?

You also start with the lwip demo - please refer to S32K3 Automotive Telematics Box (T-Box) lwIP Example Guide Training Presentation - refer to slide 15 where small workarounds are described.

Best regards,

Pavel

View solution in original post

4 Replies
1,818 Views
PavelL
NXP Employee
NXP Employee

Hi @won0020 ,

Jumper S1 needs to be set to OFF to enable NVM boot for SJA1110.

Best regards,

Pavel

0 Kudos
Reply
1,805 Views
won0020
Contributor III
Hi,
S1 is off, LED U36 also flashes green.
0 Kudos
Reply
1,796 Views
PavelL
NXP Employee
NXP Employee

Hi @won0020 ,

have you programmed both FLASHs - S32k3 and Flash attached to SJA1110?

You also start with the lwip demo - please refer to S32K3 Automotive Telematics Box (T-Box) lwIP Example Guide Training Presentation - refer to slide 15 where small workarounds are described.

Best regards,

Pavel

1,777 Views
won0020
Contributor III
Thank you very much, osif delay solved my problem.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1977964%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EEth_43_GMAC%20on%20S32K344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1977964%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EI%20use%20S32K3-T-BOX%2C%20MCAL%20RTD%202.0.0%2022_03%2C%20Eth_InternalLoopback%20example%20and%20PE%20micro%20multilink.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20added%20configuration%20for%20all%20necessary%20pins%20according%20to%20SCH-50735.pdf%20and%20disable%20Loopback%20mode.%20I%20also%20added%20a%20loop%20with%20a%20delay%20for%20cyclic%20Eth_transmit%20and%20flashing%20the%20U37%20LED%20to%20check%20the%20run.%3CBR%20%2F%3E%3CBR%20%2F%3EAfter%20Debug_FLASH%20everything%20works%20as%20expected%20and%20the%20T-BOX%20sends%20ethernet%20message%20cyclically%2C%20the%20problem%20occurs%20after%20turning%20the%20T-BOX%20off%20and%20on.%20LED%20U37%20flashes%20to%20indicate%20software%20is%20running%2C%20but%20the%20Ethernet%20message%20is%20not%20being%20sent.%20It%20occurs%20to%20me%20that%20the%20multilink%20is%20doing%20some%20initialization%20that%20doesn't%20happen%20after%20the%20device%20is%20restarted%2C%20but%20I%20don't%20know%20how%20to%20solve%20this%20problem.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20anyone%20has%20a%20solution%2C%20I%20would%20appreciate%20any%20advice.%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%3CBR%20%2F%3Ewon0020%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1978395%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Eth_43_GMAC%20on%20S32K344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1978395%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThank%20you%20very%20much%2C%20osif%20delay%20solved%20my%20problem.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1978302%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Eth_43_GMAC%20on%20S32K344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1978302%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F207195%22%20target%3D%22_blank%22%3E%40won0020%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3Ehave%20you%20programmed%20both%20FLASHs%20-%20S32k3%20and%20Flash%20attached%20to%20SJA1110%3F%3C%2FP%3E%0A%3CP%3EYou%20also%20start%20with%20the%20lwip%20demo%20-%20please%20refer%20to%26nbsp%3B%3CA%20id%3D%22relatedDocsClickPDF_3%22%20class%3D%22dtmcustomrulelink%22%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DTP-S32K3-T-BOX-LWIP-GUIDE%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%20data-dtmaction%3D%22Documentation%20Section%20-%20Results%20Link%20Click%22%20data-dtmsubaction%3D%22S32K3%20Automotive%20Telematics%20Box%20(T-Box)%20lwIP%20Example%20Guide%20%20Training%20Presentation%20-%20NXP%20-%20Training%20Presentation%20-%20English%22%3E%3CSPAN%3ES32K3%20Automotive%20Telematics%20Box%20(T-Box)%20lwIP%20Example%20Guide%20Training%20Presentation%3C%2FSPAN%3E%3C%2FA%3E%26nbsp%3B-%20refer%20to%20slide%2015%20where%20small%20workarounds%20are%20described.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1978280%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Eth_43_GMAC%20on%20S32K344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1978280%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%2C%3CBR%20%2F%3ES1%20is%20off%2C%20LED%20U36%20also%20flashes%20green.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1978193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Eth_43_GMAC%20on%20S32K344%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1978193%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F207195%22%20target%3D%22_blank%22%3E%40won0020%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EJumper%20S1%20needs%20to%20be%20set%20to%20OFF%20to%20enable%20NVM%20boot%20for%20SJA1110.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPavel%3C%2FP%3E%3C%2FLINGO-BODY%3E