C6747 Audio Example cache configuration

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Performance improvement

For some examples that come in the C6747 software, you can get an improvement in performance specially if you have important code/data in external memory. To install the software please follow the Getting Started Guide for C6747.

Understanding Cache Configuration

To understand the MAR bits and when it is good to use the cache, please see:


Example of changing cache configuration

If you open the audio example at:

C:\Program Files\Texas Instruments\pspdrivers_01_20_00\packages\ti\pspiom\examples\evm6747\audio\build

You can open the DSP/BIOS Configuration file (audioSample.tcf) and change the cache configurations for a better performance. You simply go to System, right-click on Global Settings, and select Properties. Then you go to the 64PLUS tab and you'll see this dialog box. Change the 64P L2CFG Mode from 0K to 32K (or more), and configure the MAR bits to allow L3 and SDRAM (EMIFB) to be cacheable:


Marregisters1.JPG


A new memory section called CACHE_L2 will appear:

CacheL2andIRAM.JPG


All you need to do it to adjust the IRAM section size. The amount of L2 IRAM memory used for cache should be taken from the IRAM length. So, for 32K of L2 Cache, the len field goes from 0x40000 to 0x38000.

E2e.jpg For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article C6747 Audio Example cache configuration here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox