Skip to main content
Associate II
August 4, 2024
Question

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

  • August 4, 2024
  • 3 replies
  • 1220 views

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

3 replies

STTwo-32
Technical Moderator
August 4, 2024

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 

GwoAuthor
Associate II
August 6, 2024

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
Technical Moderator
August 6, 2024

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

GwoAuthor
Associate II
August 9, 2024

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
Technical Moderator
August 28, 2024

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