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.

TMS320F28386D: Acces to GS RAMs

Expert 2360 points
Part Number: TMS320F28386D


One question: GS RAMs are shared in TMS320F28386D, is there method to check which core own the access?

I suppose that have driverlib function.

  • CPU1 is the master unless you have set bits (e.g. MSEL_GS10) in register GSxMSEL. This is usually done by calling MemCfg_setGSRAMMasterSel().

    There is no driverLib function to read the GSxMSEL register so you will have to write your own.

  • I searched my project, did not find that RAMGS9 assigned to CPU2 by MemCfg_setGSRAMMasterSel(). But CPU2 still can use the RAMGS9.

  • Hello,

    Can you clarify what you mean by the CPU2 can still use the RAMGS9? Also, can you check the GSxMSEL register to confirm what CPU is configured to be owning it? The Global Shared RAM (GSx RAM) section in the C28x System Control and Interrupts chapter should explain more detail on this and any arbitration that happens.

    Best regards,

    Omer Amir