Yes, this is feasible. You can proceed with your design.
- Madhu Sudhan
Thank you Madhu Sudhan for your reply.
Unfortunatly I didn't find a way to do it... The write works but I never receive read data...
I tried to test a simple loop that read/write byte by byte on the databus. But I am still stuck...
I made a new state machine with only 3 states : DMA_WAIT WRITE READ.
On the DMA_WAIT state I have a simple transition, when a DMA_RDY_TH0 occurs I jump to WRITE.
On WRITE I have one action (DR_DATA). Because I juste want to write on byte, I unchecked "Update new value from data source" and "Repeat actions until next transition". The unique transition is a Logic_one that goes to READ.
On Read I have 2 actions : IN_DATA and COMMIT because I only want to read 8bytes and send the value on the USB3 socket. I also unchecked the ''Repeat actions until next transition". I set a DMA_RDY_TH0 transition to go back to WRITE and a ! DMA_RDY_TH0 to go to DMA_WAIT.
The first byte is well write on the data bus, but after I have nothing more (no read and write after) .... I can't read data, or write more...
Could you explain where I am wrong please ?
gpif_rw.png 28.2 K