S32G274 LLCE CAN Loopback

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

S32G274 LLCE CAN Loopback

Jump to solution
560 Views
JunSeoHan
Contributor I

I would like to use LLCE CAN functionality.

First, I opened the example project Can_LLCE_DS_Loopback_S32G274A_M7 and ran “Update Code” using the configuration tool (.MEX file). However, a large number of errors occurred, as shown in the attached screenshot.

configuration_clock_error.PNGconfiguration_peripheral_error.PNGconfiguration_peripherals_MCU.png

I have a few questions regarding this:

  1. In the Clock configuration, is it acceptable to power down certain parts without affecting the operation of the LLCE example code?
  2. In the peripheral configuration (RM_1), the example code uses Software Major Version = 4 and Software Patch Version = 2, while in my environment they appear to be 5 and 0. Is it safe to modify these values?
  3. What is Mcu Scmi Platform Support?
    It is not enabled in the example code, but in my case, enabling it removes some configuration errors.
  4. If the above changes are not critical, I can eliminate the configuration tool errors by modifying these settings. However, the LLCE CAN initialization still fails.

Specifically:

  • In Can_43_LLCE_Init, the driver status remains CAN_43_LLCE_UNINIT.
  • Inside the internal function Can_Llce_ExecuteIfCommand,
    Can_SharedMemory.aCanCmd[0].eCmdId is LLCE_CAN_CMD_INIT_PLATFORM, and
    Can_SharedMemory.aCanCmd[0].eReturnValue is LLCE_FW_NOTRUN.

Could you please help identify what might be causing this issue and how to resolve it?

 

0 Kudos
Reply
1 Solution
526 Views
Joey_z
NXP Employee
NXP Employee

hi,JunSeoHan

Thank you for your reply.

Refer to the Release Note, if you use the LLCE version of 1.0.11, you should use the RTD version of S32G RTD (Real Time Drivers) SW32_RTD_5.0.0 QLP03 and the S32DS IDE version of 3.5.13.

Joey_z_0-1775728362734.png

BR

Joey

View solution in original post

4 Replies
539 Views
Joey_z
NXP Employee
NXP Employee

Hi,JunSeoHan

Thank you for contacting us.

Could you tell me more information?

Which version of RTD/S32DS IDE are you using?

Which version of LLCE are you using?

BR

Joey

0 Kudos
Reply
534 Views
JunSeoHan
Contributor I
I am using S32DS version 3.6.6, Real-Time Drivers AUTOSAR 4.4 Version is 5.0.0 and LLCE Version is 1.0.11
0 Kudos
Reply
536 Views
JunSeoHan
Contributor I

I am using S32DS version 3.6.6, Real-Time Drivers AUTOSAR 4.4 Version is 5.0.0 and LLCE Version is 1.0.11

JunSeoHan_0-1775727553603.png

JunSeoHan_1-1775727575186.png

 

 

0 Kudos
Reply
527 Views
Joey_z
NXP Employee
NXP Employee

hi,JunSeoHan

Thank you for your reply.

Refer to the Release Note, if you use the LLCE version of 1.0.11, you should use the RTD version of S32G RTD (Real Time Drivers) SW32_RTD_5.0.0 QLP03 and the S32DS IDE version of 3.5.13.

Joey_z_0-1775728362734.png

BR

Joey

%3CLINGO-SUB%20id%3D%22lingo-sub-2348029%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32G274%20LLCE%20CAN%20Loopback%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2348029%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20would%20like%20to%20use%20LLCE%20CAN%20functionality.%3C%2FP%3E%3CP%3EFirst%2C%20I%20opened%20the%20example%20project%20%3CSTRONG%3ECan_LLCE_DS_Loopback_S32G274A_M7%3C%2FSTRONG%3E%20and%20ran%20%3CSTRONG%3E%E2%80%9CUpdate%20Code%E2%80%9D%3C%2FSTRONG%3E%20using%20the%20configuration%20tool%20(.MEX%20file).%20However%2C%20a%20large%20number%20of%20errors%20occurred%2C%20as%20shown%20in%20the%20attached%20screenshot.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22configuration_clock_error.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22configuration_clock_error.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381721i11BA944E5943FD32%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22configuration_clock_error.PNG%22%20alt%3D%22configuration_clock_error.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%22configuration_peripheral_error.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22configuration_peripheral_error.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381722i690B2EB3AD6F91D0%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22configuration_peripheral_error.PNG%22%20alt%3D%22configuration_peripheral_error.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%22configuration_peripherals_MCU.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22configuration_peripherals_MCU.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381723i7395488086C5264E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22configuration_peripherals_MCU.png%22%20alt%3D%22configuration_peripherals_MCU.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20have%20a%20few%20questions%20regarding%20this%3A%3C%2FP%3E%3COL%3E%3CLI%3EIn%20the%20Clock%20configuration%2C%20is%20it%20acceptable%20to%20power%20down%20certain%20parts%20without%20affecting%20the%20operation%20of%20the%20LLCE%20example%20code%3F%3C%2FLI%3E%3CLI%3EIn%20the%20peripheral%20configuration%20(RM_1)%2C%20the%20example%20code%20uses%20%3CSTRONG%3ESoftware%20Major%20Version%20%3D%204%3C%2FSTRONG%3E%20and%20%3CSTRONG%3ESoftware%20Patch%20Version%20%3D%202%3C%2FSTRONG%3E%2C%20while%20in%20my%20environment%20they%20appear%20to%20be%20%3CSTRONG%3E5%3C%2FSTRONG%3E%20and%20%3CSTRONG%3E0%3C%2FSTRONG%3E.%20Is%20it%20safe%20to%20modify%20these%20values%3F%3C%2FLI%3E%3CLI%3EWhat%20is%20%3CSTRONG%3EMcu%20Scmi%20Platform%20Support%3C%2FSTRONG%3E%3F%3CBR%20%2F%3EIt%20is%20not%20enabled%20in%20the%20example%20code%2C%20but%20in%20my%20case%2C%20enabling%20it%20removes%20some%20configuration%20errors.%3C%2FLI%3E%3CLI%3EIf%20the%20above%20changes%20are%20not%20critical%2C%20I%20can%20eliminate%20the%20configuration%20tool%20errors%20by%20modifying%20these%20settings.%20However%2C%20the%20LLCE%20CAN%20initialization%20still%20fails.%3C%2FLI%3E%3C%2FOL%3E%3CP%3ESpecifically%3A%3C%2FP%3E%3CUL%3E%3CLI%3EIn%20%3CEM%3ECan_43_LLCE_Init%3C%2FEM%3E%2C%20the%20driver%20status%20remains%20%3CSTRONG%3ECAN_43_LLCE_UNINIT%3C%2FSTRONG%3E.%3C%2FLI%3E%3CLI%3EInside%20the%20internal%20function%20%3CEM%3ECan_Llce_ExecuteIfCommand%3C%2FEM%3E%2C%3CBR%20%2F%3ECan_SharedMemory.aCanCmd%5B0%5D.eCmdId%20is%20%3CSTRONG%3ELLCE_CAN_CMD_INIT_PLATFORM%3C%2FSTRONG%3E%2C%20and%3CBR%20%2F%3ECan_SharedMemory.aCanCmd%5B0%5D.eReturnValue%20is%20%3CSTRONG%3ELLCE_FW_NOTRUN%3C%2FSTRONG%3E.%3C%2FLI%3E%3C%2FUL%3E%3CP%3ECould%20you%20please%20help%20identify%20what%20might%20be%20causing%20this%20issue%20and%20how%20to%20resolve%20it%3F%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2348234%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G274%20LLCE%20CAN%20Loopback%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2348234%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%2C%3CSPAN%20class%3D%22UserName%20lia-user-name%20lia-user-rank-Contributor-I%20lia-component-message-view-widget-author-username%22%3E%3CA%20id%3D%22link_6%22%20class%3D%22lia-link-navigation%20lia-page-link%20lia-user-name-link%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F185919%22%20aria-label%3D%22View%20Profile%20of%20JunSeoHan%22%20target%3D%22_blank%22%3E%3CSPAN%20class%3D%22%22%3EJunSeoHan%3C%2FSPAN%3E%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20your%20reply.%3C%2FP%3E%0A%3CP%3ERefer%20to%20the%20Release%20Note%2C%20if%20you%20use%20the%20LLCE%20version%20of%201.0.11%2C%20you%20should%20use%20the%20RTD%20version%20of%26nbsp%3BS32G%20RTD%20(Real%20Time%20Drivers)%20SW32_RTD_5.0.0%20QLP03%20and%20the%20S32DS%20IDE%20version%20of%203.5.13.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Joey_z_0-1775728362734.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Joey_z_0-1775728362734.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381745i376346BB5C80A7A2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Joey_z_0-1775728362734.png%22%20alt%3D%22Joey_z_0-1775728362734.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EJoey%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2348230%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G274%20LLCE%20CAN%20Loopback%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2348230%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI%20am%20using%20S32DS%20version%203.6.6%2C%20Real-Time%20Drivers%20AUTOSAR%204.4%20Version%20is%205.0.0%20and%20LLCE%20Version%20is%201.0.11%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2348211%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G274%20LLCE%20CAN%20Loopback%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2348211%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20using%20S32DS%20version%203.6.6%2C%20Real-Time%20Drivers%20AUTOSAR%204.4%20Version%20is%205.0.0%20and%20LLCE%20Version%20is%201.0.11%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JunSeoHan_0-1775727553603.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JunSeoHan_0-1775727553603.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381741i1C51543D8EA35775%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JunSeoHan_0-1775727553603.png%22%20alt%3D%22JunSeoHan_0-1775727553603.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JunSeoHan_1-1775727575186.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22JunSeoHan_1-1775727575186.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F381742i9E526A6E45725AA7%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22JunSeoHan_1-1775727575186.png%22%20alt%3D%22JunSeoHan_1-1775727575186.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2348124%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32G274%20LLCE%20CAN%20Loopback%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2348124%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3CSPAN%3EJunSeoHan%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThank%20you%20for%20contacting%20us.%3C%2FP%3E%0A%3CP%3ECould%20you%20tell%20me%20more%20information%3F%3C%2FP%3E%0A%3CP%3EWhich%20version%20of%20RTD%2FS32DS%20IDE%20are%20you%20using%3F%3C%2FP%3E%0A%3CP%3EWhich%20version%20of%20LLCE%20are%20you%20using%3F%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EJoey%3C%2FP%3E%3C%2FLINGO-BODY%3E