LPC11U24 zero length packets

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

LPC11U24 zero length packets

748件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcware_user on Tue Mar 04 07:18:34 MST 2014
hi there,

we want to use a LPC11U24 mcu. The controller looks fine but i missed a detail. I have made good experience with
the LPCUSBlib (running on LPC1833) and the hardware is working fine. For the LPC11U24 i want to know if it's
possible to generate a zero packet for an IN endpoint ?

Example:
I want to transfer 128 bytes to the host but the buffer must be "closed" using a zero packet. I can call
DcdDataTransfer() to prime the data for transmission. Either 128 bytes at all, or using two steps with 64 bytes each.
But can i call DcdDataTransfer() with length = 0 ?? Is the USB hardware generating a zero packet ?

Regards
lpcware_user
ラベル(1)
  • USB

0 件の賞賛
返信
1 返信

722件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by liaochengyi on Wed Apr 02 18:48:17 MST 2014
Yes,

I also need know how to send zero length packets when data ending  used bulk in transfer in LPC11Uxx.

If someone will answer the question?  NXP guys will help that?

3Q
Best Regards,
Chengyi
0 件の賞賛
返信