【电路笔记 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的时钟已经使能。
相关推荐
万事可爱^1 小时前
GitHub爆火开源项目——RustScan深度拆解
c语言·开发语言·rust·开源·github·rustscan
普通网友2 小时前
高性能TCP服务器设计
开发语言·c++·算法
普通网友2 小时前
C++与硬件交互编程
开发语言·c++·算法
冉佳驹2 小时前
数据结构 ——— 八大排序算法的思想及其实现
c语言·数据结构·排序算法·归并排序·希尔排序·快速排序·计数排序
大筒木老辈子2 小时前
Git笔记---远程仓库的创建与基本操作
笔记·git
风123456789~3 小时前
【健康管理】健康管理师-考试范围
笔记·健康管理
Elias不吃糖3 小时前
整合了c++里面常用的STL及其常用API
开发语言·c++·学习·stl
Hello_Embed3 小时前
FreeRTOS 入门(四):堆的核心原理
数据结构·笔记·学习·链表·freertos·
FLPGYH4 小时前
BMC 深度解析:服务器带外管理的核心技术架构与实践
linux·服务器·c++·驱动开发
烧冻鸡翅QAQ4 小时前
考研408笔记——数据结构
数据结构·笔记·考研