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.

TMS320C6747: McASP example in diag was not work with cache enabled

Part Number: TMS320C6747

Dear Champs,

I found McASP example in the RTOS PSDK was not worked with cache enabled when all memories are cached.

I also found it works well when below memory sections are in uncached memory.

.stack

.bss

.neardata

I understand '.bss' should be uncached because there is buffers copied by DMA in '.bss', but could not understand other region.

I debug it it seemed the values used for peripheral setting should be uncached. it this my observation right?

Is this coherency issue? or is there any other reason?

Could you please help me to understand which memory should be uncached or let me know if there is other way to enable cache in McASP playback example?

I'm using latest RTOS PSDK 6.1.0.8.

Thanks and Best Regards,

SI.

  • Hello SI,

    The .neardata section contains non-const, initialized read-write variables. The .stack section is reserved for system stack. 

    It could potentially be a cache coherency issue if another master is accessing these sections. If you perform cache operations on them, does the issue go away?

    Regards,
    Sahin