如標題,我目前在調適我得program的時候,調用DELAY_US()這個function,
他並未產生延時動作,這個部分可能跟甚麼有關,目前還未找出問題點
Any answer will be appreciate.
Andy
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.
如標題,我目前在調適我得program的時候,調用DELAY_US()這個function,
他並未產生延時動作,這個部分可能跟甚麼有關,目前還未找出問題點
Any answer will be appreciate.
Andy
你好,有没有测试过单步运行的时候,程序有没有执行到delay_us?以及单步运行的delay_us是否起作用?
另外,可以看一下这个帖子对该函数的说明:e2echina.ti.com/.../dsp28335-delay_us
您好,單步運行看起來沒有執行到。
另外帖子的設置已經檢查過,還是一樣的問題
如果直接定义DELAY_US(10000)呢?
程序上看不出什么问题,如果实在不行的话可能要用for循环来执行延时任务了。
您好,我這邊設置DELAY_US(50000000L)在示波器觀察延時才是1ms,
請問這是甚麼現象?