Other Parts Discussed in Thread: SYSBIOS
Tool/software: TI-RTOS
Customer Question:
"
We have the following configuration:
K2G12 processor with DDR3L SDRAM
Both ARM and DSP under TI-RTOS with the following versions
bios_6_46_05_55
CCS Version: 7.2.0.00013
pdk_k2g_1_0_7
processor_sdk_rtos_k2g_4_01_00_06
We would like to declare K2G MSMC to be non-cacheable for both ARM and DSP. The address of MSMC starts from 0x0c000000. The size is 1MB.
We are able to declare K2G MSMC to be non-cacheable from ARM perspective but not DSP.
Refer to the link below
https://e2e.ti.com/support/processors/f/791/t/718619?tisearch=e2e-quicksearch&keymatch=disable cache MSMC
We disable cache on DSP in .cfg file like below:
var Cache = xdc.useModule('ti.sysbios.family.c66.Cache');
// Cache.setMarMeta(base_address, length, Cache.Mar_DISABLE)
Cache.setMarMeta(0x0C000000, 0x00100000, Cache.Mar_DISABLE);
But we still need to call CacheP_wbInv() in order to update DSP data correctly.
How to declare K2G MSMC to be non-cacheable from DSP perspective?"