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

📄 readme.txt

📁 This directory contains example ADSPBF535 code, written in assembly, that changes the frequency and
💻 TXT
字号:
ADSPBF535 EZ-KIT Lite pwr_mgmt 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 ADSPBF535 code, written in assembly, that changes the 
frequency and voltage using the push button switches on the board.

Files contained in this directory:

readme.txt		this file
pwr_mgmt.asm		assembly file for the power management routine 
pwr_mgmt.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 pwr_mgmt demo contains a routine that implements frequency and voltage changes by pushing
switch 4, 5, or 6 on the board.


II.  IMPLEMENTATION DESCRIPTION

The ADSP-BF535 is loaded with the pwr_mgmt program.
The main module performs the following:

1. The GP I/O's are set to outputs.
2. Interrupts are enabled for PF4, PF5, and PF6.
3. The main code stays in a waiting loop until external interrupt is generated from switch 4, 5, or 6.
4. In interrupt service routine, code determines which switch (i.e. switch 4, 5, or 6) was 
   pushed.  Based on this information, code sets up frequency and voltage change parameters.
5. Upon completion of interrupt service routine, program flow goes back to the waiting loop until
   another switch (i.e. switch 4, 5, or 6) is pushed. 

III.  OPERATION DESCRIPTION

- Open the project "pwr_mgmt.dpj" in the VisualDSP Integrated Development and Debugger Environment (IDDE).
- Under the "Project" menu, select "Build Project".
- Open a ADSPBF535 EZ-KIT Lite session in the IDDE.
- Load "pwr_mgmt.DXE" 
- Place breakpoints as desired to see the operation of the program.
- Focus on the ADSP-BF535 and select "RUN" from the debug menu.
- By pushing switch 4, the frequency and voltage become 300MHz and 1.5 volts.  LED4 is on 
  when the part is running at 300MHz.
- By pushing switch 5, the frequency and voltage become 160MHz and 1.2 volts.  LED1 is on 
  when the part is running at 160MHz.
- By pushing switch 6, the frequency and voltage become 100MHz and 1.0 volts.  LED2 is on 
  when the part is running at 100MHz.

⌨️ 快捷键说明

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