SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 75

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
11.5
11.5.1
11.5.1.1
11.5.1.2
11.5.1.3
11.5.2
11.5.2.1
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11
Power Management
Entering Sleep Mode
Wakeup From Sleep Mode
Wait for Interrupt
Wait For Event
Sleep-On-Exit
Wakeup from WFI or Sleep-on-exit
The Cortex-M4 processor sleep modes reduce the power consumption:
The SLEEPDEEP bit of the SCR selects which sleep mode is used; see
ter”
This section describes the mechanisms for entering sleep mode, and the conditions for waking
up from sleep mode.
This section describes the mechanisms software can use to put the processor into sleep mode.
The system can generate spurious wakeup events, for example a debug operation wakes up the
processor. Therefore, the software must be able to put the processor back into sleep mode after
such an event. A program might have an idle loop to put the processor back to sleep mode.
The wait for interrupt instruction, WFI, causes immediate entry to sleep mode. When the proces-
sor executes a WFI instruction it stops executing instructions and enters sleep mode. See
for more information.
The wait for event instruction, WFE, causes entry to sleep mode conditional on the value of an
one-bit event register. When the processor executes a WFE instruction, it checks this register:
See
If the SLEEPONEXIT bit of the SCR is set to 1 when the processor completes the execution of
an exception handler, it returns to Thread mode and immediately enters sleep mode. Use this
mechanism in applications that only require the processor to run when an exception occurs.
The conditions for the processor to wake up depend on the mechanism that cause it to enter
sleep mode.
Normally, the processor wakes up only when it detects an exception with sufficient priority to
cause exception entry.
Some embedded systems might have to execute system restore tasks after the processor
wakes up, and before it executes an interrupt handler. To achieve this, set the PRIMASK bit to 1
and the FAULTMASK bit to 0. If an interrupt arrives that is enabled and has a higher priority than
the current exception priority, the processor wakes up but does not execute the interrupt handler
until the processor sets PRIMASK to zero. For more information about PRIMASK and FAULT-
MASK, see
• Sleep mode stops the processor clock
• Deep sleep mode stops the system clock and switches off the PLL and flash memory.
• if the register is 0, the processor stops executing instructions and enters sleep mode
• if the register is 1, the processor clears the register to 0 and continues executing instructions
without entering sleep mode.
.
“WFE”
“Exception Mask Registers”
for more information.
.
“System Control Regis-
SAM4S
SAM4S
“WFI”
75
75

Related parts for SAM4S16C