I am writing streaming data to PS DDR using DMA and from there I intend to send it over ethernet using udp. Both applications are running fine independantly - but when I combine these two either software hangs or I get udp transmission error code -1.
My flow is somethinglike this:
I am doing DMA_Transfer() and then in its ISR I send data using udpsendto() and things went out of control.
Is this happening due to interrupts or what and any help is most welcome.