文件名称:AT91SAM7X256-PMC-IAR
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 602kb
- 下载次数:
- 0次
- 提 供 者:
- T***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
程序说明:
一、开发环境
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:选择"忽略"即可)加载,调试程序。-Descr iption 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
一、开发环境
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:选择"忽略"即可)加载,调试程序。-Descr iption 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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AT91SAM7X256-PMC-IAR\SAM7X-PMC.dep
....................\SAM7X-PMC.ewd
....................\SAM7X-PMC.ewp
....................\SAM7X-PWC-IAR.eww
....................\BINARY\Exe\SAM7X-PMC.bin
....................\......\...\SAM7X-PMC.sim
....................\......\List\Cstartup.lst
....................\......\....\SAM7X-PMC.map
....................\......\Obj\Cstartup.r79
....................\......\...\Cstartup_SAM7.r79
....................\......\...\dbgu.r79
....................\......\...\main.r79
....................\......\...\SAM7X-PMC.pbd
....................\FLASH_DEBUG\Exe\SAM7X-PMC.d79
....................\...........\...\SAM7X-PMC.sim
....................\...........\List\Cstartup.lst
....................\...........\....\SAM7X-PMC.map
....................\...........\Obj\Cstartup.r79
....................\...........\...\Cstartup_SAM7.r79
....................\...........\...\dbgu.r79
....................\...........\...\main.r79
....................\...........\...\SAM7X-PMC.pbd
....................\include\AT91SAM7X256.h
....................\.......\AT91SAM7X256.html
....................\.......\AT91SAM7X256.inc
....................\.......\AT91SAM7X256.rdf
....................\.......\AT91SAM7X256.tcl
....................\.......\AT91SAM7X256_inc.h
....................\.......\ioat91sam7x256.ddf
....................\.......\ioat91sam7x256.h
....................\.......\lib_AT91SAM7X256.h
....................\.......\arch-at91sam7x256\at91sam7x256_adc.h
....................\.......\.................\at91sam7x256_aic.h
....................\.......\.................\at91sam7x256_can.h
....................\.......\.................\at91sam7x256_can_mb.h
....................\.......\.................\at91sam7x256_ckgr.h
....................\.......\.................\at91sam7x256_dbgu.h
....................\.......\.................\at91sam7x256_emac.h
....................\.......\.................\at91sam7x256_mc.h
....................\.......\.................\at91sam7x256_pdc.h
....................\.......\.................\at91sam7x256_pio.h
....................\.......\.................\at91sam7x256_pitc.h
....................\.......\.................\at91sam7x256_pmc.h
....................\.......\.................\at91sam7x256_pwmc.h
....................\.......\.................\at91sam7x256_pwmc_ch.h
....................\.......\.................\at91sam7x256_rstc.h
....................\.......\.................\at91sam7x256_rttc.h
....................\.......\.................\at91sam7x256_spi.h
....................\.......\.................\at91sam7x256_ssc.h
....................\.......\.................\at91sam7x256_sys.h
....................\.......\.................\at91sam7x256_tc.h
....................\.......\.................\at91sam7x256_tcb.h
....................\.......\.................\at91sam7x256_twi.h
....................\.......\.................\at91sam7x256_udp.h
....................\.......\.................\at91sam7x256_usart.h
....................\.......\.................\at91sam7x256_vreg.h
....................\.......\.................\at91sam7x256_wdtc.h
....................\.......\.................\CVS\Entries
....................\.......\.................\...\Repository
....................\.......\.................\...\Root
....................\.......\HTML\AT91SAM7X256_ADC.html
....................\.......\....\AT91SAM7X256_AES.html
....................\.......\....\AT91SAM7X256_AIC.html
....................\.......\....\AT91SAM7X256_CAN.html
....................\.......\....\AT91SAM7X256_CAN_MB.html
....................\.......\....\AT91SAM7X256_CKGR.html
....................\.......\....\AT91SAM7X256_DBGU.html
....................\.......\....\AT91SAM7X256_EMAC.html
....................\.......\....\AT91SAM7X256_h.html
....................\.......\....\AT91SAM7X256_idx.html
....................\.......\....\AT91SAM7X256_list.html
....................\.......\....\AT91SAM7X256_MC.html
....................\.......\....\AT91SAM7X256_PDC.html
....................\.......\..
....................\SAM7X-PMC.ewd
....................\SAM7X-PMC.ewp
....................\SAM7X-PWC-IAR.eww
....................\BINARY\Exe\SAM7X-PMC.bin
....................\......\...\SAM7X-PMC.sim
....................\......\List\Cstartup.lst
....................\......\....\SAM7X-PMC.map
....................\......\Obj\Cstartup.r79
....................\......\...\Cstartup_SAM7.r79
....................\......\...\dbgu.r79
....................\......\...\main.r79
....................\......\...\SAM7X-PMC.pbd
....................\FLASH_DEBUG\Exe\SAM7X-PMC.d79
....................\...........\...\SAM7X-PMC.sim
....................\...........\List\Cstartup.lst
....................\...........\....\SAM7X-PMC.map
....................\...........\Obj\Cstartup.r79
....................\...........\...\Cstartup_SAM7.r79
....................\...........\...\dbgu.r79
....................\...........\...\main.r79
....................\...........\...\SAM7X-PMC.pbd
....................\include\AT91SAM7X256.h
....................\.......\AT91SAM7X256.html
....................\.......\AT91SAM7X256.inc
....................\.......\AT91SAM7X256.rdf
....................\.......\AT91SAM7X256.tcl
....................\.......\AT91SAM7X256_inc.h
....................\.......\ioat91sam7x256.ddf
....................\.......\ioat91sam7x256.h
....................\.......\lib_AT91SAM7X256.h
....................\.......\arch-at91sam7x256\at91sam7x256_adc.h
....................\.......\.................\at91sam7x256_aic.h
....................\.......\.................\at91sam7x256_can.h
....................\.......\.................\at91sam7x256_can_mb.h
....................\.......\.................\at91sam7x256_ckgr.h
....................\.......\.................\at91sam7x256_dbgu.h
....................\.......\.................\at91sam7x256_emac.h
....................\.......\.................\at91sam7x256_mc.h
....................\.......\.................\at91sam7x256_pdc.h
....................\.......\.................\at91sam7x256_pio.h
....................\.......\.................\at91sam7x256_pitc.h
....................\.......\.................\at91sam7x256_pmc.h
....................\.......\.................\at91sam7x256_pwmc.h
....................\.......\.................\at91sam7x256_pwmc_ch.h
....................\.......\.................\at91sam7x256_rstc.h
....................\.......\.................\at91sam7x256_rttc.h
....................\.......\.................\at91sam7x256_spi.h
....................\.......\.................\at91sam7x256_ssc.h
....................\.......\.................\at91sam7x256_sys.h
....................\.......\.................\at91sam7x256_tc.h
....................\.......\.................\at91sam7x256_tcb.h
....................\.......\.................\at91sam7x256_twi.h
....................\.......\.................\at91sam7x256_udp.h
....................\.......\.................\at91sam7x256_usart.h
....................\.......\.................\at91sam7x256_vreg.h
....................\.......\.................\at91sam7x256_wdtc.h
....................\.......\.................\CVS\Entries
....................\.......\.................\...\Repository
....................\.......\.................\...\Root
....................\.......\HTML\AT91SAM7X256_ADC.html
....................\.......\....\AT91SAM7X256_AES.html
....................\.......\....\AT91SAM7X256_AIC.html
....................\.......\....\AT91SAM7X256_CAN.html
....................\.......\....\AT91SAM7X256_CAN_MB.html
....................\.......\....\AT91SAM7X256_CKGR.html
....................\.......\....\AT91SAM7X256_DBGU.html
....................\.......\....\AT91SAM7X256_EMAC.html
....................\.......\....\AT91SAM7X256_h.html
....................\.......\....\AT91SAM7X256_idx.html
....................\.......\....\AT91SAM7X256_list.html
....................\.......\....\AT91SAM7X256_MC.html
....................\.......\....\AT91SAM7X256_PDC.html
....................\.......\..