configuring the DMA for using the SCPLC on the MPC5121

Jacquemin, Jean-Philippe jean-philippe.jacquemin at barco.com
Tue Mar 31 20:39:34 EST 2009


Dear all,
 
I am trying to configure the MPC5121 to perform DMA transfers from the
CPU RAM to the RAM of an FPGA attached on ChipSelect 2.
I have to use the LocalPlus Bus and configure the chipselect2 for bust
mode and non-multiplexed.
I also have to configure a DMA task to copy the content of my buffer to
the local bus Fifo and then kick this content to the wanted address on
chipselect 2.
 
I have some code (thanks to Grant Likely) to implement a LocalPlus Bus
Fifo driver (SCPLC) but have no clue how to configure the DMA for using
the SCPLC... Can someone help me??
 
The 5121 fifo is directly derived from the 5200 fifo, only it is :
* deeper (1024bytes instead of 512), 
* up to 56 bytes can be transfered with one transaction
* increased SCPLC packet size register to 31 bits
 
 
best regards,
 
Jean-Philippe Jacquemin
 


DISCLAIMER:
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090331/bc4c4d79/attachment.htm>


More information about the Linuxppc-dev mailing list