RTD 5.0.0 Can LLCE

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

RTD 5.0.0 Can LLCE

2,564 Views
yanis-waabi
Contributor II

Hi,
We are trying to setup s32g3 eval board with CAN LLCE, the LLCE 1.0.9 doesn't seem to work out of the box with RTD 5.0.0.


Is there another driver available, also is it possible to use LLCE with MCAL driver and not Autosar.

Thank you in advance

Tags (3)
0 Kudos
Reply
6 Replies

2,552 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @yanis-waabi,

LLCE 1.0.9 (which is the latest version) was tested with RTD 4.0.2, therefore that is the officially supported version. For version RTD 5.0.0 this has not being officially tested and hence we do not have any document indicating if it is compatible or not. So I would recommend using version 4.0.2 for now. I apologize for the inconveniences. 

 

Best regards.

0 Kudos
Reply

2,537 Views
yanis-waabi
Contributor II

I'm trying to incorporate the LLCE example into another project.
But I'm getting this error

../RTD/src/Can_43_LLCE.c:62:10: fatal error: SchM_Can_43_LLCE.h: No such file or directory

Do you know what I need to change in my configuration to fix this issue ?

0 Kudos
Reply

2,512 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @yanis-waabi,

Please share the following information so I may be able to help you:

- can you confirm if you can find the file manually? in my setup it is in the following path:

C:\NXP\S32DS.3.5\S32DS\software\PlatformSDK_S32XX_4_0_0\RTD\Rte_TS_T40D11M40I2R0\include\

Please note that the path may change depending on your S32DS version and installation directory.

 - Please let me know if you have successfully build CAN LLCE examples in the past.

 - Please share your S32DS peripheral view, it should look something like the following:

alejandro_e_0-1737789671441.png

 - Please also share the exact steps you are performing to build the project.

 

Thanks in advance for the information.

 

0 Kudos
Reply

2,438 Views
yanis-waabi
Contributor II

Hi,
I'm using DS 3.6.0 with LLCE 1.0.9 and RTD 5.0.0

My peripheral view is the same as the one you provided.
The file exists under  C:\NXP\S32DS.3.6.0\S32DS\software\PlatformSDK_S32XX_4_0_0\RTD\Rte_TS_T40D11M50I0R0\include
If I manually copy it initially it doesn't get included like the other files.

Another issue I encountered is that I had to modify the linker script by adding this

    .llce_can_sharedmemory (NOLOAD) :
    {
        /* ------------------------------------   can_43_llce_sharedmemory sections ------------------------------------ */
        . = ALIGN(0x4);
        *(.llce_can_sharedmemory)
    } > LLCE_CAN_SHAREDMEMORY

 
Now the project is compiling

0 Kudos
Reply

2,424 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @yanis-waabi,

did you update the code (with the code generation tool) after adding the LLCE module into the peripherals? The file with me is automatically created after updating the code in the following path:

alejandro_e_0-1738099809251.png

Given that after you copied the file it worked correctly, we can discard problems with your include path.

 

About the Linker, after checking the examples, there are some other reserved memory regions you may need:

.llce_boot_end (NOLOAD) :
    {
        /* ------------------------------------   llce_boot_end sections ------------------------------------ */
        . = ALIGN(0x4);
        *(.llce_boot_end)
    } > LLCE_BOOT_END

    .can_43_llce_sharedmemory (NOLOAD) :
    {
        /* ------------------------------------   can_43_llce_sharedmemory sections ------------------------------------ */
        . = ALIGN(0x4);
        *(.can_43_llce_sharedmemory)
    } > LLCE_CAN_SHAREDMEMORY

    .lin_43_llce_sharedmemory (NOLOAD) :
    {
        /* ------------------------------------   lin_43_llce_sharedmemory sections ------------------------------------ */
        . = ALIGN(0x4);
        *(.lin_43_llce_sharedmemory)
    } > LLCE_LIN_SHAREDMEMORY

    .llce_meas_sharedmemory (NOLOAD) :
    {
        /* ------------------------------------   llce_meas_sharedmemory sections ------------------------------------ */
        . = ALIGN(0x4);
        *(.llce_meas_sharedmemory)
    } > LLCE_MEAS_SHAREDMEMORY

 

Please check example Can_Llce_DS_Loopback_S32G274A_M7.

 

Let me know if this information was useful for your problem.

 

 

0 Kudos
Reply

2,487 Views
alejandro_e
NXP TechSupport
NXP TechSupport

Hello @yanis-waabi,

I have received updates related to you questions. The LLCE 1.0.9 has being officially tested with RTD 5.0.0. , you can check said information in the S32G Software Offering, please check table Integrated Software Bundle 2024.11. Please not this is a secure file, for which you will need to get access, for this please contact your FAE or NXP representative.

Sorry for the misinformation I shared before.

 

Best regards

 

0 Kudos
Reply