SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 477

no-image

SAM4S16C

Manufacturer Part Number
SAM4S16C
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM4S16C

Flash (kbytes)
1024 Kbytes
Pin Count
100
# Of Touch Channels
32
Hardware Qtouch Acquisition
No
Max I/o Pins
79
Ext Interrupts
79
Usb Transceiver
1
Quadrature Decoder Channels
2
Usb Speed
Full Speed
Usb Interface
Device
Spi
3
Twi (i2c)
2
Uart
4
Ssc
1
Sd / Emmc
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
16
Adc Resolution (bits)
12
Adc Speed (ksps)
1000
Analog Comparators
1
Resistive Touch Screen
No
Dac Channels
2
Dac Resolution (bits)
12
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
128
Self Program Memory
YES
External Bus Interface
1
Dram Memory
No
Nand Interface
Yes
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8/3.3
Operating Voltage (vcc)
1.62 to 3.6
Fpu
No
Mpu / Mmu
Yes / No
Timers
6
Output Compare Channels
6
Input Capture Channels
6
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
26.1.4.1
26.1.4.2
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11
Slow Clock RC Oscillator
Slow Clock Crystal Oscillator
By default, the Slow Clock RC Oscillator is enabled and selected. The user has to take into
account the possible drifts of the RC Oscillator. More details are given in the section “DC Char-
acteristics” of the product datasheet.
It can be disabled via the XTALSEL bit in the Supply Controller Control Register (SUPC_CR).
The Clock Generator integrates a 32,768 Hz low-power oscillator. In order to use this oscillator,
the XIN32 and XOUT32 pins must be connected to a 32,768 Hz crystal. Two external capacitors
must be wired as shown in
tics” of the product datasheet.
Note that the user is not obliged to use the Slow Clock Crystal and can use the RC oscillator
instead.
Figure 26-2. Typical Slow Clock Crystal Oscillator Connection
The user can select the crystal oscillator to be the source of the slow clock, as it provides a more
accurate frequency. The command is made by writing the Supply Controller Control Register
(SUPC_CR) with the XTALSEL bit at 1. This results in a sequence which first configures the PIO
lines multiplexed with XIN32 and XOUT32 to be driven by the oscillator, then enables the crystal
oscillator and then disables the RC oscillator to save power. The switch of the slow clock source
is glitch free. The OSCSEL bit of the Supply Controller Status Register (SUPC_SR) tracks the
oscillator frequency downstream. It must be read in order to be informed when the switch
sequence, initiated when a new value is written in MOSCSEL bit of CKGR_MOR, is done.
Coming back on the RC oscillator is only possible by shutting down the VDDIO power supply. If
the user does not need the crystal oscillator, the XIN32 and XOUT32 pins can be left uncon-
nected since by default the XIN32 and XOUT32 system I/O pins are in PIO input mode with pull-
up after reset.
The user can also set the crystal oscillator in bypass mode instead of connecting a crystal. In
this case, the user has to provide the external clock signal on XIN32. The input characteristics of
the XIN32 pin are given in the product electrical characteristics section. In order to set the
bypass mode, the OSCBYPASS bit of the Supply Controller Mode Register (SUPC_MR) needs
to be set at 1.
The user can set the Slow Clock Crystal Oscillator in bypass mode instead of connecting a crys-
tal. In this case, the user has to provide the external clock signal on XIN32. The input
characteristics of the XIN32 pin under these conditions are given in the product electrical char-
acteristics section.
The programmer has to be sure to set the OSCBYPASS bit in the Supply Controller Mode Reg-
ister (SUPC_MR) and XTALSEL bit in the Supply Controller Control Register (SUPC_CR).
Figure
XIN32
26-2. More details are given in the section “DC Characteris-
32,768 Hz
Crystal
XOUT32
GND
SAM4S
SAM4S
477
477

Related parts for SAM4S16C