【电路笔记 TMS320F28335DSP】DSP C2833x C/C++ 头文件和外设示例下载+controlsuite 示例使用

controlsuite

controlsuite示例及使用

导入项目


创建项目




配置模拟器

添加示例头文件

  • 添加示例头文件:
    • "C:\ti\controlSUITE\controlSUITE\device_support\f2833x\v132\DSP2833x_headers\include"

    • "C:\ti\controlSUITE\controlSUITE\device_support\f2833x\v132\DSP2833x_common\include"

    • 其中lib库 "C:\ti\controlSUITE\controlSUITE\device_support\f2833x\v132\DSP2833x_common\lib"的文件可以在Build Setting中设置,然后在cmd中添加 -l ,如 -l SFO_TI_Build.lib

  • 删除掉原有的28335_RAM_lnk.cmd
  • CMD文件夹下放置28335_RAM_lnk.cmd(或 F28335.cmd)、DSP2833x_Headers_nonBIOS.cmd
  • 拷贝一个示例项目到SRC(及必要的.c文件):C:\ti\controlSUITE\controlSUITE\device_support\f2833x\v132\DSP2823x_examples_ccsv4\sci_autobaud\Example_2823xSci_Autobaud.c,然后编译调试项目:

CCS软件仿真

c 复制代码
// *IMPORTANT*
   // The ADC_cal function, which  copies the ADC calibration values from TI reserved
   // OTP into the ADCREFSEL and ADCOFFTRIM registers, occurs automatically in the
   // Boot ROM. If the boot ROM code is bypassed during the debug process, the
   // following function MUST be called for the ADC to function according
   // to specification. The clocks to the ADC MUST be enabled before calling this
   // function.
   // See the device data manual and/or the ADC Reference
   // Manual for more information.

   ADC_cal();// 如果绕过了Boot ROM代码(例如,在调试过程中通过JTAG加载程序),就需要手动调用 ADC_cal() 函数来完成这个校准过程。此外,为了保证函数能够正确执行,必须确保ADC的时钟已经使能。
相关推荐
William Dawson19 小时前
2026软考中级系统集成项目管理工程师备考笔记
笔记·系统集成项目管理工程师
王老师青少年编程20 小时前
csp信奥赛C++高频考点专项训练之贪心算法 --【哈夫曼贪心】:合并果子
c++·算法·贪心·csp·信奥赛·哈夫曼贪心·合并果子
叼烟扛炮20 小时前
C++第二讲:类和对象(上)
数据结构·c++·算法·类和对象·struct·实例化
样例过了就是过了1 天前
LeetCode热题100 最长公共子序列
c++·算法·leetcode·动态规划
谭欣辰1 天前
C++ 排列组合完整指南
开发语言·c++·算法
love530love1 天前
精简版|Claude-HUD 插件介绍 + 一键安装教程
人工智能·windows·笔记
代码中介商1 天前
银行管理系统的业务血肉 —— 流程、状态机、输入校验与持久化(下篇)
c语言·算法
想成为优秀工程师的爸爸1 天前
第三十篇技术笔记:郭大侠学UDS - 人有生老三千疾,望闻问切良方医
网络·笔记·网络协议·tcp/ip·信息与通信
橙子也要努力变强1 天前
信号捕捉底层机制-机理篇2
linux·服务器·c++
盐焗鹌鹑蛋1 天前
【C++】stack和queue类
c++