BLE and USB-CDC with FreeRTOS
I have a project which has the requirement of BLE and USB in CDC mode. The implementation is done with the FreeRTOS. BLE and USB are working independently, but when I integrate both of them in a single project then there are some issues which are being faced mentioned below.
- Whenever the controller is programmed, then the USB is enumerating and it is working properly. During this, the BLE is not advertising. When there is a reboot triggered, the USB device is not recognized but the BLE is advertising.
- APPE_SysUserEvtRx callback function is not triggered from the shci_init function. The event to trigger this function is not generated.
Microcontroller - STM32WB55VGYX
Using the BLE full stack v1.15 with the FUS v1.2.0
USB is using the PLLSAI1Q clock source with the frequency of 48MHz.
CPU2 is operating with the frequency of 32MHz.
Main core is operating at 64MHz frequency.
