Skip to main content
mechatronicsx
Associate
August 4, 2016
Question

CubeMx STML0 USB Hid Bug

  • August 4, 2016
  • 0 replies
  • 609 views
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
This topic has been closed for replies.