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
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:
- C6747 datasheet page 15 (Table 3-2. C674x Cache Registers).
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:
A new memory section called CACHE_L2 will appear:
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.