Skip to main content
lafa
Associate II
February 23, 2022
Solved

CubeMx 6.4.0 fails to generate STM32H750 HRTIM LL code.

  • February 23, 2022
  • 2 replies
  • 1002 views

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.
Best answer by Sara BEN HADJ YAHYA

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.

2 replies

Sara BEN HADJ YAHYA
Technical Moderator
April 20, 2022

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
Technical Moderator
November 28, 2022

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.