Description: 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
File list (Check if you may need any files):
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
....................\.......\..