- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @AliAsgar
i came across some problem with super speed explorer kit
its enumerating while i flash with blink example given with sdk
But while flashing my firmware its not enumerating in the device tree but its giving the debug prints
and aslo after setting the all descriptors i am calling connectstate parameters both are true After i am checking getspeed() its returning 0
again its went to renumerating repeatdliy
/* Connect the USB pins and enable super speed operation */
status = CyU3PConnectState(CyTrue, CyFalse);
//CyU3PDebugPrint(4,"\n\rCyU3PUsbGetSpeed() is %d",CyU3PUsbGetSpeed());
/*if(CyU3PUsbGetSpeed() != CY_U3P_SUPER_SPEED)
{
status = CyU3PConnectState(CyFalse, CyFalse);
CyU3PGpioSetValue(TYPEC_MUX_GPIO, CyFalse);
status = CyU3PUsbControlUsb2Support (CyTrue);
status = CyU3PConnectState(CyTrue, CyFalse);
if (status != CY_U3P_SUCCESS)
{
CyU3PDebugPrint(4, "\n\rUSB Connect failed, Error code = %d", status);
}
}
*/
if i am configuring as above its connected to full speed device
and also i configured gpio 45 as interrupt its connected to pushbutton
that one also not called while pressing the push button
Thanks in advance
Best Regards
clinton
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @AliAsgar
I created dma channel before the connectstate thats the problem i think
after keeping the connect state before the channel creation the device is successfully enumerated
Best Regards
clinton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Clinton,
Can you please share your firmware project folder with us for us to try to reproduce the issue?
Also please share the UART debug prints with us.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please share your firmware project with us to reproduce the issue at our end.
BTW, from your post I see that ConnectState API is called with CyTrue, CyFalse. These arguments will enable the connection in USB 2.0 mode. Calling the connect state API with CyTrue, CyTrue, will enable the connection in USB 3.0 mode.
Best Regards,
AliAsgar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @AliAsgar
I created dma channel before the connectstate thats the problem i think
after keeping the connect state before the channel creation the device is successfully enumerated
Best Regards
clinton