This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HID Device Example not detected on PC

Dear All

I designed my own HW with STM32F103VBT6 MCU and at first step,testing two blinky/(RTX) examples that was fine (little problems solved in programming).

Recently I tried the USB HID Device programming, Step by step as example in Keil MDK5_getting_Started manual. but unfortunately it was failed,(when connecting to PC nothing happened and no device detected).

As I don't have any USB experience,(but reading documents about USB), I can't recognize the problems. I am sure about my HW which i test it cold frequently.

does anyone knows the point I missed the right way?

best regards.

  • Dear All

    I am sorry for mistake on my language.

    Anyway, I test with success the blinky samples of NUCLEO-F103RB (Rev.C) board on my HW with some adaptation, but this board does not have any USB samples.

    So I test USB example of manual that I mentioned before and nothing happened, then I try Blinking(RTX) example of that manual and nothing happened again, I think maybe the examples does not match my HW, or so many changes should be apply.

    My HW is Simple,USB pins (PA.11,PA.12) connected to USB ports via R 22ohm , PA.8 tied to D+ via R 1.5Kohm, PC.0~PC.3 and PC.9 connected to LEDs all via R 270ohm (PC.9 for USB LED).

    There is other purpose complicated HW that is not important at this time.

    As I mentioned, I have no experience on USB and need help to begin USB design.
    could anyone let me know how to overcome this steps?

    best Regards

  • Is there anyone who could help me please ?

  • The Nucleo boards don't have any USB examples because there is no USB interface soldered on to them for the target CPU to use.

    You should review the USB Firmware Library, and examples provided by ST
    www.st.com/.../PF258157

    There are a lot of STM32 designs using USB, would suggest you review some schematics, from ST, Keil, Olimex, etc.