Contents
Description
Features
1. Prerequisites
1.1. SAM V71 Xplained Ultra Evaluation Kit
1.2. SAM V71 Xplained Ultra Software Package
1.3. Atmel Studio 6
2. AFEC Software Package and User Interface
2.1. AFEC Software Package Library Introduction
2.1.1. Overview of AFEC Functions
2.1.2. Software Package AFEC Macro Definitions
2.2. Add the AFEC Library Files to the Project
3. AFEC Module Introduction
3.1. Functional Description
3.2. Getting Started with the AFEC
3.2.1. Enabling the AFEC
3.2.1.1. PMC and AFEC Control Register
3.2.1.2. Enable the Programmable Gain Amplifier
3.2.2. Configuring the AFEC Mode Register
3.2.2.1. Tracking, Transfer and Startup Timings Value
3.2.2.2. AFEC Clock and PRESCAL
3.2.2.3. Additional AFEC_MR Bits
3.2.3. Starting a Conversion
4. How Use the AFEC
4.1. Programming Sequence
5. Application Example
5.1. AFEC Main Configuration
5.2. Terminal Window Configuration
5.3. Bench Setup
5.4. Results
5.4.1. Single-Ended with Software Trigger
5.4.2. Single-Ended with Software Trigger with averaging ON
5.4.3. Single-Ended, Dual Sample-and-Hold with Software Trigger
5.4.4. 5.4.4 Single-Ended, Dual Sample-and-Hold with Software Trigger with Averaging ON
6. Reference Documents
7. Appendix: Example Application Source Code
8. Revision History
9. Legal Disclaimer