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

USB HID example

Hello All!

I use EFM32GG332F1024 on my own PCB.
I'm trying to create a USB HID interface for communication with a Host (personal computer)!
As a guide I use http://www.keil.com/pack/doc/mw/USB/html/_u_s_b__device.html

I think I fulfilled all the requirements of the last document! However, when compiling, an error is generated:

C:\Keil_v5\ARM\PACK\Keil\EFM32GGxxx_DFP\2.5.0\RTE_Driver\USB_EFM32GGxxx.c(56): error:  #35: #error directive: Enable USB Full-speed in RTE_Device.h!
  #error   Enable USB Full-speed in RTE_Device.h!
C:\Keil_v5\ARM\PACK\Keil\EFM32GGxxx_DFP\2.5.0\RTE_Driver\USB_EFM32GGxxx.c: 0 warnings, 1 error


However, in RTE_Device.h I did not find any mention of the Full-speed of HID! Maybe I do not understand something?

And one more question!
I correctly understood that the USB HID descriptors are generated automatically based on the data from the files USBD_Config_0.c and USBD_Config_HID_0.c?

Can I see what's generated somewhere?

Can I explicitly specify USB HID Descriptors?

Regards
Oleg Nicolaiciuc