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.
state machine is below
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.
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