文件名称:DSP28_XIntrupt
介绍说明--下载内容均来自于网络,请自行研究使用
Exint 外部中断实验
本学习板上用微动按键扩展了一个外部中断源,当该微动按键被按下时,就会引起中断,
从而进入中断程序。
(1)点击“CCS”,启动Code Composer Studio 开发环境
(2)点击【project】 【Open…】打开“ExRam”文件夹下的“ExRam.PJT”。
(3)重新编译完毕。
(4)点击【File】 【Load Program…】,选择“ExRam”文件夹下的“DEBUG”中
的“ExRam.OUT”文件,点击【打开】。
(5)按下图所示,在EXTINTISR 中断处理函数中设置如下断点。
(6)点击【Debug】 【Run】或左侧快捷键图标,全速运行。当按下板子上的
EXT_INT 按键时,程序就会停在断点处,表示DSP 已经识别到中断信号。
注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】 【Reset CPU】,
然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Exint external interrupt experiment
This learning board micro-button expansion of an external interrupt source will cause an interrupt when the micro button is pressed,
To enter the interrupt program.
(1) click on the "CCS", start the Code Composer Studio development environment
(2) Click the [project] [Open ...] and open the "ExRam the folder ExRam.PJT".
(3) re-compile is completed.
(4) Click [File] [the Load the Program, select "ExRam" folder under the "DEBUG"
The "ExRam.OUT" file, click on [open].
(5) shown below, set the following breakpoints in the EXTINTISR interrupt handler.
(6) Click [Debug] , [Run] or the left side of the shortcut icon, running at full speed. When the board is pressed
EXT_INT button, the program will stop at the breakpoint, the DSP have been identified to the interrupt signal.
Note: If the discovery process can not run correctly or the program running, you can visit the CCS [Debug] [Reset CPU]
And then re-
本学习板上用微动按键扩展了一个外部中断源,当该微动按键被按下时,就会引起中断,
从而进入中断程序。
(1)点击“CCS”,启动Code Composer Studio 开发环境
(2)点击【project】 【Open…】打开“ExRam”文件夹下的“ExRam.PJT”。
(3)重新编译完毕。
(4)点击【File】 【Load Program…】,选择“ExRam”文件夹下的“DEBUG”中
的“ExRam.OUT”文件,点击【打开】。
(5)按下图所示,在EXTINTISR 中断处理函数中设置如下断点。
(6)点击【Debug】 【Run】或左侧快捷键图标,全速运行。当按下板子上的
EXT_INT 按键时,程序就会停在断点处,表示DSP 已经识别到中断信号。
注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】 【Reset CPU】,
然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Exint external interrupt experiment
This learning board micro-button expansion of an external interrupt source will cause an interrupt when the micro button is pressed,
To enter the interrupt program.
(1) click on the "CCS", start the Code Composer Studio development environment
(2) Click the [project] [Open ...] and open the "ExRam the folder ExRam.PJT".
(3) re-compile is completed.
(4) Click [File] [the Load the Program, select "ExRam" folder under the "DEBUG"
The "ExRam.OUT" file, click on [open].
(5) shown below, set the following breakpoints in the EXTINTISR interrupt handler.
(6) Click [Debug] , [Run] or the left side of the shortcut icon, running at full speed. When the board is pressed
EXT_INT button, the program will stop at the breakpoint, the DSP have been identified to the interrupt signal.
Note: If the discovery process can not run correctly or the program running, you can visit the CCS [Debug] [Reset CPU]
And then re-
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DSP28_XIntrupt.c