USB Composite device (HID + MSC) - USB stack problem?

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

USB Composite device (HID + MSC) - USB stack problem?

跳至解决方案
788 次查看
PaoloS
Contributor II

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

标签 (2)
0 项奖励
1 解答
768 次查看
PaoloS
Contributor II

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.

在原帖中查看解决方案

0 项奖励
2 回复数
769 次查看
PaoloS
Contributor II

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.

0 项奖励
783 次查看
belmontbob59
Contributor IV

can you post the USB trace that exhibits the problem?

0 项奖励