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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,078件の閲覧回数
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 解決策
1,058件の閲覧回数
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 返答(返信)
1,059件の閲覧回数
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 件の賞賛
返信
1,073件の閲覧回数
belmontbob59
Contributor IV

can you post the USB trace that exhibits the problem?

0 件の賞賛
返信