Can you provide the code you’re using so we can test it? Also provide the pictures that show the oscilloscope and the measurements using both flush() and out_waiting functions.
What image are you using, the eglibc or the uClibc image? Do you have any external circuitry connected?
Were you able to solve the issue on your own? Do you still need help?
I'm busy at the moment but I'm using eglibc and no external circuitry connected. I write some data to the serial port and directly toggle a pin. Later I used the flush and out_waiting functions. I was wondering if it was possible to get the number of bytes in the buffer with direct memory acces.
You can see more information on the DMA’s buffer, registers etc. here Intel® Quark™ SoC X1000: Datasheet .
If you can, please provide the code and the oscilloscope pictures with the results of the functions you’re using.
Thank you. I will look into the "18.3.1 DMA Mode Operation" section.