Hello,
I am using an OMAPL138 to interface to a fpga over the uPP. I wrote a linux uPP driver and want to stream data from the fpga to the omap. I have UPCTR set for a read threshold of 256 bytes on the receive channel. The dma is setup for 1 line of 4096 bytes. My c program is also set to read the data in 4096 byte buffers. when I initiate the program to read data only 1 4096 byte line is read from the uPP. I am wondering if my reloading of the dma parameters is incorrect. This is how I setup the data transactions:
-load upp parameters
-enable interrupts
-setup first set of dma descriptors (data should come across here)
-setup a pending set of dma descriptors (when the ISR is called the interrupt is re-enabled and the next set of pending descriptors are programmed).
Any help would be appreciated, thanks, Scott