LPC43XX USB0 HOST APPL - WHAT CHANGES TO BE MADE?? WHILE USING A BARCODE READER AS HID KEYBOARD.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC43XX USB0 HOST APPL - WHAT CHANGES TO BE MADE?? WHILE USING A BARCODE READER AS HID KEYBOARD.

622 Views
shivrajtbm
Contributor I

HI,

I HAVE INTERFACED HID KEYBOARD USING LPC43XX USB0 HOST, WHEN USING ACTUAL KEYBOARD HARDWARE IT IS WORKING FINE.. 

BUT WHEN I CONNECT A BARCODE READER HARDWARE - WHICH CAN BE USED AS HID KEYBAORD (CONFIRMED SAME BY CONNECTING TO A PC) DEVICE GETS SUCCESSFULLY ENUMERATED BUT HARDFAULT OCCURS WHEN I READ A BARCODE.!!!

FOLLOWING IS LIST OF DIFFRENCES I HAVE OBSERVED WHILE DEBUGGING -

PARAMETRSHID KEYBOARDBARCODE READER (AS HID KEYBOARD)
SUPPORTS BOOT PROTOCOL YESNO
SPEEDLOW SPEEDHIGH SPEED
EXPECTED INTERRUPT EVENT BYTES AT HOST 1 BYTE ON KEYPRESSMORE THAN 1 BYTE ON SCAN EVERNT (DEPENDING ON BARCODE)
INPUT ENDPOINT POLLING INTERVAL10 milliSeconds1 milliSecond
REPORT LENGTH 6563
   

 

ALSO IT HAS BEEN OBSERVED THAT WHILE USING A BARCODE SCANNER AND AFTER READING A BARCODE - IN PIPE CONFIGURATIONS IT IS TAKING MORE TIME , MAY BE IT READS A BYTE TOO BUT THEN HARDFAULT OCCURS !!

CAN I GET SOME INPUTS ?? WHAT PARAMETERS I NEED TO CONSIDER & CHANGE FOR THIS BARCODE DEVICE CONFIGURATION??

0 Kudos
Reply
1 Reply

598 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

I guess this is the same question as 

https://community.nxp.com/t5/LPC-Microcontrollers/lpx43xx-usb0-host-HID-keyboard/m-p/1333195#M46364

If yes, welcome sharing solution here.

Have a nice day,

Jun Zhang

0 Kudos
Reply