]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blobdiff - pasdk/test_dsp/application/itopo/evmk2g/mcasp_cfg.c
Replaced hard coded OUTPUT_STRIDE with configured stride = num_serializer*num_channel.
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / application / itopo / evmk2g / mcasp_cfg.c
index ac16b5adfea1fc65b158b96dc24dcc9e25919a87..7457e4a7996dd3acea4e29bdee29139f09ae9d8d 100644 (file)
@@ -143,8 +143,8 @@ Mcasp_HwSetupData mcaspXmtSetupDAC = {
         /* .xstat    = */ 0x000001FF, /* reset any existing status bits       */
         /* .xevtctl  = */ 0x00000000, /* DMA request is enabled or disabled   */
         {
-//             /* .aclkxctl  = */ 0X000000E1,  // Transmit bit clock divide ratio = 2
-             /* .aclkxctl  = */ 0X000000E7,  // Transmit bit clock divide ratio = 8
+//             /* .aclkxctl  = */ 0X000000E1,  // Transmit bit clock divide ratio = 2 --> works for 48khz PCM but not for DDP
+             /* .aclkxctl  = */ 0X000000E7,  // Transmit bit clock divide ratio = 8 --> working for DDP 48khz but not for PCM
              /* .ahclkxctl = */ 0x00004000,
              /* .xclkchk   = */ 0x00000000
         },
@@ -192,7 +192,7 @@ Mcasp_ChanParams  mcaspRxChanParamADC =
     Mcasp_WordLength_32,      /* wordWidth                  */
     NULL,                     /* void * userLoopJobBuffer   */
     0,                        /* userLoopJobLength          */
-    NULL,                   /* edmaHandle                 */
+    NULL,                     /* edmaHandle                 */
     GblErr,
     2,                        /* number of TDM channels      */
     Mcasp_BufferFormat_MULTISER_MULTISLOT_SEMI_INTERLEAVED_1,