CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - program at91sam7a3 in iar
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - program at91sam7a3 in iar - List
[
Other Embeded program
]
AT91SAM7X256-PMC-IAR
DL : 0
程序说明: 一、开发环境 1、开发板:AT91SAM7X256 -EK 2、仿真器:SAM-ICE(ATMEL) 3、开发软件:IAR4_30A-1_2(IAR) 二、程序功能 1、程序目的:介绍AT91SAM7X256 PWC的基本用法: 2、 功能说明: 1)、通过PWC设置系统时钟 2)、通过PWC设置各外设时钟 3)、通过PWC的可编程外部时钟信号PCK0输出4.608M时钟 3)、进入空闲模式 三、开发板设置 1、依据AT91SAM7A3-EK使用向导,设置好开发板(最小系统). 2、在IAR环境下打开程序,运行。 用示波器观察PB20脚的波形。( PB20对应开发板J16 B 21脚或者S18--PB20) 3、其它PCK1-PCK3的设置可参照PCK0的设置。 4、按复位键可以将系统从空闲模式中唤醒,程序重新执行。 5、FIQ 中断将系统从空闲模式中唤醒。 用一根普通导线一端接地,另一端触碰 J16 A的30脚 , 可见LED2的状态改变 ****注意:由于系统进入了空闲模式(LED不闪烁),再次调试时回无法进行,解决办法是按下复位按键在LED闪烁时(方法1:还未进入空闲模式时//////方法2:选择"忽略"即可)加载,调试程序。-Description of the procedures: First, the development environment 1 development board: AT91SAM7X256-EK 2 emulator: SAM-ICE (ATMEL) 3, development of software: IAR4_30A-1_2 (IAR) Second, the program features 1, the program aims: To introduce the basic usage AT91SAM7X256 PWC: 2, Function: 1), set the system clock through the PWC 2) Set the peripheral clock by PWC 3), by PWC external clock signal PCK0 programmable clock output 4.608M 3), enter the idle mode Third, development board settings 1, according to AT91SAM7A3-EK using the wizard, set a good development board (minimum system). 2, in the IAR environment, open the program, run. PB20 pin with an oscilloscope waveform. (PB20 corresponding development board J16 B 21 feet, or S18- PB20) 3, other PCK1-PCK3 settings can refer PCK0 settings. 4, press the reset button can wake the system from idle mode, the program re-run. 5, FIQ interrupt will wake the syst
Date
: 2026-01-09
Size
: 602kb
User
:
Tina
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.