Skip to main content
Associate III
April 27, 2024
Solved

BLE Stack modify the RCC configuration

  • April 27, 2024
  • 1 reply
  • 1032 views

HI,

     I am developing my ble audio project with STM32WBA55G-DK1. I need use SAI interface as audio input interface. I have an annoying problem. I configure RCC before init ble stack. I choose use pll1rclk as system clock. But i call the BleStack_Init function to init ble stack which provide by ST, the register of  RCC_CFGR1 changed from 0xF to 0x0, HSI16 becomes as system clock. I can't understank why the Ble stack do that。 If so that, does it mean that the maximum system clock can only be 16M when using Bluetooth function?

Thanks

Best answer by STTwo-32

Hello @Xiaojie 

Could you send a .ioc file that may help us to reproduce this issue. I've tried to reproduce it on my side but is not possible.

Best Regards.

STTwo-32

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
May 30, 2024

Hello @Xiaojie 

Could you send a .ioc file that may help us to reproduce this issue. I've tried to reproduce it on my side but is not possible.

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.
XiaojieAuthor
Associate III
May 31, 2024

HI,

   I known where change the RCC configuration.  LINKLAYER_PLAT_RCOStartClbr and LINKLAYER_PLAT_RCOStopClbr call  scm_setsystemclock,which willchange the RCC configuration.

It is related to RCO calibration。What is RCO?

 

Thanks