This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to enable cache on OMAP3530

Other Parts Discussed in Thread: OMAP3530

Hi all,

             Can somebody please tell me how to enable the cache and how to make external memory(SDRAM) cacheble in OMAP3530.

Please tell me which CSL Library we have to use as CSL Librarires which come with CCS3.3Installation does not support C64X+ Core.

How can we come to know that weather the cache is enabled or not (any register bit wiil be set once cache is enabled)?

With Regards

Pratap

 

 

  • From a C64x+ perspective, on most of our contemporary processors you would typically use DSP/BIOS APIs to handle configuring and maintaining the cache, in particular the BCACHE APIs described in SPRU403o allow for an easy interface to manage the cache. For the purposes of enabling cache if you wnted to do it from the BCACHE API you could do so with the BCACHE_setMar function described on page 52 of SPRU403, this function will set the MAR registers for you based on what memory you pass it to make cacheable, you could verify that cache is enabled for the region by examining the MAR registers.