7 Replies Latest reply on Aug 5, 2018 11:47 PM by SrinathS_16

    Audio data transmitted per second is less than the required number



      I am training to transmit the 16 bit, Mono channel audio data at 48KHz from SPI interface to USB host. For this I am using Single channel DMA in a infinite for(;;) loop as follows,




      //Get buffer

      //Memcopy for audio data

      //Commit buffer



      Number of bytes to be transferred per sec is 2(16 bit) * 48000 = 96000. But from the above sequence I can only transfer the ~85000 (i.e. A counter variable is incremented after every DMA commit). Please help me to achieve the required number.


      Thanks and Regards,


      Vignesh Kumar R.