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.

TMS320F28034: Allocate global varibles into M0 and M1 in F2803x device

Part Number: TMS320F28034

Dear C2000 expert,

There are M0 and M1 ram blocks in F28034 device, what are the differences?

I see there is a comments in program manual that the stack pointer points to M1 at reset, if I assign global variables in M1, is there any risk? 

Under this condition, what I concern is that the global variable will corrupt the the stack area data, how to avoid this?

Thanks in advance,

Jack Tan

  • Hi Jack,

      I see there is a comments in program manual that the stack pointer points to M1 at reset, if I assign global variables in M1, is there any risk? 

    I do not see any risk in using the stack area of BOOTROM code but only some part of M1 RAM is used for stack by BOOTROM (initial 0x80 locations) so rest can be definitely used by application code.

    Regards,

    Vivek Singh