- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
when fx3 is configured as slavefifo interface,if there is no data from the fpga(fpgs dont sends any data to fx3),what is the default state of buffer(the buffer which recieves the data from the fpga,i.e from p port)?
is it NULL buffer or is it contains some initial values?
regards,
geetha.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
When you create a DMA channel by using CyU3PDmaChannelCreate, it will return the result. Once success, you will get a block of memory which is the DMA buffer. Every buffer created in the System memory has a descriptor associated with it.
In the DMA descriptor structure, the filed uint8_t *buffer is the pointer to buffer which will be used.
It is just like the case when you invoke malloc API in C language.