Skip to main content
Associate II
March 26, 2025
Solved

Duplicated uwTimclock initialization code - STM32WBA - CubeMX 6.14.0

  • March 26, 2025
  • 2 replies
  • 612 views

When "Middleware and Software Packs" > STM32_WPAN is enabled in  CubeMX, a duplicated initialization's code for uwTimclock is generated:

mpc_0-1743026112445.png

That code is outside the if-else block overriding the previous configurations which could produce issues.

 

  • Any idea about what could be wrong?

 

Note: I attached the .ioc file.

Details:

  • CubeMX version: 6.14.0
  • File: stm32wbaxx_hal_timebase_tim.c
Best answer by STTwo-32

Hello @mpc and welcome to the ST Community.

I've been able to reproduce this behavior, and I've reported internally for correction on the Future (under internal ticket number 206323). Thank you so much for your contribution.

 

PS: this has been solved on the version 6.15.0 of the STM32CubeMX.

Best Regards.

STTwo-32

2 replies

STTwo-32
STTwo-32Best answer
Technical Moderator
March 27, 2025

Hello @mpc and welcome to the ST Community.

I've been able to reproduce this behavior, and I've reported internally for correction on the Future (under internal ticket number 206323). Thank you so much for your contribution.

 

PS: this has been solved on the version 6.15.0 of the STM32CubeMX.

Best Regards.

STTwo-32

mpcAuthor
Associate II
March 27, 2025

I will be pending of new releases versions. Thank you .