⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 RTC code on BF527 of ADI
💻 TXT
字号:
****************************************************************************************************

ADSP-BF537 EZ-KIT Lite RTC Example

Analog Devices, Inc.
DSP Division
Three Technology Way
Norwood, MA 02062

Date Created:	12/14/04

____________________________________________________________________________________________________


This directory contains an example ADSP-BF537 RTC project that does a basic blink routine and
then puts the part in deep sleep mode to be woken up from a RTC Stopwatch Event.  Once woken up,
the RTC is reconfigured to toggle the EZ KIT LEDs using RTC second, minute, hour, and day interrupts.


Files contained in this directory:

RTC.dpj							VisualDSP++ project file
RTC_stopwatch_wake.asm			assembly file for application code
readme.txt						this project description file
____________________________________________________________________________________________________


CONTENTS

I.	FUNCTIONAL DESCRIPTION
II.	IMPLEMENTATION DESCRIPTION
III.	OPERATION DESCRIPTION


I.    FUNCTIONAL DESCRIPTION

The RTC demo demonstrates the ability of the Real-Time Clock to wake the processor up after being
put into deep sleep mode and the processor's abilities to service real-time interrupts by toggling
LEDs in real time.

II.   IMPLEMENTATION DESCRIPTION

The main portion of the algorithm calls:

1. Setup_Interrupt_Vectors - overwrites the default EVTx values setup in startup.asm for EVTs used
2. Configure_Flash         - initializes the flash ports to have access to the EZKIT's LEDs
3. Blink_LEDs              - flashes the LEDs to show a running algorithm before going to deep sleep
4. GoTo_DeepSleepMode      - sets RTC wake-up event at 16 seconds, writes PLL_CTL to go to deep sleep
5. Configure_RTC           - after wake-up, resets RTC to toggle LEDs for real-time interrupts

III.  OPERATION DESCRIPTION

- Open the project "RTC.dpj" in an ADSP-BF537 EZ-KIT Lite session in the VisualDSP Integrated 
  Development Environment (IDDE).
- Under the "Project" tab, select "Build Project" (program is then loaded automatically into DSP).
- Select "Run" from the "Debug" tab on the menu bar of VisualDSP.
- Observe LEDs flashing and then getting "stuck" for 16 seconds while processor is in deep sleep.
- After 16 seconds, LED display clears and then:
	LED1 toggles every second
	LED2 toggles every minute
	LED3 toggles every hour
	LED4 toggles every day 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -