LLCE LIN interrupt

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

LLCE LIN interrupt

581 Views
pmboat
Contributor I

S32G3 has 4 LLCE lin channels, I configured Lin1 channel as slave and Lin0, 2, 3 as master.

I need to verify the slave's receive response function.

I have configured and enabled Lin1's interrupt in EB, the callback function is Lin_CmdFromLlceIsr, when I send a Lin message to Lin1, Lin1 does not enter the interrupt response, only when I enable Lin2 interrupt instead, it can enter the interrupt, Lin1 will give a response at this time, why is this happening?

PixPin_2025-08-27_10-08-37.pngPixPin_2025-08-27_10-10-07.png

0 Kudos
Reply
3 Replies

522 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @pmboat 

Thanks for your reply.

By default, The Lin LLCE firmware is running on the internal CORE 2, so that the LLCE_INT2 is used for LLCE LIN cases.

 

BR

Chenyin

0 Kudos
Reply

534 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @pmboat 

Thanks for your post.

1. Seems you are working with LLCE LIN? is it right?

2. Which version RTD/LLCE FW you are working with? 

 

BR

Chenyin

0 Kudos
Reply

529 Views
pmboat
Contributor I

Yes, thanks for the reply.
The packages I use are:

1. SW32G_RTD_4.4_5.0.0_QLP03

2. S32G_LLCE_1_0_10

The chip is s32g399a.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2158665%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELLCE%20LIN%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2158665%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3ES32G3%20has%204%20LLCE%20lin%20channels%2C%20I%20configured%20Lin1%20channel%20as%20slave%20and%20Lin0%2C%202%2C%203%20as%20master.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20need%20to%20verify%20the%20slave's%20receive%20response%20function.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20configured%20and%20enabled%20Lin1's%20interrupt%20in%20EB%2C%20the%20callback%20function%20is%20Lin_CmdFromLlceIsr%2C%20when%20I%20send%20a%20Lin%20message%20to%20Lin1%2C%20Lin1%20does%20not%20enter%20the%20interrupt%20response%2C%20only%20when%20I%20enable%20Lin2%20interrupt%20instead%2C%20it%20can%20enter%20the%20interrupt%2C%20Lin1%20will%20give%20a%20response%20at%20this%20time%2C%20why%20is%20this%20happening%3F%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PixPin_2025-08-27_10-08-37.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PixPin_2025-08-27_10-08-37.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F354203i68E8A91E887A669F%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PixPin_2025-08-27_10-08-37.png%22%20alt%3D%22PixPin_2025-08-27_10-08-37.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22PixPin_2025-08-27_10-10-07.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22PixPin_2025-08-27_10-10-07.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F354204iB7A094FF1F0AE80A%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22PixPin_2025-08-27_10-10-07.png%22%20alt%3D%22PixPin_2025-08-27_10-10-07.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159796%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LLCE%20LIN%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159796%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F254160%22%20target%3D%22_blank%22%3E%40pmboat%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20reply.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EBy%20default%2C%20The%20Lin%20LLCE%20firmware%20is%20running%20on%20the%20internal%20CORE%202%2C%20so%20that%20the%20LLCE_INT2%20is%20used%20for%20LLCE%20LIN%20cases.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EBR%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22fontstyle0%22%3EChenyin%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159626%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LLCE%20LIN%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159626%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CSPAN%3EYes%2C%20thanks%20for%20the%20reply.%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3EThe%20packages%20I%20use%20are%3A%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E1.%20SW32G_RTD_4.4_5.0.0_QLP03%3C%2FP%3E%3CP%3E2.%20S32G_LLCE_1_0_10%3C%2FP%3E%3CP%3EThe%20chip%20is%20s32g399a.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2159578%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20LLCE%20LIN%20interrupt%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2159578%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F254160%22%20target%3D%22_blank%22%3E%40pmboat%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post.%3C%2FP%3E%0A%3CP%3E1.%20Seems%20you%20are%20working%20with%20LLCE%20LIN%3F%20is%20it%20right%3F%3C%2FP%3E%0A%3CP%3E2.%20Which%20version%20RTD%2FLLCE%20FW%20you%20are%20working%20with%3F%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EChenyin%3C%2FP%3E%3C%2FLINGO-BODY%3E