Re: LIN stack configuration file generation

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

Re: LIN stack configuration file generation

Jump to solution
494 Views
SarMol
Contributor II

Hey @mayliu1,

Thank you for the quick response. 

I integrated the MCUX SDK LIN stack into Zephyr OS and I am testing it now on a S32K344-wb board, but I want to change the cfg files and I was wondering if there is a method through which I can automatically generate them from a .ldf file.

0 Kudos
Reply
1 Solution
429 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@SarMol

I consulted an engineer who is familiar with MCUX.

The IDE does not support importing LDF files to generate these configuration and driver files. To put it simply, they are handwritten.

 

 

View solution in original post

0 Kudos
Reply
4 Replies
478 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@SarMol

Why do you use MCUX instead of S32 DS when using S32K3 series MCU?

Can't these things you said be done with S32 DS?

After installing S32 DS and RTD, find the corresponding version of LIN STANCK, import your LDF file, and generate the configuration file.

These practices can be done with S32 DS.

0 Kudos
Reply
439 Views
SarMol
Contributor II

Hello @Senlent,

I am working with Zephyr and the only way (that I have found) to integrate the LIN stack into the OS is to use the MCUX version. This requires the lin_cfg.c/.h files and I took them from the demos that were present in the MCUX demo repository and modified them by hand just to see if my integration was successful, though I would like to have an automated method to generate them. I tried to generate them from S32DS, but the lin_stack_cfg.c/.h files were not compatible with what the MCUX version expected.

My question now is where did the lin_cfg.c/.h files from the demos come from? Were they written by hand or is there a tool capable of generating configuration files compatible with what the MCUX SDK LIN stack expects?

0 Kudos
Reply
430 Views
Senlent
NXP TechSupport
NXP TechSupport

Hi@SarMol

I consulted an engineer who is familiar with MCUX.

The IDE does not support importing LDF files to generate these configuration and driver files. To put it simply, they are handwritten.

 

 

0 Kudos
Reply
425 Views
SarMol
Contributor II
Ok, thank you very much!
0 Kudos
Reply