Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
1063
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
42.5
Product Dependencies
42.5.1 Power Management
The ADC Controller is not continuously clocked. The programmer must first enable the ADC Controller MCK in the 
Power Management Controller (PMC) before using the ADC Controller. However, if the application does not 
require ADC operations, the ADC Controller clock can be stopped when not needed and restarted when 
necessary. Configuring the ADC Controller does not require the ADC Controller clock to be enabled.
42.5.2 Interrupt Sources
The ADC interrupt line is connected on one of the internal sources of the Interrupt Controller. Using the ADC 
interrupt requires the interrupt controller to be programmed first.
42.5.3 Analog Inputs
The analog input pins can be multiplexed with PIO lines. In this case, the assignment of the ADC input is 
automatically done as soon as the corresponding channel is enabled by writing the register ADC_CHER. By 
default, after reset, the PIO line is configured as input with its pull-up enabled and the ADC input is connected to 
the GND.
42.5.4 Temperature Sensor
The temperature sensor is internally connected to channel index 15 of the ADC.
The temperature sensor provides an output voltage V
T
 that is proportional to the absolute temperature (PTAT). To 
activate the temperature sensor, TSON bit (ADC_ACR)  needs to be set. After being set, the startup time of the 
temperature sensor must be achieved prior to initiating any measure.
42.5.5 I/O Lines
The pin ADTRG may be shared with other peripheral functions through the PIO Controller. In this case, the PIO 
Controller should be set accordingly to assign the pin ADTRG to the ADC function.
Table 42-2.
Peripheral IDs
Instance
ID
ADC
29
Table 42-3.
I/O Lines
Instance
Signal
I/O Line
Peripheral
ADC
ADTRG
PA8
B
ADC
AD0
PA17
X1
ADC
AD1
PA18
X1
ADC
AD2/WKUP9
PA19
X1
ADC
AD3/WKUP10
PA20
X1
ADC
AD4/RTCOUT0
PB0
X1
ADC
AD5/RTCOUT1
PB1
X1
ADC
AD6/WKUP12
PB2
X1
ADC
AD7
PB3
X1
ADC
AD8
PA21
X1
ADC
AD9
PA22
X1