LIN autocode generation provision through LDF/NPF Keil, TLE987x, ModusToolbox

Announcements

Webinar: Integrated solutions for smaller, simpler low-voltage motor control design.
Join the webinar to experience!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
AmolKoli
Level 4
Level 4
First solution authored 10 questions asked 50 sign-ins

We seek to use TLE987x eval board for BLDC control by LIN.

Primarily we will use the sample codes from Keil packs as base and then update the application as required.

Further when we update the application, we would  need to update the LDF and LIN configs.

In this regard, is there any provision to update the LDF/NPF using a IDE GUI and generate code.

specifically, how to generate new config.h .c for LIN when LDF is updated. (We do not find such feature in Keil as of now).

Edited : can the ModusToolbox software be used for TLE987x series for LIN configuration?

0 Likes
1 Solution
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi @AmolKoli,

I have checked internally but currently, we don't have the LDF tool. 

Thank you

Best Regards

Raj Chaudhari

View solution in original post

6 Replies
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi @AmolKoli ,

 

The TLE987x devices have a ConfigWizard for updating the device configuration in Keil IDE. For example, for LIN following configurations can be updated.

Raj_JC_0-1680763819201.png

 

This will generate the lin_defines.h file as follows.

Raj_JC_1-1680763819217.png

 

Could you please confirm if you are looking for the same for LDF?

Currently, the LIN code examples are developed using the Low-level library which doesn’t use the ConfigWizard-generated files. But after a few modifications the config wizard settings can be pushed to the registers and the LIN configuration will update accordingly.

Currently, ModusToolbox doesn’t support the development of the TLE987x devices.

 

Thank you

Best Regards

Raj Chaudhari

AmolKoli
Level 4
Level 4
First solution authored 10 questions asked 50 sign-ins

Thank you for your response @Raj_JC .

I was looking for a LDF GUI editor. where frames signals, nodes can be configure/updated.

A GUI based code config/auto code feature in the IDE.

Similar to Eclipse based IDE.

Is there any different TLE987x compatible IDE that serves the purpose?

0 Likes
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi @AmolKoli,

I have checked internally but currently, we don't have the LDF tool. 

Thank you

Best Regards

Raj Chaudhari

AmolKoli
Level 4
Level 4
First solution authored 10 questions asked 50 sign-ins

Thank you for your help @Raj_C ,

In addition I would like to know if there are application manuals/notes for TLE987x sample codes.

Specifically:

BLDC_BC_HALL_EXAMPLE_TLE987X
BLDC_BC_HALL_LIN_EXAMPLE_TLE987X
LIN_MASTER_EXAMPLE_TLE987X
LIN_SLAVE_EXAMPLE_TLE987X

0 Likes
Raj_C
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 50 likes received

Hi @AmolKoli,

Currently, there are no documents available for the above-mentioned code examples.

Best Regards

Raj Chaudhari

0 Likes
AmolKoli
Level 4
Level 4
First solution authored 10 questions asked 50 sign-ins

@Raj_C 

Noted.
It is difficult to understand  and update the sample codes without app note or manual.

Specifically the LIN sample codes need some understanding to be updated.