cancel
Showing results for 
Search instead for 
Did you mean: 

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

Gwo
Associate II

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

5 REPLIES 5
STTwo-32
ST Employee

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.

Gwo
Associate II

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?

 

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.

Gwo
Associate II

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 ?

 

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.