Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: AAC Encode at 8kHz on 'C6748 DSP not supported?

$
0
0

Hi Deepthi,

Just to let you and others know, that the C64x+ AAC LC Encoder (Version 1.20.005) I downloaded from:

http://software-dl.ti.com/dsps/dsps_public_sw/codecs/C64XPlus_Audio/index_FDS.html

Works on the LCDK6748.

I had trouble getting the Test Application compiled and running on the LCDK6748 using CCS v5, so here are some of the things I had to do - if there is a simpler way please let me know!

In fact I had to start by creating a new CCS Example Project: "typical_LCDK6748". Then (from memory, sorry if bits are missing or incorrect):

  1. Copy the .c & .h files from ...\dm6446_aaclcenc_1_20_005_production\packages\ti\sdo\codecs\aaclcenc\app\Client\Test to my new application.
  2. In app Properties->General RTSC tab, add ...\dm6446_aaclcenc_1_20_005_production\packages
  3. Copy ...\bios_6_35_04_50\packages\ti\bios\bcache.c in to the new app.
  4. Copy all files from dm6446_aaclcenc_1_20_005_production\packages\ti\sdo\codecs\aaclcenc\app\Inc to new app.
  5. Download c674x_aaclcenc_01_00_01_00_elf from: http://software-dl.ti.com/dsps/dsps_public_sw/codecs/C674X_Audio_Codecs/01_00_001/index_FDS.html
  6. Copy alg.h and _alg.h from c674x_aaclcenc_01_00_01_00_elf\packages\ti\sdo\codecs\aaclcenc\app\Inc to new app.
  7. Add C6000 Compiler Include Options:
    1. "${BIOS_LOC}/packages/ti/bios/include"
    2. "${XDAIS_LOC}/packages/ti/xdais"
    3. "${XDC_LOC}/packages/xdc"
    4. "${AACLCENC_LOC}/app/Inc"
    5. and setup the various *_LOC Path Variables in Linked Resources.
  8. Add C6000 Linker File Search Path "${AACLCENC_LOC}/lib" and include the library file: aacenc_tii_lc.l64P
  9. Edit app.cfg (cfg Script):
    1. Add: var AACLCENC = xdc.useModule('ti.sdo.codecs.aaclcenc.AACLCENC');
    2. Increase the heap size: BIOS.heapSize = 0x100000;
  10. Copy the TestVecs directory from ...\dm6446_aaclcenc_1_20_005_production\packages\ti\sdo\codecs\aaclcenc\app\Client\Test to the app directory.
  11. Edit ...\TestVec\Config\Testvecs.cfg and change all the paths to ..\\TestVecs\\ (from ..\\..\\Test\\TestVecs).
  12. Delete main.c

Build and run !

Hope this helps someone,

Tony


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>