New USB Device Library with STM32F4

General discussion on mikroC PRO for ARM.
Post Reply
Author
Message
Toley
Posts: 922
Joined: 03 Sep 2008 16:17

New USB Device Library with STM32F4

#1 Post by Toley » 15 Feb 2013 02:59

Hello, I've try your new USB device library and all the examples works fine for the chip they are intented for. But when I try the HID Custom Demo with the STM32F4 device, Windows tell me my USB device is not recognized.

Usually those kind of problem are caused by a bad configuration of peripheral clock, but I used the exact same config of your other example (MassStorage) which uses the F4 serie @120MHz and works very well.

Can you provide an example of the HID Custom Demo build for the STM32F4 ?

Thank you for your help and your good work.
Serge T.
Learning is an endeless process but it must start somewhere!

User avatar
mileta.miletic
mikroElektronika team
Posts: 493
Joined: 05 Jun 2009 14:46
Location: Belgrade, Serbia
Contact:

Re: New USB Device Library with STM32F4

#2 Post by mileta.miletic » 16 Feb 2013 11:46

Hi,

Example is in attachment.
Attachments
HIDDevice_Custom M4.zip
(14.61 KiB) Downloaded 1075 times
Regards,
Mileta

Toley
Posts: 922
Joined: 03 Sep 2008 16:17

Re: New USB Device Library with STM32F4

#3 Post by Toley » 16 Feb 2013 14:11

Thank you very much, it now works well also with the STM32F4Discovery Board :) .

I was in the wrong path, the missing thing was the OTG alternate function. I probably would not found by myself. Thanks again.
Serge T.
Learning is an endeless process but it must start somewhere!

Post Reply

Return to “mikroC PRO for ARM General”