How to USB in combination with a barcode scanner (as a host only peripheral for reading)?
I have a USB device in HOST only mode using the CDC middleware to receive data from a barcode scanner set in RS232 mode. This is working accept for the enormous amount of (spurious) host channels interrupt USB_OTG_GINTSTS_HCINT. When I monitor the number of received interrupt they add up to more 65000 a second. This will have a real bad influence on the rest of the system behavior. I there anyone who had the same experience? Is there a good example somewhere that show the right way to do it?
(When I disable the USB_OTG_GINTSTS_HCINT interrupt the performance improves but then I don't receive any data anymore)
Thanks in advance
Wim
