【电路笔记 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的时钟已经使能。
相关推荐
乌萨奇也要立志学C++7 分钟前
【C++详解】STL-list模拟实现(深度剖析list迭代器,类模板未实例化取嵌套类型问题)
c++·list
爱学习的小邓同学22 分钟前
数据结构 --- 队列
c语言·数据结构
闻缺陷则喜何志丹26 分钟前
【前缀和 BFS 并集查找】P3127 [USACO15OPEN] Trapped in the Haybales G|省选-
数据结构·c++·前缀和·宽度优先·洛谷·并集查找
笑衬人心。1 小时前
Java 17 新特性笔记
java·开发语言·笔记
序属秋秋秋2 小时前
《C++初阶之内存管理》【内存分布 + operator new/delete + 定位new】
开发语言·c++·笔记·学习
quant_19864 小时前
R语言如何接入实时行情接口
开发语言·经验分享·笔记·python·websocket·金融·r语言
啟明起鸣7 小时前
【网络编程】简易的 p2p 模型,实现两台虚拟机之间的简单点对点通信,并以小见大观察 TCP 协议的具体运行
c语言·网络·tcp/ip·p2p
宝山哥哥9 小时前
网络信息安全学习笔记1----------网络信息安全概述
网络·笔记·学习·安全·网络安全
十秒耿直拆包选手9 小时前
Qt:主窗体(QMainwindow)初始化注意事项
c++·qt
逼子格10 小时前
逻辑门电路Multisim电路仿真汇总——硬件工程师笔记
笔记·硬件工程师·multisim·电路仿真·逻辑门·硬件工程师学习·电路图