How to reset the cy7c68013a through vendor command?

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

cross mob
qiwec_297866
Level 2
Level 2
10 sign-ins 10 questions asked 5 replies posted

How to reset the cy7c68013a through vendor command?

0 Likes
1 Solution
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

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
Moderator
750 replies posted 500 replies posted 250 solutions authored

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

0 Likes