Hello.
I am using my custom Ip in vivado design to take inputs and give output via DMA.
So my SDK code contains :
Status = XAxiDma_SimpleTransfer(&AxiDma, (u32) RxBufferPtr,
MAX_PKT_LEN, XAXIDMA_DEVICE_TO_DMA);
Status = XAxiDma_SimpleTransfer(&AxiDma, (u32) TxBufferPtr,
MAX_PKT_LEN , XAXIDMA_DMA_TO_DEVICE);
now i want to send again RxBufferPtr to FPGA and recieve new computation values.
i did then like that :
Status = XAxiDma_SimpleTransfer(&AxiDma, (u32) NewBufferPtr,
MAX_PKT_LEN, XAXIDMA_DEVICE_TO_DMA);
Status = XAxiDma_SimpleTransfer(&AxiDma, (u32) RxBufferPtr,
MAX_PKT_LEN , XAXIDMA_DMA_TO_DEVICE);
But I am not getting that required output. Is it a right way to multiple transfer N times ? or what is the way ? kindly tell .
Thanks