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.

[参考译文] CCS/TMS320F28232:增加 TMS320F28232的堆栈空间

Guru**** 2341440 points
Other Parts Discussed in Thread: TMS320F28232
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/589217/ccs-tms320f28232-increase-the-stack-space-of-tms320f28232

器件型号:TMS320F28232

工具/软件:Code Composer Studio

大家好、

   我们在电力总线驱动器中使用 TMS320F28232、通常情况下、CMD 中栈的地址为0x400-0x800、堆栈点描述为

  数据表中的以下部分:所有2833x/2823x 器件都包含 这两个单存取存储器块、每一个大小为1K×16。堆栈指针

 复位时指向块 M1的开头。

   现在、我们要将堆栈空间从1K x 16增加到2K x 16、但 M1的地址为0x400-0x800、我们需要将堆栈移动到

其他 address.please 帮助确认此 方法 是否可行、或有任何其他 建议。

   非常感谢你的帮助。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    John、

    您可以将 C 堆栈定位到低64Kw 地址空间中的任何 RAM 中。  M0/M1块只是查找堆栈的方便位置、因此它们常被使用。

    此致、

    David