Testing circular buffer on dsp