cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMx STML0 USB Hid Bug

mechatronicsx
Associate II
Posted on August 04, 2016 at 10:36

Hi everyone,

I developed STM32L0 USb hid application with Cubemx,I send to data computer with usb hid interface.But I cannot send ascii zero(null )character.Other character send succesfully.

For example my buffer like this

buffer[5]={0x01,0x02,0x00,0x03,0x04};

If i send this buffer only send 0x01,0x02.The other values are not send succesfully.I think usb hardware seen null character close the connection or thinking buffer is empy maybe

Have any idea ?

#cubemx-usb-hid #stm32-usb-hid-communication
0 REPLIES 0