Skip to main content
Associate II
Aug 4, 2024 2:05 AM UTC
Question

How to set STM32WBA52CEU6 peripheral working at clock > 32MHz with BLE working?

Even with the  settings below , but when you execute the Bluetooth initialization program MX_APPE_Init(NULL),You can observe that the targeted_clock_freq of debug will be reduced from the original SYS_PLL to HSE_16MHZ !? 

How to run the STM32WBA52CEU6 > 32Mhz while BLE working?

 

PLL1 Source Mux: HSE

HSEPRE: / 1

PLLM: / 4

PLLM *N: X25

AHB5 Prescaler: / 4

This topic has been closed for replies.

5 replies

STTwo-32
ST Technical Moderator
Aug 4, 2024 7:05 AM UTC

Hello @Gwo and welcome to the ST Community :smiling_face_with_smiling_eyes:.

Could you share your .ioc file. Are you looking to have an example that run on  Sysclk frequency >= 32 MHz. For that, follow this project.

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.
GwoAuthor
Associate II
Aug 6, 2024 1:26 AM UTC

Hi :

Thank for the info.,

No problem to work at Sysclk frequency> 32MHz without BLE enable ,

But the problem is  when execute the Bluetooth initialization program MX_APPE_Init(NULL),

the Sysclk frequency will be limited at 32MHz!?

Any project setting and program execution for BLE working and Sysclk frequency> 32MHz?

 

STTwo-32
ST Technical Moderator
Aug 6, 2024 8:56 AM UTC

To manage clocks configuration on WBA there is a dedicated SW module called SCM(System Clock Manager), you have a dedicated wiki page on that topic here: https://wiki.st.com/stm32mcu/wiki/Connectivity:STM32CubeWBA_System_Clock_Manager

Also, you can refer to the part 6 of the AN5289.

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.
GwoAuthor
Associate II
Aug 9, 2024 2:09 AM UTC

The application of STM32CubeWBA  Ble example code are all set Sysclk to 16MHz,

Is there any STM32WBA application Ble  example code with Sysclk setting to 64MHz or 100MHz ?

 

STTwo-32
ST Technical Moderator
Aug 28, 2024 4:15 PM UTC

Hello @Gwo 

Such example does not exist. You Need to follow the steps of the Application note and the Wiki and you will be able to do it.

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.