bf535-rtc-example-code
所属分类:DSP编程
开发工具:C/C++
文件大小:32KB
下载次数:2
上传日期:2013-04-02 08:12:14
上 传 者:
wanjin3
说明: bf535 rtc example code.zip
535 实时时钟程序 blackfin系列可以借鉴
(the bf535 rtc example code.zip 535 real-time clock program blackfin series can learn)
文件列表:
bf535 rtc example code (0, 2012-10-10)
bf535 rtc example code\bf535 rtc example code (0, 2012-10-10)
bf535 rtc example code\bf535 rtc example code\rtc (0, 2012-10-10)
bf535 rtc example code\bf535 rtc example code\rtc\ADSP-BF535_asm.ldf (2916, 2006-04-28)
bf535 rtc example code\bf535 rtc example code\rtc\Debug (0, 2012-07-05)
bf535 rtc example code\bf535 rtc example code\rtc\rtc.asm (7384, 2005-02-15)
bf535 rtc example code\bf535 rtc example code\rtc\rtc.asmPreview (43827, 2012-03-28)
bf535 rtc example code\bf535 rtc example code\rtc\rtc.dpj (3475, 2012-03-12)
bf535 rtc example code\bf535 rtc example code\rtc\rtc.dpj.bak (3822, 2005-02-15)
bf535 rtc example code\bf535 rtc example code\rtc\rtc.pcf (535, 2012-03-14)
ADSP-BF535 EZ-KIT Lite rtc Demo
Analog Devices, Inc.
DSP Division
Three Technology Way
P.O. Box 9106
Norwood, MA 02062
Date Created: 1/30/02
This directory contains example ADSP-BF535 code that demonstrates the use of
the real time clock and general purpose I/O pins by blinking LEDs on the board upon a
seconds interrupt.
Files contained in this directory:
readme.txt this file
rtc.asm assembly file for the real time clock routine
rtc.dpj VisualDSP++ project file
ADSP-BF535_asm.ldf linker description file
_________________________________________________________________
CONTENTS
I. FUNCTION/ALGORITHM DESCRIPTION
II. IMPLEMENTATION DESCRIPTION
III. OPERATION DESCRIPTION
I. FUNCTION/ALGORITHM DESCRIPTION
The rtc demo contains an implementation of a subroutine that utilizes the real time clock
to generate an interrupt every second. LED 1 blinks when the seconds interrupt is processed.
II. IMPLEMENTATION DESCRIPTION
The ADSP-BF535 is loaded with the rtc program.
The main modules perform the following:
1. The GP I/O PF1 is set to output.
2. The real time clock seconds interrupt is enabled.
3. Program code remains in a waiting loop.
4. Upon seconds interrupt generation, program flow jumps to interrupt service routine.
5. In interrupt service routine, LED 1 is programmed to blink.
6. Upon completion of interrupt service routine, program flow jumps back to waiting loop.
7. Steps 4, 5, 6, and 7 repeat.
III. OPERATION DESCRIPTION
- Open the project "rtc.dpj" in the VisualDSP Integrated Development and Debugger Environment (IDDE).
- Under the "Project" tab, select "Build Project".
- Open a ADSP-BF535 EZ-KIT Lite session in the Debugger.
- Load "rtc.DXE"
- Place breakpoints as desired to see the operation of the program.
- Focus on the ADSP-BF535 and select "RUN" from the menu bar.
- View the LEDs on the EZ-KIT Lite to see the real time clock in action.
近期下载者:
相关文件:
收藏者: