Skip to main content
TEelm.1
Visitor II
May 29, 2023 11:26 AM UTC
Question

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

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

This topic has been closed for replies.

1 reply

ST Technical Moderator
May 23, 2024 6:41 PM UTC
To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL