2024-08-28 06:19 AM
I've got custom hardware with an STM32WB5MMGH6 micro. I am using STM32CubeIDE Ver 1.16.0.
I fetched the BLE_Sensor project to use as a code base for development. I edited the IOC and removed a lot of the peripherals that don't exist on my hardware. I loaded the BLE Stack (stm32wb5x_BLE_Stack_full_fw.bin) into the RF co-processor. I built and loaded the modified BLESensor App (which I 'renamed' to Cardinal). When I run the code, it ends up stuck in the USB_LP_IRQHandler. The NVIC says this interrupt is not enabled. I attached a screenshot of the IDE showing the Debug call stack, C file, and Disassembly windows. Is it a coincidence that the IRQ is 4 bytes before the Main function entry point? And what's with the <signal handler called>() at 0xffffffff9 seen in the call stack?
Any ideas on why I'm getting stuck in the USB_LP_IRQHandler?