Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Data Sheet

Product codes
ATSAM4E-XPRO
Page of 1506
1343
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
45.5
Product Dependencies
45.5.1 Power Management
The AFE Controller is not continuously clocked. The programmer must first enable the AFE Controller MCK in the
Power Management Controller (PMC) before using the AFE Controller. However, if the application does not
require AFEC operations, the AFEC clock can be stopped when not needed and restarted when necessary.
Configuring the AFE Controller does not require the AFEC clock to be enabled.
45.5.2 Interrupt Sources
The AFEC interrupt line is connected on one of the internal sources of the Interrupt Controller. Using the AFEC
interrupt requires the interrupt controller to be programmed first.
45.5.3 Analog Inputs
The analog input pins can be multiplexed with PIO lines. In this case, the assignment of the AFEC input is
automatically done as soon as the corresponding channel is enabled by writing the register AFEC_CHER. By
default, after reset, the PIO line is configured as input with its pull-up enabled and the AFEC input is connected to
the GND.
45.5.4 Temperature Sensor
The temperature sensor is connected to Channel 15 of the AFEC.
The temperature sensor provides an output voltage V
T
 that is proportional to absolute temperature (PTAT). To
activate the temperature sensor, TSON bit (AFEC_ACR) needs to be set.
45.5.5 I/O Lines
The AFE_ADTRG pin may be shared with other peripheral functions through the PIO Controller. In this case, the
PIO Controller should be set accordingly to assign the AFE_ADTRG pin to the AFEC function.
Table 45-2.
Peripheral IDs
Instance
ID
AFEC0
30
AFEC1
31
Table 45-3.
I/O Lines
Instance
Signal
I/O Line
Peripheral
AFEC0
AFE0_ADTRG
PA8
B
AFEC0
AFE0_AD0
PA17
X1
AFEC0
AFE0_AD1
PA18
X1
AFEC0
AFE0_AD2/WKUP9
PA19
X1
AFEC0
AFE0_AD3/WKUP10
PA20
X1
AFEC0
AFE0_AD4/RTCOUT0
PB0
X1
AFEC0
AFE0_AD5/RTCOUT1
PB1
X1
AFEC0
AFE0_AD6
PC13
X1
AFEC0
AFE0_AD7
PC15
X1
AFEC0
AFE0_AD8
PC12
X1
AFEC0
AFE0_AD9
PC29
X1