【电路笔记 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的时钟已经使能。
相关推荐
love530love7 小时前
【笔记】在 MSYS2(MINGW64)中正确安装 Rust
运维·开发语言·人工智能·windows·笔记·python·rust
南郁8 小时前
007-nlohmann/json 项目应用-C++开源库108杰
c++·开源·json·nlohmann·现代c++·d2school·108杰
xhyu618 小时前
【学习笔记】On the Biology of a Large Language Model
笔记·学习·语言模型
小白杨树树8 小时前
【SSM】SpringMVC学习笔记7:前后端数据传输协议和异常处理
笔记·学习
Felven9 小时前
C. Basketball Exercise
c语言·开发语言
可乐鸡翅好好吃9 小时前
通过BUG(prvIdleTask、pxTasksWaitingTerminatio不断跳转问题)了解空闲函数(prvIdleTask)和TCB
c语言·stm32·单片机·嵌入式硬件·bug·keil
菠萝019 小时前
共识算法Raft系列(1)——什么是Raft?
c++·后端·算法·区块链·共识算法
海棠蚀omo9 小时前
C++笔记-C++11(一)
开发语言·c++·笔记
阑梦清川10 小时前
HZOJ新手村前段时间的刷题的笔记
笔记