Memory Architecture
6-34
ADSP-BF535 Blackfin Processor Hardware Reference
Listing 6-2. Invalidating Data Cache
I0.L = (DTEST_COMMAND & 0xFFFF);
I0.H = (DTEST_COMMAND >> 16);
I1.L = (DTEST_DATA0 & 0xFFFF);
I1.H = (DTEST_DATA0 >> 16);
R0.L = 0;
R0.H = 0;
[I1] = R0;
/* Repeat for data cache */
/* Explanation: The invalidation routine is as follows: */
/* Cache construction: */
/* D-CACHE: */
/* 2 data banks, */
/* each data bank has 4 sub-banks, */
/* each sub-bank has 2 ways, */
/* each way has 64 lines, */
/* each line (or set) has 4 double words. */
/* Routine: */
/* - Take way 0, and way1 */
/* - Inner loop: */
/* Invalidate all sets (cache lines) in sub-bank for way 0
and way1 */
/* Instruction Cache has 64 sets (cache lines), hence loop
count is 64 */
/* - Outer loop: */
/* Increment sub-banks */
/* repeat inner loop */
/* do it 4 times because of 4 sub-banks. */
/* - Repeat again for superbank B */
Summary of Contents for ADSP-BF535 Blackfin
Page 80: ...Development Tools 1 26 ADSP BF535 Blackfin Processor Hardware Reference...
Page 312: ...Working With Memory 6 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 332: ...System Interfaces 7 20 ADSP BF535 Blackfin Processor Hardware Reference...
Page 360: ...Dynamic Power Management Controller 8 28 ADSP BF535 Blackfin Processor Hardware Reference...
Page 446: ...Beginning and Ending an SPI Transfer 10 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 522: ...Timing Examples 11 76 ADSP BF535 Blackfin Processor Hardware Reference...
Page 562: ...IrDA Support 12 40 ADSP BF535 Blackfin Processor Hardware Reference...
Page 608: ...PCI I O Issues 13 46 ADSP BF535 Blackfin Processor Hardware Reference...
Page 672: ...References 14 64 ADSP BF535 Blackfin Processor Hardware Reference...
Page 810: ...SDRAM Controller SDC 18 86 ADSP BF535 Blackfin Processor Hardware Reference...
Page 811: ...ADSP BF535 Blackfin Processor Hardware Reference 18 87 External Bus Interface Unit...
Page 812: ...SDRAM Controller SDC 18 88 ADSP BF535 Blackfin Processor Hardware Reference...
Page 860: ...DMA Bus Debug Registers 20 30 ADSP BF535 Blackfin Processor Hardware Reference...