Help on USB HID example urgently needed

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

cross mob
RuGl_1600761
Employee
Employee
25 replies posted 25 sign-ins 10 replies posted

I am using the USB HID example from cypress. On the Cy8CKIT-059 (psoc5) it is running fine. I have to use CY8C4247AZI-L485 in a custom board.The system is self powered. I connected D+  D- and VUSB to the pins of the USB connector. I can programm but USB enumeration is not completed. The flow hangs in the while loop


int main(void)
{
uint16_t OUT_COUNT;
uint8_t* response;
CyGlobalIntEnable; /* Enable global interrupts. */

/* Place your initialization/startup code here (e.g. MyInst_Start()) */

/* Start USBFS operation with 5-V operation. */

USBFS_1_Start(USBFS_1_device,USBFS_1_5V_OPERATION); // USBFS_1_3V_OPERATION

while(USBFS_1_bGetConfiguration() == 0x00)
{
/* Waiting for device to be configured */
}

 

I also tried the 3V operation. I checked the USB configuration  and tried all options avaliable

RuGl_1600761_0-1614580258848.png

also using P0.0 with a voltage divider connected in parallel to VUSB. What do I miss? How can I get  the device running?

 

 

 

 

 

rgl
0 Likes
1 Solution
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @RuGl_1600761 

I guess you this query is same as what you have posted in: https://community.cypress.com/t5/PSoC-4-MCU/How-to-connect-USB-to-CY8C4247AZI-L485/td-p/268185

I have posted a response at the other thread.

Best Regards

Ekta

View solution in original post

0 Likes
1 Reply
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello @RuGl_1600761 

I guess you this query is same as what you have posted in: https://community.cypress.com/t5/PSoC-4-MCU/How-to-connect-USB-to-CY8C4247AZI-L485/td-p/268185

I have posted a response at the other thread.

Best Regards

Ekta

0 Likes