How To Design GPIF in CYUSB2014

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

cross mob
Anonymous
Not applicable

I want to get GPIF data with USB 2.0 interface.

interface define is below

if data is valid, then INPUT0 is High. and if data is invalid, then INPUT0 is LOW.

Interface_define.PNG

state machine is below

GPIF_SM.PNG

and I make a firmware using GpifToUsb example and header file given by GPIF designer.

and I write it in CYUSB2014. and send clk, valid, data to CYUSB2014.

I expect that if INPUT0 is high, then State Machine is changed to WRITE state.

but State is still in IDLE state, although INPUT0 is high.

I don't know why.

please tech me.

thank.

0 Likes
1 Reply
YangyangC_06
Employee
Employee
750 replies posted 500 replies posted 250 replies posted

1. You will also need to add IN_ADDR action.

2. Please also add SLWR signal to enable write operation.

You could check the document AN65974

0 Likes