CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 DSP编程

文件名称:CpuTimer2

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2012-11-16
  • 文件大小:
    711byte
  • 已下载:
    0次
  • 提 供 者:
    q**
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

定时器 2 实验

F2812 上有3 个 32 位的 CPU 定时器,本程序主要对 CPU 定时器 2 进行操作,

200MS 产生一次中断。使用时,按以下步骤进行:

(1)点击“CCS”,启动Code Composer Studio 开发环境

(2)点击【project】􀃆 【Open…】打开“CpuTimer2”文件夹下的“CpuTimer2.PJT”。

(3)重新编译完毕。

(4)点击【File】􀃆 【Load Program…】,选择“CpuTimer2”文件夹下的“DEBUG”

中的“CpuTimer2.OUT”文件,点击【打开】。

长沙智创电子 专业嵌入式(DSP、ARM)系统开发板、解决方案供应商

TMS320F2812 学习板用户手册

0731-2253687 QQ:21483112

(5)点击【Debug】􀃆 【Run】或左侧快捷键图标,全速运行。在定时器中断子

函数中,我们打上断点,当定时器2 产生中断时,CCS 就会停在断点处。如下图所示。

注意:TIMER0 属于CPU 外部中断,由PIE 管理,而TIMER2 属于CPU 内部中断,由

CPU 直接管理。两者的具体编程方法有差别,请用户注意软件中的细节。

注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】􀃆 【Reset CPU】,

然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Timer 2 Experimental

F2812 on three 32-bit CPU timer, this program is the main CPU timer 2

200MS generate an interrupt. Use, follow these steps:

(1) click on the "CCS", start the Code Composer Studio development environment

(2) Click the [project] 􀃆 [Open ...] and open the "CpuTimer2 the folder CpuTimer2.PJT".

(3) re-compile is completed.

(4) Click [File] 􀃆 [the Load the Program ...], select "CpuTimer2" folder under the DEBUG

In the "CpuTimer2.OUT" file, click [Open].

The Changsha Chi Electronics Professional Embedded (DSP, ARM) system development board, and solution providers

TMS320F2812 learning board user manual

0731-2253687 QQ: 21,483,112

(5) Click [Debug] 􀃆 , [Run] or the left side of the shortcut icon, running at full speed. In the timer interrupt sub-

Function, we marked a breakpoint, when Timer 2 to generate an interrupt, the CCS will stop at the breakpoint. As shown below.

Note: TIMER0 belongs to the CPU external interrupts from the PIE m
(系统自动生成,下载前可以参看下载内容)

下载文件列表

CpuTimer2.c

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com