diff options
author | Ming Wei | 2018-05-14 18:05:40 -0500 |
---|---|---|
committer | Ming Wei | 2018-05-14 18:05:40 -0500 |
commit | 64154b84e9d1a0d57b28b5deedf90593c4c19ba7 (patch) | |
tree | fb342633ea99d949ebd21a6c42ca94a68e763ef7 | |
parent | 90005b530a7ef95fc6eb7ffb65e0a89347039c89 (diff) | |
download | audio-preprocessing-64154b84e9d1a0d57b28b5deedf90593c4c19ba7.tar.gz audio-preprocessing-64154b84e9d1a0d57b28b5deedf90593c4c19ba7.tar.xz audio-preprocessing-64154b84e9d1a0d57b28b5deedf90593c4c19ba7.zip |
audio-preprocessing-fw: fixes for PRSDK-4000 (OMAP-L137)
Signed-off-by: Ming Wei <mwei@ti.com>
-rw-r--r-- | realtime_demo_bios/omapl137/src/makefile.libs | 4 | ||||
-rw-r--r-- | realtime_demo_bios/omapl137/src/mcasp_cfg.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/realtime_demo_bios/omapl137/src/makefile.libs b/realtime_demo_bios/omapl137/src/makefile.libs index ceb9a99..19cfd2d 100644 --- a/realtime_demo_bios/omapl137/src/makefile.libs +++ b/realtime_demo_bios/omapl137/src/makefile.libs | |||
@@ -1,6 +1,6 @@ | |||
1 | # | 1 | # |
2 | # This file was generated based on the configuration script: | 2 | # This file was generated based on the configuration script: |
3 | # C:\ti\processor_sdk_rtos_omapl13x_4_00_00_01\demos\audio-preprocessing\realtime_demo_bios\omapl137\OMAPL137_bf_rt.cfg | 3 | # C:\ti\processor_sdk_rtos_omapl137_4_03_00_05\demos\audio-preprocessing\realtime_demo_bios\omapl137\OMAPL137_bf_rt.cfg |
4 | # | 4 | # |
5 | # This makefile may be included in other makefiles that need to build | 5 | # This makefile may be included in other makefiles that need to build |
6 | # the libraries containing the compiled source files generated as | 6 | # the libraries containing the compiled source files generated as |
@@ -14,7 +14,7 @@ | |||
14 | # | 14 | # |
15 | # The absolute path to the generated source directory (at the time the | 15 | # The absolute path to the generated source directory (at the time the |
16 | # sources were generated) is: | 16 | # sources were generated) is: |
17 | # C:\ti\processor_sdk_rtos_omapl13x_4_00_00_01\demos\audio-preprocessing\realtime_demo_bios\omapl137\src | 17 | # C:\ti\processor_sdk_rtos_omapl137_4_03_00_05\demos\audio-preprocessing\realtime_demo_bios\omapl137\src |
18 | # | 18 | # |
19 | GEN_SRC_DIR ?= ../src | 19 | GEN_SRC_DIR ?= ../src |
20 | 20 | ||
diff --git a/realtime_demo_bios/omapl137/src/mcasp_cfg.c b/realtime_demo_bios/omapl137/src/mcasp_cfg.c index e3a36c0..057ddb4 100644 --- a/realtime_demo_bios/omapl137/src/mcasp_cfg.c +++ b/realtime_demo_bios/omapl137/src/mcasp_cfg.c | |||
@@ -89,6 +89,8 @@ extern HeapMem_Handle myHeap; | |||
89 | /* ========================================================================== */ | 89 | /* ========================================================================== */ |
90 | 90 | ||
91 | 91 | ||
92 | #define TX_FIFO_EVENT_DMA_RATIO 1 | ||
93 | #define RX_FIFO_EVENT_DMA_RATIO 1 | ||
92 | 94 | ||
93 | Mcasp_HwSetupData mcaspRcvSetup = { | 95 | Mcasp_HwSetupData mcaspRcvSetup = { |
94 | /* .rmask = */ 0xFFFFFFFF, /* All the data bits are to be used */ | 96 | /* .rmask = */ 0xFFFFFFFF, /* All the data bits are to be used */ |
@@ -268,7 +270,8 @@ Mcasp_ChanParams mcasp_chanparam[2]= | |||
268 | #endif | 270 | #endif |
269 | TRUE, | 271 | TRUE, |
270 | RX_FIFO_EVENT_DMA_RATIO, | 272 | RX_FIFO_EVENT_DMA_RATIO, |
271 | FALSE | 273 | TRUE, |
274 | Mcasp_WordBitsSelect_LSB | ||
272 | }, | 275 | }, |
273 | { | 276 | { |
274 | TX_NUM_SERIALIZER, /* number of serialisers */ | 277 | TX_NUM_SERIALIZER, /* number of serialisers */ |
@@ -290,7 +293,8 @@ Mcasp_ChanParams mcasp_chanparam[2]= | |||
290 | #endif | 293 | #endif |
291 | TRUE, | 294 | TRUE, |
292 | TX_FIFO_EVENT_DMA_RATIO, | 295 | TX_FIFO_EVENT_DMA_RATIO, |
293 | FALSE | 296 | TRUE, |
297 | Mcasp_WordBitsSelect_LSB | ||
294 | } | 298 | } |
295 | }; | 299 | }; |
296 | 300 | ||