Few pictures for you tutorial fifo_b - ..basic situation.. fifo5 - ..adc maybe faster than sdcard.. fifo6 - ..till overrun error..
fifo_a - ..counting semaphores handshaking..