The software package provides a complete library for use with the AFEC.
To use the AFEC, six related files are required:
- …\samv71_Xplained_Ultra_softpack_1.3\libraries\libchip_samv7\include\afec.h
- …\samv71_Xplained_Ultra_softpack_1.3\libraries\libchip_samv7\source\afec.c
- …\samv71_Xplained_Ultra_softpack_1.3Atmel\samv71_Xplained_Ultra\libraries\libchip_samv7\include\samv7\component\component_afec.h
- …\ samv71_Xplained_Ultra_softpack_1.3Atmel
\Atmel\samv71_Xplained_Ultra\libraries\libboard_samv7-ek\board.h
- …\samv71_Xplained_Ultra_softpack_1.3\libraries\libchip_samv7\source\afe_dma.c
- …\samv71_Xplained_Ultra_softpack_1.3\libraries\libchip_samv7\include\afe_dma.h
There are two examples available for the AFEC:
- …\samv71_Xplained_Ultra_softpack_1.3\examples\afe12_dma
- …\samv71_Xplained_Ultra_softpack_1.3\examples\afe_temp_sensor
Tip: In this application note,
Atmel Studio 6 will be used as the Integrated Development Environment and the
“getting_started” example is used as a starting point to make the full implementation
from scratch, but any example can be used.
CAUTION: The getting-started
example is used as a basis to implement a user program. It is advised to clear the
main.c file by removing all the functions used for the getting-started implementation in
order to restart from a clean project.