2024-01-09 10:37 PM
Hi,
I'm trying to use usb device of my STM32WB55RG Nucleo board but when I connect my device to computer, I got a "USB Device not recognized" error. I used "LL_HSEM_1StepLock( HSEM, 5 )" function before APPE init. How can i get rid of this error?
Best regards.
Solved! Go to Solution.
2024-01-17 05:03 AM
Hi,
I solve the problem. The problem occurs to the corrupt project creation. I updated my cubemx version (also my stm32wb software package) and add the both functions in "PeriphCommonClock_Config(void)".
Best regards.
2024-01-10 11:57 PM - edited 2024-01-11 05:04 AM
Hello @Mickey_Piper
First, I suggest you take a look at the following post. You may have the same issue.
If not, Can you give more details (what happen when you don't call the LL_HSEM_1StepLock( HSEM, 5 ),...).
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-01-15 02:26 AM
Hi @STTwo-32 ,
When I don't call the "LL_HSEM_1StepLock( HSEM, 5 )", CPU2 is use this so USB cannot be usable. I looked some posts and they said you have to lock this HSEM. I add this function but error still occurs. I looked your shared post and add both functions[(LL_HSEM_1StepLock( HSEM, 5 )) and (LL_RCC_HSI48_Enable())] in "PeriphCommonClock_Config(void)" but I still get the error.
Best regards.
2024-01-17 05:03 AM
Hi,
I solve the problem. The problem occurs to the corrupt project creation. I updated my cubemx version (also my stm32wb software package) and add the both functions in "PeriphCommonClock_Config(void)".
Best regards.