How to send a zero length packet

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

How to send a zero length packet

1,304件の閲覧回数
li_sw
Contributor I

             I design a HID USB device with the LPC2468. According to the USB specification,when processing the Setup transfer, a zero length packet should be sended to the host at the status stage .I want to know the flow about sending the zero length packet

 Thanks

0 件の賞賛
返信
2 返答(返信)

1,130件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi Li,

If you are starting a new USB-based application, it is recommended considering a newer LPC device, because LPC2xxx are now legacy devices.

Regarding zero-length packet, it may depend of the used USB stack; you could take a look at the following links for reference:

https://github.com/micromint/LPCOpen-keil-lpc43xx/blob/master/applications/lpc18xx_43xx/examples/usb...

http://www.keil.com/forum/16271/arm7-lpc2148-amp-usb-communication/

https://www.nxp.com/docs/en/application-note/AN10703.pdf


Hope this will be useful for you.
Best regards!
/Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,130件の閲覧回数
li_sw
Contributor I

Hi, Carlos,

Thank you very much.My problem has been solved.

0 件の賞賛
返信