cancel
Showing results for 
Search instead for 
Did you mean: 

Driver & USB version

hokeat
Associate
Posted on March 26, 2015 at 17:10

To add on the version for driver and USB device.

STM32L0xx HAL Driver: V1.1.0

STM32 USB Device Library: V2.2.0

Kindly help if you know what could be wrong on the data receiving part. 

Thanks a lot.
2 REPLIES 2
Mikk Leini
Senior
Posted on March 27, 2015 at 20:44

Hi Chang,

Are you looking for STM32 example or PC application example?

For PC side i can recommend HIDSharp which worked quite well with my STM32L1 custom HID firmware. It sends output reports, not feature reports.

If you have troubles with STM32 HID reception then i guess you need to bring in the debugger and start looking where is the problem. First check that the endpoint OUT callbacks are called (EP1_OUT_Callback) when you send something from PC. 

hokeat
Associate
Posted on March 30, 2015 at 11:03

Hi Leini,

I was looking for the STM32 example for custom HID. I found the similar example from STM32F3 library.

I was having problem to receive the data from PC, sometime the received data is correct, sometime it is wrong. There seems to be some memory allocation issue in the USB device library as pointed by another discussion.

Anyway, thanks for your advise.

Thanks a lot.

Best regards,

Chang