cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble integrating USB HID example in MAC 802.15.4 FFD example (WB55 Nucleo).

TEelm.1
Associate

Hello,

Im trying to add USB support to the MAC 802.15.4 FFD example by copying the HID Standalone example. The code is building and the FFD example is still working with another nucleo running the RFD example, but the WB55 Nucleo is not recognised or enumerated as a USB device on a PC.

Steps performed:

  1. Add the USB library and example source files to the FFD project and include them in the .project and .cproject files.
  2. Appended the USB HID example clock configuration to SystemClock_Config(). They did not seem to have conflicting clock sources.
  3. Add call to MX_USB_Device_Init() in main.c
  4. Add interrupt handler USB_LP_IRQHandler() in stm32wbxx_it.c and declare extern PCD_HandleTypeDef hpcd_USB_FS;

I don't know where to start debugging the USB peripheral. Any help is appreciated.

Best regards,

Taco

1 REPLY 1
FBL
ST Employee

Hi @TEelm.1 

Do you mean you cannot enumerate WB55 Nucleo using this example ? STM32CubeWB/Projects/P-NUCLEO-WB55.Nucleo/Applications/USB_Device/HID_Standalone at master · STMicroelectronics/STM32CubeWB (github.com)

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.