SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 44

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.4
11.4.1
11.4.1.1
11.4.1.2
44
44
Cortex-M4 Models
SAM4S
SAM4S
Programmers Model
Processor Modes And Privilege Levels for Software Execution
Stacks
This section describes the Cortex-M4 programmers model. In addition to the individual core reg-
ister descriptions, it contains information about the processor modes and privilege levels for
software execution and stacks.
The processor modes are:
The privilege levels for software execution are:
Unprivileged software executes at the unprivileged level.
In Thread mode, the CONTROL register controls whether the software execution is privileged or
unprivileged, see
privileged.
Only privileged software can write to the CONTROL register to change the privilege level for
software execution in Thread mode. Unprivileged software can use the SVC instruction to make
a supervisor call to transfer control to privileged software.
The processor uses a full descending stack. This means the stack pointer holds the address of
the last stacked item in memory When the processor pushes a new item onto the stack, it decre-
ments the stack pointer and then writes the item to the new memory location. The processor
implements two stacks, the main stack and the process stack, with a pointer for each held in
independent registers, see
In Thread mode, the CONTROL register controls whether the processor uses the main stack or
the process stack, see
In Handler mode, the processor always uses the main stack.
• Thread mode
• Handler mode
• Unprivileged
• Privileged
Used to execute application software. The processor enters the Thread mode when it comes
out of reset.
Used to handle exceptions. The processor returns to the Thread mode when it has finished
exception processing.
The software:
The software can use all the instructions and has access to all resources. Privileged software
executes at the privileged level.
– has limited access to the MSR and MRS instructions, and cannot use the CPS
– cannot access the System Timer, NVIC, or System Control Block
– might have a restricted access to memory or peripherals.
instruction
“CONTROL Register”
“CONTROL Register”
“Stack Pointer”
.
. In Handler mode, software execution is always
.
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11

Related parts for SAM4S16C