SPRACN7 September   2019 TMS320C5517 , TMS320C5517

 

  1.   C55x CSL Audio Pre-Processing
    1.     Trademarks
    2. 1 Introduction
    3. 2 Requirements
    4. 3 Software Design
      1. 3.1 C5517 Audio Preprocessing TI Design Patch Files
      2. 3.2 More About Processing Algorithms
      3. 3.3 Framework for Audio Pre-Processing
    5. 4 Circular Microphone Board Demo
      1. 4.1 How to Build the Demo
        1. 4.1.1 C5517 EVM
      2. 4.2 How to Run the Demo
        1. 4.2.1 C5517 EVM
    6. 5 How to Evaluate the Demo
      1. 5.1 Use Headphone
      2. 5.2 Record Audio Data Using Adobe Audition
    7. 6 C55x Benchmark
    8. 7 References

C5517 Audio Preprocessing TI Design Patch Files

  • Applicable only to CSL v3.07
  • The default CSL package audio preprocessing demo located at C:\ti\c55_lp\c55_csl_3.07\demos\audio-preprocessing is not configured for the four microphone Linear Microphone Board (LMB), instead it was configured for a larger eight microphone Circular Microphone Board (CMB). Thus, certain files need to be replaced in the source code to ensure correct filter coefficients and initialization of the hardware. The following files need to be replaced: AudioCodec_DMA.c, codec_pcm186x.c and sysbffilt.c.

    The default CSL package audio preprocessing demo located at C:\ti\c55_lp\c55_csl_3.07\demos\audio-preprocessing did not have the source code for the Dynamic Range Compression (DRC) module. The following files need to be added to C:\ti\c55_lp\c55_csl_3.07\demos\audio-preprocessing\common in order to include DRC functionality: debug.h, types.h, ecomem.h, bf_asnr_mss_vau.c ,bf_asnr_mss_vau.h.

    NOTE

    These patch files will no longer be needed once CSL 3.08 is released since they will be incorporated into the release source code.

    The replacement files are located at: C5517 TIDEP-0077 VoiceProcessing patch2.

  • Applicable only to CSL v3.08

The CSL v3.08 package audio pre-processing demo located at C:\ti\c55_lp\c55_csl_3.07\demos\audio-preprocessing has a bug where a patch is needed. Audio frequencies above 3KHz are not output on EVM5517 via the P9 headphone out. This resulted in audio output of degraded quality.

The problem was with an incorrect configuration of the Digital to Analog (DAC) converter on EVM5517. Replace the following files with the attached .zip files:

  • C:\ti\c55_lp\c55_csl_3.08\demos\audio-preprocessing\c5517\codec_pcm186x.h
  • C:\ti\c55_lp\c55_csl_3.08\demos\audio-preprocessing\c5517\codec_aic3254.c

The replacement files are located at: C5517 TIDEP-0077 VoiceProcessing freqcutoffpatch3.