Hi everyone, I am developing a real time program with my DSK6711. IRAM is not large enough to locate all my code and data. Therefore I have to make use of SDRAM, which is much slower than IRAM. Can anyone give me some advice about improving performance using SDRAM? Should I configure my IRAM as 4-way cache and store all my data and code in SDRAM? Thank you, Miguel |
|
Use of IRAM and SDRAM in DSK6711
Started by ●September 17, 2003
Reply by ●September 18, 20032003-09-18
In a message dated 9/17/2003 6:22:22 AM Eastern Daylight Time, writes: > Hi everyone, > > I am developing a real time program with my DSK6711. IRAM is not large enough to locate all my code and data. Therefore I have to make use of SDRAM, which is much slower than IRAM. Can anyone give me some advice about improving performance using SDRAM? Should I configure my IRAM as 4-way cache and > store all my data and code in SDRAM? > > Thank you, > > Miguel My preference is to use the IRAM as 3-way L2 cache and leave the rest as SRAM space. Place all code & large data buffers in SDRAM. Make sure: 1- you activate caching 2- Turn on the MAR bits corresponding to your memory configuration. 3- make sure the EMF is correctly configured for the SDRAM (see SDK provided examples) 3- Read up on how to best use cache by optimum placement of data within your SDRAM. 4- use the internal SRAM space for things like HPI or serial port buffers. /Khalid |