cancel
Showing results for 
Search instead for 
Did you mean: 

USB Low-Full-High Speed Peripherals

qiwec_297866
New Contributor

How to reset the cy7c68013a through vendor command?

0 Likes
1 Solution
Sananya_14
Moderator
Moderator

Hello,

Please refer to AN45471 ​which defines example vendor commands including reset command.

Code snippet-

     case VR_RENUM:

     EP0CS |= bmHSNAK; // Acknowledge handshake phase of device request

     EZUSB_Delay(1000);

     EZUSB_Discon(TRUE); // renumerate until setup received

     break;

Best Regards,

Sananya

View solution in original post

0 Likes
1 Reply
Sananya_14
Moderator
Moderator

Hello,

Please refer to AN45471 ​which defines example vendor commands including reset command.

Code snippet-

     case VR_RENUM:

     EP0CS |= bmHSNAK; // Acknowledge handshake phase of device request

     EZUSB_Delay(1000);

     EZUSB_Discon(TRUE); // renumerate until setup received

     break;

Best Regards,

Sananya

View solution in original post

0 Likes