TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320F280025: 程序离线运行,校准函数“Device_cal”在什么时候用比较好?

Part Number:TMS320F280025

Device_cal程序离线运行,校准函数“Device_cal”在什么时候用比较好?

例程“launchxl_ex1_f280025c_demo”中,“Device_cal”没有使用是什么原因?

Green Deng:

你好,看一下这个帖子中的说明:https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/902917/tms320f280049-why-call-device_cal-function-at-the-condition-of-ifndef-_flash-when-run-using-debugger?tisearch=e2e-sitesearch&keymatch=%2525252522Device_cal%2525252522# 

,

user6414500:

感谢回复,链接中的回答如,按照该回答,我有两个疑问:

1、如果程序在FLASH中离线运行,校准函数“Device_cal”是自动运行的,可以直接删掉?

2、如果程序仿真运行,即使校准函数“Device_cal”是灰色的,处于未编译状态,也会执行?

,

user6414500:

哈喽 麻烦解答一下

,

Green Deng:

1、是的,flash运行的时候不需要执行 Device_Cal。

2、https://e2echina.ti.com/support/microcontrollers/c2000/f/c2000-microcontrollers-forum/82675/device_cal 

,

user6414500:

感谢回复,FLASH这块理解了。

如果是仿真阶段,在点击CCS的reset后仍然是从bootrom开始运行的,既然从bootroom运行,那么也可以不用执行校准函数“Device_cal”,为什么还需要再次调用?

赞(0)
未经允许不得转载:TI中文支持网 » TMS320F280025: 程序离线运行,校准函数“Device_cal”在什么时候用比较好?
分享到: 更多 (0)