PASDK-576:Fix output pair-wise channel swap issue
authorFrank Livingston <frank-livingston@ti.com>
Tue, 8 May 2018 02:07:08 +0000 (21:07 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Tue, 8 May 2018 02:07:08 +0000 (21:07 -0500)
pasdk/test_dsp/application/itopo/evmk2g/mcasp_cfg.c

index 481cc7221666ae66505d0c164956cca5ee6f7cad..b3f1f14f3c96149c007e236092fff16124e6b7c9 100644 (file)
@@ -125,7 +125,7 @@ Mcasp_HwSetupData mcaspRcvSetupDIR = {
 Mcasp_HwSetupData mcaspXmtSetupDAC = {
         /* .xmask    = */ 0xFFFFFFFF, /* 16 bits are to be used     */
         /* .xfmt     = */ 0x000180F0, /*
-                                       * 0 bit delay from framesync
+                                       * 1 bit delay from framesync
                                        * MSB first
                                        * No extra bit padding
                                        * Padding bit (ignore)
@@ -133,9 +133,14 @@ Mcasp_HwSetupData mcaspXmtSetupDAC = {
                                        * Reads from DMA port
                                        * NO rotation
                                        */
-        /* .afsxctl  = */ 0x00000112, /* I2S mode - 2 slot TDM
+//        /* .afsxctl  = */ 0x00000112, /* I2S mode - 2 slot TDM
+//                                       * Frame sync is one word
+//                                       * Rising edge is start of frame
+//                                       * Internally generated frame sync
+//                                       */
+        /* .afsxctl  = */ 0x00000113, /* I2S mode - 2 slot TDM
                                        * Frame sync is one word
-                                       * Rising edge is start of frame
+                                       * Falling edge is start of frame
                                        * Internally generated frame sync
                                        */
         /* .xtdm     = */ 0x00000003, /* slot 1 and 2 are active (I2S)               */