Description: atmel官方的sam7x256芯片在keil编译环境下的全部源代码,以工程形式提供。-official sam7x256 atmel chip keil build environment in the whole of the source code, As for the form. Platform: |
Size: 2822144 |
Author:韩兆伟 |
Hits:
Description: 程序说明:
一、开发环境
1、开发板:AT91SAM7X256-EK
2、仿真器:SAM-ICE(ATMEL)
3、开发软件:IAR4_30A-1_2(IAR)
二、程序功能
1、程序目的:介绍AT91SAM7X256 ADC的基本用法:
2、 功能说明: ADC测试--用ADC0_AD3作为模拟开关
三、开发板设置
1、依据AT91SAM7X256-EK使用向导,设置好开发板(最小系统).
2、J13的1、2脚短接,选用MN2的输出电压作为ADC的参考电压
3、运行程序,用导线将J26的2端口与地相连
(模拟输入0V电压),可见LED0灭,LED1亮。
2端口与1端口相连(模拟输入3V电压)可见LED1灭,LED0亮。-Procedure Description: First, a development environment, development board: AT91SAM7X256-EK 2, emulator: SAM-ICE (ATMEL) 3, development of software: IAR4_30A-1_2 (IAR) 2, the program features one, the program Objective: To introduce AT91SAM7X256 ADC' s Basic Usage: 2, Function Description: ADC test- with ADC0_AD3 as analog switch 3, the board set up one, based on AT91SAM7X256-EK using the wizard, set a good development board (minimum system). 2, J13 1,2 feet shorter then , choose the output voltage of MN2 as the ADC' s reference voltage 3, run the program, using wire to J26 of the two-port connected with the ground (0V analog input voltage), we can see LED0 eliminate, LED1 light. 2-port with a port connected to (3V analog input voltage) can be seen LED1 eliminate, LED0 bright. Platform: |
Size: 614400 |
Author:Tina |
Hits: