Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Returning a NAK from the CY7C68001 EZ-USB SX2 to the USB Host

Returning a NAK from the CY7C68001 EZ-USB SX2 to the USB Host

Anonymous
Not applicable
Question: The USB 2.0 specification says that when the USB host sends an IN token to a device, and if the device has no data to return to the host, it should respond with a NAK token. However, the CY7C68001 datasheet says there is no description and no register corresponding to generation of a NAK token. How does one return a NAK token using the SX2? Does the external master have to construct one?

 

Answer:

SX2 will respond automatically with a NAK to the host if there is no data in the IN endpoint FIFO. Do not worry about setting a "NAK register" directly. This is the advantage of having a "smart SIE" like SX2.

0 Likes
294 Views
Contributors