SlaveFifoSync prodSckId has to be USB_SOCKET?

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

cross mob
Anonymous
Not applicable

I debugged the example of SlaveFifoSync and change the prodSchID of UToP DMA Channel to:

   

dmaCfg.prodSckId = CY_U3P_CPU_SOCKET_PROD;

   

dmaCfg.consSckId = CY_FX_CONSUMER_PPORT_SOCKET

   

 

   

The firmware ran through and PC can recognize FX3, but on the PC Host software side: USBDevice->DeviceCount() return 0 and USBDevice->Open(0) return false, SlaveFifoSync UToP producer socket has to be USB_SOCKET, other than that the exceptional error may occur??

0 Likes
2 Replies
Anonymous
Not applicable

hi, 

   

maybe you can try change the

   

 apiRetStatus = CyU3PDmaChannelCreate (&glChHandleSlFifoUtoP, CY_U3P_DMA_TYPE_MANUAL, &dmaCfg); 

   

to

   

   

apiRetStatus = CyU3PDmaChannelCreate (&glChHandleSlFifoUtoP,CY_U3P_DMA_TYPE_MANUAL_OUT, &dmaCfg);

0 Likes
Anonymous
Not applicable
        sorry,i was wrong   
0 Likes