In a Data acquisition application, I am sampling packets of data from the Arduino due SSC and transmit processed data through Ethernet, using DMA. With this approach, I can transmit to Ethernet only one of every two packets: sampling a packet, transmitting it to Ethernet during the second packet, ...
I am looking for a way to be able to transmit all processed packets.
I tried to to sample the input data using interrupt, which would allow sampling during the Ethernet transmission. The sampling part works OK. But then the process gets stuck on Ethernet transmission, which uses DMA. Is there a way to make DMA and interrupt coexist without the process stuck?
Thanks for any idea.
Mike