I have implemented a HID + MSC composite USB HS device using the USB stack provided by NXP and starting from the examples.
- HID: custom (512byte IN / OUT report on EP1)
- MSC with MicroSD support (on EP2)
I have a fairly serious problem highlighted by USB Analyzer CATC 2500H: almost always the HID transactions are "dirty" or inhibited when an MSC transaction is started at the same time (writing a file on mass storage) and, obviously, the HID part goes into error not completing the transaction.
It is not the first product of this type that we have developed and this problem was not presented to us.
Do you have any suggestions to fix this?
NOTE
- Keil SDK
- No SysOP used
- NXP 2.12.0 libraries (USB composite - HID - MSC - SD)
Thanks
解決済! 解決策の投稿を見る。
SOLVED
I assumed that the stack would autonomously handle the resending of the HID packet in the event of a busy pipe.
By handling the resend the problem disappeared.
Thanks anyway for your availability.
SOLVED
I assumed that the stack would autonomously handle the resending of the HID packet in the event of a busy pipe.
By handling the resend the problem disappeared.
Thanks anyway for your availability.
can you post the USB trace that exhibits the problem?