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.

TMS320F28379D: How to activate CPU2

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

Hello

I'm using  microcontrolelr TMS320F28379D, and now I want to comfirm that I'm using only CPU1.

In order to do it, I'm investigating how to use CPU2.(ie. setting some registers, editting linker command line.)

But so far, I have not found how to use CPU2.

Could you please teach me how to use CPU2, or where to refer in doduments.

Thank you.

  • Miura-san,

                CPU2 is held in reset until it is taken out of reset by CPU1. This is accomplished using bit 0 of CPU2 Reset Control Register (CPU2RESCTL).        Dual core examples are in C:\ti\c2000\C2000Ware_5_01_00_00\driverlib\f2837xd\examples\dual\led.

  • Mr. Janakiraman

    Thank you for the reply.

    Unfortunately, The example file path doesn't exist in my environment.

    But as for my purpose(ie. confirm whether or not the CPU2 is in used), I checked the values of CPU2RESCTL register and LPMSTAT register.

    And now I found that CPU2 is used in my program because LPMSTAT.CPU2LPMSTAT = 0 (CPU2 is ACTIVE), and CPU2RESCTL..RESET = 0

    (ie. CPU2 reset is deactivated) as shown the pictures below.

    Is my understanding correct?

    If so, I want to know how to comfirm the sizes of ROM/RAM size used by CPU2. Because the Allocation Window only shows FLASH/RAM sizes used in

    CPU1.

    Thank you.

  • Unfortunately, The example file path doesn't exist in my environment.

    You need to download/install the latest version of C2000ware from www.ti.com.

    But as for my purpose(ie. confirm whether or not the CPU2 is in used),

    CPU2 is not automatically used. In order to use it, you need to create a separate project, compile it and program CPU2 Flash. Only at that point CPU will be used in your system. That is the reason I pointed you to the dual-core example project in C2000ware.