NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

C6747 Audio Example cache configuration

From Texas Instruments Wiki
Jump to: navigation, search

Important Note:

The software discussed on this site is available for download, but is no longer being actively developed. This wiki is in maintenance mode and the software is supported on C67x Single core DSP E2E forum


Performance improvement[edit]

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[edit]

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


Example of changing cache configuration[edit]

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 {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article C6747 Audio Example cache configuration here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article C6747 Audio Example cache configuration here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article C6747 Audio Example cache configuration here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article C6747 Audio Example cache configuration here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article C6747 Audio Example cache configuration here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article C6747 Audio Example cache configuration here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article C6747 Audio Example cache configuration here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article C6747 Audio Example cache configuration here. 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

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity