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.

TMS320LF2406 反复关闭开启定时器中断随机导致T1下溢中断异常

【芯片型号】TMS320LF2406

【CCS版本】CCS V3.3

【问题描述】

        使用定时器T1下溢中断,程序运行分为两种状态,停机和运行,上电后,能正常进入定时器下溢中断,当某次(随机)停止运行后,则无法再次进入定时器下溢中断。每次状态切换都需要执行下面描述的程序:

       开始运行时,执行  

                     MC_StopUninit( );  

                     MC_RunInit( );

      停止运行时,执行

                     MC_RunUninit( );  

                     MC_StopUninit( );

       具体函数见附件。

【备注】windows xp sp3