SAM3S4B Atmel Corporation, SAM3S4B Datasheet - Page 70

no-image

SAM3S4B

Manufacturer Part Number
SAM3S4B
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM3S4B

Flash (kbytes)
256 Kbytes
Pin Count
64
Max. Operating Frequency
64 MHz
Cpu
Cortex-M3
# Of Touch Channels
23
Hardware Qtouch Acquisition
No
Max I/o Pins
79
Ext Interrupts
79
Usb Transceiver
1
Quadrature Decoder Channels
1
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
10
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)
48
Self Program Memory
YES
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
3
Output Compare Channels
3
Input Capture Channels
3
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
10.6.7.6
10.7
70
Fault handling
SAM3S
Exception return
If no higher priority exception occurs during exception entry, the processor starts executing the
exception handler and automatically changes the status of the corresponding pending interrupt
to active.
If another higher priority exception occurs during exception entry, the processor starts executing
the exception handler for this exception and does not change the pending status of the earlier
exception. This is the late arrival case.
Exception return occurs when the processor is in Handler mode and executes one of the follow-
ing instructions to load the EXC_RETURN value into the PC:
EXC_RETURN is the value loaded into the LR on exception entry. The exception mechanism
relies on this value to detect when the processor has completed an exception handler. The low-
est four bits of this value provide information on the return stack and processor mode.
10
The processor sets EXC_RETURN bits[31:4] to
it indicates to the processor that the exception is complete, and the processor initiates the
exception return sequence.
Table 10-10. Exception return behavior
Faults are a subset of the exceptions, see
ate a fault:
EXC_RETURN[3:0]
bXXX0
b0001
b0011
b01X1
b1001
b1101
b1X11
• a
• a
• an
shows the EXC_RETURN[3:0] values with a description of the exception return behavior.
POP
BX
– a bus error on:
– an instruction fetch or vector table load
– a data access
LDR
instruction with any register.
instruction that includes the PC
or
LDM
instruction with the PC as the destination.
Description
Reserved.
Return to Handler mode.
Exception return gets state from MSP.
Execution uses MSP after return.
Reserved.
Reserved.
Return to Thread mode.
Exception return gets state from MSP.
Execution uses MSP after return.
Return to Thread mode.
Exception return gets state from PSP.
Execution uses PSP after return.
Reserved.
“Exception model” on page
0xFFFFFFF
. When this value is loaded into the PC
63. The following gener-
6500C–ATARM–8-Feb-11
Table 10-

Related parts for SAM3S4B