Location:
Search - F2812 CPU TIMER
Search list
Description: 用于F2812 CPU定时器使用的一段程序,给出了一般如何初始化的CPU定时器的方法-F2812 CPU for a period of timer used in the procedure are given in general how to initialize the CPU timer method
Platform: |
Size: 135168 |
Author: 按时法 |
Hits:
Description: F2812上有3个32位的CPU定时器,本程序主要对CPU定时器0进行操作,100MS产生1次中断,在中断中让开发板上的L1、L3、L5、L7和L2、L4、L6、L8两组发光二极管交替闪烁。-F2812 has the three 32-bit CPU timer, the procedure mainly CPU timer 0 operation, 100MS generated one time interrupted, an interruption in the development of on-board so that the L1, L3, L5, L7 and L2, L4, L6 , L8 two alternating flashing light-emitting diodes.
Platform: |
Size: 135168 |
Author: 龙天啸 |
Hits:
Description: F2812上有3个32位的CPU定时器,本程序主要对CPU定时器0进行操作,100MS产生1次中断,在中断中让 2812开发板上的L1—L8发光二极管闪烁,实现跑马灯的效果。-F2812 has the three 32-bit CPU timer, the procedure mainly CPU timer 0 operation, 100MS generated one time interrupted, an interruption in 2812 to allow the development of L1-L8 panel LED flashing marquees realize the effect of .
Platform: |
Size: 136192 |
Author: 龙天啸 |
Hits:
Description: 1.掌握定时器典型应用方法,了解相应寄存器的作用和编程应用;
2. 了解TMS320F2812的中断结构和对中断的处理流程。
二.实验设备
1.PC机一台,操作系统为WindowsXP (或Windows98、Windows2000),安装了ccs3.1;
2.TI 2000系列的TMS320F2812 eZdsp开发板一块;
3.扩展实验箱一台。
三.实验原理
1.TMS320F2812器件上有3个32位定时器(图3.1)(TIMER0/1/2)。
CPU定时器1和2预留给系统(如DSP-BIOS)使用,CPU定时器0可以在用户应用程序中使用。
在F2812芯片中,定时器中断信号(TINT0、TINT1、TINT2)
-1. Typical application of the timer control, to understand the role of the corresponding register and programming applications 2. To understand the structure and TMS320F2812 interrupt interrupt processing. 2. Experimental device 1. PC machine, the operating system is WindowsXP (or Windows98, Windows2000), installed ccs3.1 2. TI 2000 Series TMS320F2812 eZdsp development board 1 3. Extended test case one. 3. Experimental Principle 1. TMS320F2812 device has three 32-bit timer (Figure 3.1) (TIMER0/1/2). CPU Timer 1 and 2 reserved for the system (such as DSP-BIOS) to use, CPU Timer 0 can be used in user application. In F2812 chip, the timer interrupt signal (TINT0, TINT1, TINT2)
Platform: |
Size: 1006592 |
Author: jiangxiao |
Hits:
Description: f2812定时器实例,包括3个例子,两个关于CPU定时的,一个是EV定时的-f2812 timer instance, includes three examples, two of CPU time, one is the EV-timed
Platform: |
Size: 811008 |
Author: 贺腾 |
Hits:
Description: F2812 利用定时器CpuTimer0中断,实现LED亮1s,灭1s。 (CCS3.3开发环境下) 功 能:通过使用CPU定时器来控制LED D3的亮和灭 说 明:D3与引脚XF相连,XF为低电平时,D3亮;XF为高电平时,D3灭。频率为1Hz,即每隔1s钟,D3被点亮。间隔时间由CpuTimer0来控制。-F2812 using timer interrupt CpuTimer0, the LED light 1s, off 1s. Features: CPU timer to control through the use of bright LED D3 and off instructions: D3 is connected with pin XF, XF is low, D3 bright XF is high, D3 off. Frequency of 1Hz, ie 1s-minute intervals, D3 is lit. Controlled by the CpuTimer0 interval.
Platform: |
Size: 96256 |
Author: 奋斗不止 |
Hits:
Description: 定时器0 实验
F2812 上有3 个 32 位的 CPU 定时器,本程序主要对 CPU 定时器 0 进行操作,
100MS 产生一次中断。使用时,按以下步骤进行:
(1)点击“CCS”,启动Code Composer Studio 开发环境
(2)点击【project】 【Open…】打开“CpuTimer0”文件夹下的“CpuTimer0.PJT”。
(3)重新编译完毕。
(4)点击【File】 【Load Program…】,选择“CpuTimer0”文件夹下的“DEBUG”
中的“CpuTimer0.OUT”文件,点击【打开】。
(5)点击【Debug】 【Run】或左侧快捷键图标,全速运行。在定时器中断子
函数中,我们打上断点,当定时器0 产生中断时,CCS 就会停在断点处。如下图所示。
注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】 【Reset CPU】,
然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-Timer 0 experiment
F2812 on three 32-bit CPU timer, this program is the main CPU Timer 0
100MS generate an interrupt. Use, follow these steps:
(1) click on the "CCS", start the Code Composer Studio development environment
(2) Click on the [project] [Open ...] to open the folder under "CpuTimer0 the" CpuTimer0.PJT ".
(3) re-compile is completed.
(4) Click [File] [the Load the Program ...] select "CpuTimer0, folder under" the DEBUG
In the "CpuTimer0.OUT" file, click [Open].
(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 0 to generate an interrupt, the CCS will stop at the breakpoint. As shown below.
Note: If the discovery process can not run correctly or the program running, you can visit the CCS [Debug] [Reset CPU]
And then re-Load program. If you still can not run correctly or the program running, re-power on to learn bo
Platform: |
Size: 1024 |
Author: q |
Hits:
Description: 定时器 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
Platform: |
Size: 1024 |
Author: q |
Hits:
Description: EV 定时器实验
F2812 上有两个事件管理器 EVA、EVB,本程序主要对事件管理定时器1 和定时器2
进行操作,目的是让用户熟悉EV 事件管理器的编程方法。
(1)点击“CCS”,启动Code Composer Studio 开发环境
(2)点击【project】 【Open…】打开“EvTimer”文件夹下的“EvTimer.PJT”。
(3)重新编译完毕。
(4)点击【File】 【Load Program…】,选择“EvTimer”文件夹下的“DEBUG”中
的“EvTimer.OUT”文件,点击【打开】。按下图所示,设置断点。(5)点击【Debug】 【Run】或左侧快捷键图标,全速运行。当产生中断时,
CCS 就会停在断点处。
注:如果发现程序不能正确运行或程序跑飞,可点击CCS 中【Debug】 【Reset CPU】,
然后重新Load 程序。如果还是不能正确运行或程序跑飞,可给学习板和仿真器重新上电。-EV timer experiment
F2812 two events manager EVA, EVB, the procedure event management timer 1 and timer 2
Operation, the purpose is to make users familiar with the EV event management programming.
(1) click on the "CCS", start the Code Composer Studio development environment
(2) Click on the [project] [Open ...] to open the folder under "EvTimer the" EvTimer.PJT ".
(3) re-compile is completed.
(4) Click [File] [the Load the Program ...], select "EvTimer file folder under the" DEBUG "
The "EvTimer.OUT" file, click on [open]. As shown below, set a breakpoint.
(5) Click [Debug] , [Run] or the left side of the shortcut icon, running at full speed. When an interrupt is generated,
CCS will stop at the breakpoint.
Note: If the discovery process can not run correctly or the program running, you can visit the CCS [Debug] [Reset CPU]
And then re-Load program. If you still can not run correctly or the program running, re-power on to learn boar
Platform: |
Size: 1024 |
Author: q |
Hits:
Description: F2812上有3个32位的CPU定时器,本程序主要对CPU定时器进行操作,100MS产生一次中断。-There are three 32-bit CPU timers F2812, this program focuses on CPU timer operation, 100MS generates an interrupt.
Platform: |
Size: 246784 |
Author: 李健 |
Hits: