需要一个时间上的延迟。麻烦讲的细一些,每步的汇编语言。。。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
zhiyun
在controlSUITE中C:\ti\controlSUITE\device_support\f2833x\v133\DSP2833x_common\source有下面这个函数
DSP2833x_usDelay.asm
在头文件中,如F2833x_Examples.h,添加声明
#define DELAY_US(A) DSP28x_usDelay(((((long double) A * 1000.0L) / (long double)CPU_RATE) - 9.0L) / 5.0L)
就可以在源文件中调用DELAY_US这个函数:
DELAY_US(1000);//延时1ms
具体可查找例程C:\ti\controlSUITE\device_support\f2833x\v133\DSP2833x_examples_ccsv4\adc_soc
Eric