cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WBA54KGU6 - SMPS code generated...

agnes
Associate II

Hi Champs,

one of my customers develop on STM32WBA54KGU6. This SoC does not come with SMPS.

Although he selects the righ reference (STM32WBA54KGU6) for code generation, SMPS seems to be used by default - he has to comment the line out form generated code to build properly.

he uses the latest dev tool versions :

  • IDE : STM32CubeIDE V1.19.0
  • Firmware  STM32CubeWBA : V1.7.0

is it a known issue?

please note that it is not a blocking point but it still requires a post code generation control from his side to comment out the generated SMPS statement in the generated code.

Warm regards, Agnès

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello All,

Thank you for having reported this issue

I escalated this request internally for fix (ticket number: 219199)
(PS: ticket number: 219199 is an internal tracking number and not available outside of ST)

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

7 REPLIES 7
STTwo-32
ST Employee

Salut @agnes 

Could you please attach the .ioc file of your customer (or send it as a privet message). There is not a known issue about SMPS code generation for the STM32WBA54.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

agnes
Associate II

hello ,

here  attached you might find the .ioc files + the whole project in case you need.

Warm regards,

Agnès

Hello @agnes 

According to the .ioc file it seems to select the PWR_SMPS_SUPPLY as RCC supply source. I think ST should solve this problem. Since the STM32WBA54 family is a LDO MCU without SMPS support. @STTwo-32 @Imen.D could you please check and report this.

Best Regards.

STTwo-32

Imen.D
ST Employee

Hello All,

Thank you for having reported this issue

I escalated this request internally for fix (ticket number: 219199)
(PS: ticket number: 219199 is an internal tracking number and not available outside of ST)

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Kearawill1122
Associate

It seems this is a known behavior with STM32CubeIDE code generation for STM32WBA54 devices. You may want to this related discussion for more details and possible workarounds: 

https://community.st.com/t5/stm32-mcus/visit-stm32cubeide-smps-configuration-issue/td-p/832475

Hi @agnes 

The issue is reproduced with your ioc file, and I think that your IOC file may be corrupted.

When creating a new IOC file from scratch and enabling the same IPs, the generated code was correct and did not exhibit the issue.

Could you please check if the issue occurs with the attached ioc file?
If you have a specific scenario or additional steps that we can follow to reproduce the issue, please share them here.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Imen.D
ST Employee

Hello @agnes ,

Were you able to resolve the issue with my attached ioc file?

Do you agree with my assessment, or is there anything you would like to add?

I will wait for your feedback.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen