How to send a NAK when using the on-chip USB driver?

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

How to send a NAK when using the on-chip USB driver?

896件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jfong on Tue Apr 05 20:44:23 MST 2011
Hi!

I had download and install the example of "AN10904 USB HID with the LPC1300 on-chip driver". It runs fine on my LPCXpresso_1343 board with the supported host demo program. When I start to write my own host side program to access it, I had noticed that the callback function 'GetInReport" always send back a data package as long as I make an IN request.

Now, my question is that is it possible to send a NAK, instead of a DATA, in this function when using the on-chip USB driver? Anyone can help?

Best Regards,
0 件の賞賛
返信
1 返信

882件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by KarlBuiter on Thu Mar 05 15:34:14 MST 2015
Hello jfong,

  Were you able to solve this? 

  I have a similar issue -  ZLPs being sent instead of NAKS as IN Packet response on  an Interrupt when no data is present.

  Anyone else? 

  { anyone else?  anyone else?  anyone else? }  :)
0 件の賞賛
返信