【电路笔记 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的时钟已经使能。
相关推荐
Anesthesia丶1 小时前
PromoxVE安装笔记
笔记·ubuntu·server·promox
疯狂打码的少年1 小时前
【数据结构】顺序表 vs 链表的对比与选择
数据结构·笔记·链表
码匠许师傅8 小时前
【C++ 面试真题】C++ 的 const 和 constexpr 有什么区别?
c++·面试
坚持编程的菜鸟9 小时前
模拟实现memmove
c语言·算法·模拟实现memmove
果果燕11 小时前
实习笔记(一):NFS、Samba、VNC、Git、CMake、systemd、内核、交叉编译
linux·arm开发·c++·笔记·git
坚持编程的菜鸟11 小时前
编写判断大小端程序
c语言·算法·判断大小端
牛艺翔11 小时前
C++基础
开发语言·c++
键盘会跳舞11 小时前
C++ :容器适配器stack源码级拆解
开发语言·c++··stack·先进后出
不负岁月无痕12 小时前
简单理解操作系统结构
java·linux·c语言·开发语言·c++·面试
余额瞒着我当琳12 小时前
C++模板初阶与STL初探
android·java·c++