SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 909

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
36.6.2.7
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11
Synchronous Channels
current level of the fault inputs by means of the field FIV, and can know which fault is currently
active thanks to the FS field.
Each fault can be taken into account or not by the fault protection mechanism in each channel.
To be taken into account in the channel x, the fault y must be enabled by the bit FPEx[y] in the
“PWM Fault Protection Enable Registers” (PWM_FPE1). However the synchronous channels
(see
of the channel 0 (bits FPE0[y]).
The fault protection on a channel is triggered when this channel is enabled and when any one of
the faults that are enabled for this channel is active. It can be triggered even if the PWM master
clock (MCK) is not running but only by a fault input that is not glitch filtered.
When the fault protection is triggered on a channel, the fault protection mechanism forces the
channel outputs to the values defined by the fields FPVHx and FPVLx in the
tion Value Register”
forcing is made asynchronously to the channel counter.
CAUTION:
If a comparison unit is enabled (see
triggered in the channel 0, in this case the comparison cannot match.
As soon as the fault protection is triggered on a channel, an interrupt (different from the interrupt
generated at the end of the PWM period) can be generated but only if it is enabled and not
masked. The interrupt is reset by reading the interrupt status register, even if the fault which has
caused the trigger of the fault protection is kept active.
Some channels can be linked together as synchronous channels. They have the same source
clock, the same period, the same alignment and are started together. In this way, their counters
are synchronized together.
The synchronous channels are defined by the SYNCx bits in the
Register”
When a channel is defined as a synchronous channel, the channel 0 is automatically defined as
a synchronous channel too, because the channel 0 counter configuration is used by all the syn-
chronous channels.
If a channel x is defined as a synchronous channel, it uses the following configuration fields of
the channel 0 instead of its own:
• To prevent an unexpected activation of the status flag FSy in the PWM_FSR register, the
• To prevent an unexpected activation of the Fault Protection on the channel x, the bit FPEx[y]
• CPRE0 field in PWM_CMR0 register instead of CPREx field in PWM_CMRx register (same
• CPRD0 field in PWM_CMR0 register instead of CPRDx field in PWM_CMRx register (same
• CALG0 field in PWM_CMR0 register instead of CALGx field in PWM_CMRx register (same
FMODy bit can be set to “1” only if the FPOLy bit has been previously configured to its final
value.
can be set to “1” only if the FPOLy bit has been previously configured to its final value.
source clock)
period)
alignment)
Section 36.6.2.7 “Synchronous
(PWM_SCM). Only one group of synchronous channels is allowed.
(PWM_FPV) and leads to a reset of the counter of this channel. The output
Channels”) do not use their own fault enable bits, but those
Section 36.6.3 “PWM Comparison
“PWM Sync Channels Mode
Units”) and if a fault is
“PWM Fault Protec-
SAM4S
SAM4S
909
909

Related parts for SAM4S16C