You are here

Setting up DMA | Cypress Semiconductor

Setting up DMA

Summary: 1 Reply, Latest post by Madhu Sudhan on 24 Aug 2015 02:03 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
matta_1428061's picture
3 posts

If I were trying to set up the FX3 to have a EEPROM on i2c, an FPGA and SPI flash chip both set up on SPI, how and what files would I need to include in my project to enable the set up of the DMA to manage this?  Does the uC even need to interact with the interfaces, or can the DMA manage it on its own?

mady's picture
Cypress Employee
964 posts


The uC need to interact with the interface for doing communication over SPI and I2C Interfaces. The files to be added are cyu3spi.h and cyu3i2c.h.

For example projects on SPI, please refer "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspidmamode" and C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspiregmode" (The first one is DMA Mode in which we write large volume of data contiuously. The second one is register mode where we write wrd by word using registers)

Similarly for I2C Interface, please refer the examples in "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbi2cdmamode" and C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbi2cregmode"


-Madhu Sudhan

Log in to post new comments.