Forum Discussion
Altera_Forum
Honored Contributor
14 years agoI'm not sure about the size that you are sending, but in general, if the data size is not aligned to..I think 64bitx16, the DMA won't work correctly.
You just need to open the setting of mSGDMA. I think the PCIe interface is 64bit, so you just need to check the burst length. It has to be exact length in that design. If you want to send much smaller data, change the setting of the mSGDMA, so you can send whatever size you want. The other thing I can think of is accessing same address of the OCM? if so, use 2 pgaes of location. For example, page0 start from offset address of 0x0000 - 0x7FFF page1 start from offset address of 0x8000 - 0xFFFF external port uses like page0, page1, page0, page1 whereas PCIe or mSGDMA should read page1, page0, page1, page0 to avoid conflict.