Skip to main content
lafa
Associate II
Feb 23, 2022 4:25 AM UTC
Solved

CubeMx 6.4.0 fails to generate STM32H750 HRTIM LL code.

CubeMx 6.4.0 fail to generate STM32H750 HRTIM LL code. There are java exception in generated file hrtim.c.

CubeMx project is enclosed.

This topic has been closed for replies.
Sara BEN HADJ YAHYA
ST Technical Moderator
Apr 20, 2022 8:00 AM UTC

Hello @lafa​ ,

I apologize for the late reply and thank you for having reported.

You are right, the HRTIM init in LL code is corrupted, it seems that this issue occurs only when  the "General peripheral initialization as a pair of .c/.h files per peripheral " parameter is checked. By unchecking it, the HRTIM init code generation will be correct in main.c.

I submitted an internal ticket to fix this issue, I will keep you posted.

Internal ticket number: 126646 (This is an internal tracking number and is not accessible or usable by customers).

If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.

2 replies

Sara BEN HADJ YAHYA
ST Technical Moderator
Apr 20, 2022 8:00 AM UTC

Hello @lafa​ ,

I apologize for the late reply and thank you for having reported.

You are right, the HRTIM init in LL code is corrupted, it seems that this issue occurs only when  the "General peripheral initialization as a pair of .c/.h files per peripheral " parameter is checked. By unchecking it, the HRTIM init code generation will be correct in main.c.

I submitted an internal ticket to fix this issue, I will keep you posted.

Internal ticket number: 126646 (This is an internal tracking number and is not accessible or usable by customers).

If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.
Sara BEN HADJ YAHYA
ST Technical Moderator
Nov 28, 2022 2:31 PM UTC

Hello @lafa​ ,

This issue is fixed in STM32CubeMX latest release.

V6.7.0 is now available under this Link.

Thanks for your contribution :smiling_face_with_smiling_eyes:

Sara.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.