USB1 Dropping byte

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB1 Dropping byte

819 次查看
SteveR406
Contributor I

Using K66 with MCUXpresso SDK to create a HID Generic device on USB1 interface.  Data is processed in 8 byte blocks and on the second block it drops the first byte. The byte is missing by the time I get a callback to process the data.  Any thoughts on why the byte is dropped?  

0 项奖励
回复
1 回复

802 次查看
SteveR406
Contributor I

Solved:  Needed to change my Report Size in g_UsbDeviceInterface0HidGenericReportDescriptor[] to be 64.  Also changed USB_INTERFACE_0_HID_GENERIC_INPUT_REPORT_LENGTH to match.