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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

890 Views
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 Kudos
Reply
1 Reply

876 Views
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 Kudos
Reply