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.

[参考译文] MSP430FR2632:CapTIvate 设计中心-启用抗噪代码大小问题

Guru**** 2391075 points
Other Parts Discussed in Thread: MSP430FR2633

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

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/724845/msp430fr2632-captivate-design-center---enable-noise-immunity-code-size-issues

器件型号:MSP430FR2632
主题中讨论的其他器件:MSP430FR2633

CapTIvate 设计中心 v1.70.00.03、CCS v8.0.0.00016

我在 CapTIvate 设计工作室中为 MSP430FR2632IRGE 创建了一个简单的项目。  它具有2个自模式接近输入和1个具有4个输入的自模式滑块。

如果我在 CCS 中生成代码并编译 Release 编译(针对代码大小进行了优化)、CCS 中的内存分配视图将显示 RAM 48%、FRAM 64%。

如果我返回到设计中心并打开对该应用至关重要的"启用噪声抗扰度"选项、则生成的代码现在 为 RAM 54%、FRAM 96%!!

我非常怀疑我的应用代码只能存储在4%的 FRAM 中、我真的不想在闪存已满的情况下交付新产品。

 

您能不能在 CapSense 库中建议减小代码大小的方法?

我的应用程序中不需要 printf/scanf 的任何支持。  我可以完全消除这一点吗?  我看到一个编译选项、用于设置"最小"printf/scanf 支持、但不能完全消除它。