You are here

GPIF consumer | Cypress Semiconductor

GPIF consumer

Summary: 1 Reply, Latest post by Nishant on 07 Nov 2016 11:44 PM PST
Verified Answers: 0
Last post
Log in to post new comments.
rjredman's picture
2 posts

I  am trying to setup a DMA channel where the CPU is the producer and the GPIF is the consumer.  I would like to pre load maybe 8 buffers of data then let the channel send them to the GPIF repeatedly.  I can make what i want work if i set the channel to manual out and use the callback to commit the data but that is not as fast as I like.  I tried but can not setup the channel auto without an API error, is there a way around I haven't thought of?



nisa's picture
Cypress Employee
408 posts

As I cannot see you project, I cannot exactly point out where you went wrong. But, if you have the FX3 SDK, you can go though the USBBULKSource Sink firmware. In this, we have a channel from CPU to USB, you need to change it to CPU to P-Port/GPIF.  The example works at really good data rate, which you can check using streamer. After that you need to add a GPIF hearder and initialize and initiate the GPIF machine. For GPIF header, you need to prepare a GPIF project with a clock and the signal lines and the flags if you need. Please just refer to the way we are creating some data at the CPU and sending it out to the USB. You need to copy this in your project and change the USB socket to GPIF socket

Log in to post new comments.