2024-08-03 07:05 PM
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
2024-08-04 12:05 AM - edited 2024-08-04 12:08 AM
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.
2024-08-05 06:26 PM
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?
2024-08-06 01:56 AM
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.
2024-08-08 07:09 PM
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 ?
2024-08-28 09:15 AM
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.