cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't STM32WB55 USB and BLE work at the same time, using firmware version 1.12.0.

垒垒.1
Associate II
 
7 REPLIES 7
Imen.D
ST Employee

Hello @垒垒.1,

Do you have still this problem to solve?

Have you an error message ?

Please share more details as much as possible to help you solve your issue.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

HI @Imen DAHMEN

I haven't solved the problem yet !!!! Help me !!

HI @Imen DAHMEN

I haven't solved the problem yet

I'm developing an application which uses both USB CDC and BLE, using an stm32wb55cg USB_Dongle as my current target board. I've started by building two separate applications using STM32CubeMX(STM32Cube_FW_WB_V1.12.0) and stm32wb5x_BLE_Stack_full_fw1.12.0: 

1.CDC be used for the application communicating with PC

2.A BLE P2P client 

Both of these work fine on their own. But if I build an application that includes both components, the USB cdc device will not enumerate properly.

  • I've tried some solutions, but they haven't worked, such as :
  1. /**
    1. * This prevents the CPU2 to disable the HSI48 oscillator when
    2. * it does not use anymore the RNG IP
    3. */
    4.  
    5. LL_HSEM_1StepLock( HSEM, 5 );

I also found that if I commented out  UTIL_SEQ_Run(UTIL_SEQ_DEFAULT); , USB worked fine, and vice versa.

  • The solution of this problem is very important to me, please help me!!!!!

JPrin.3
Associate II

Is this solved already? If so, how?

no
---Original---
JPrin.3
Associate II

You should poll Sem5 until granted before configuring the clock for USB. See AN5289, figure 9. Else M0 will switch it off.

This was the answer! Thanks!


_legacyfs_online_stmicro_images_0693W00000bktA6QAI.png