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.

6678LE Shared Data Access

Other Parts Discussed in Thread: TMS320C6678

Hi all,

I'm quite new to DSP programming, and despite poking around a decent amount, I'm having trouble figuring out how to access the same peice of memory from mutliple processors.  Very simply, I want to allocate a set of buffers that is readable/writable by all processors.  Any advice on how to do this? 

Sorry if this is a silly question. 

Thanks for your time.

Best,

Oliver

  • The simplest is to place it in MSCM SRAM (Shared L2) or DDR.   You can also access the local memories of other cores using their global addressing.

    That said, you'll want to comprehend the caching of the memory and I would suggest reading through the C66x DSP Cache User Guide.

    Other documentation can be found in the TMS320C6678 <-- Product Folder and you may want to take a look at the C66x Multicore SoC online training material as well.

    Best Regards,

    Chad

  • Hi Oliver,

    if you want an example which is very simple but works, I suggest you to read this thread:

    http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/t/170760.aspx

    It has some code attached to one of the replies, a .zip file with just two files. The example basically shares a vector between the 8 processors. Each processor waits until the previous has done some trivial processing on the vector and then does the same. It also includes cache coherency functions. I think it is very educational.

    It was really useful for me and I hope it is useful also for you.

    Best regards,

    Alejandro