SAM4S16C Atmel Corporation, SAM4S16C Datasheet - Page 550

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
28.5.13.3
28.5.13.4
550
550
Without PDC
With PDC
SAM4S
SAM4S
Restrictions
Programming Sequence
• Configuration fields DSIZE, ALWYS, HALFS and FRSTS in PIO_PCMR
• Frequency of PIO controller clock must be strictly superior to 2 times the frequency of the
1. Write PIO_PCIDR and PIO_PCIER
2. Write PIO_PCMR
3. Write PIO_PCMR to set the PCEN bit to 1 in order to enable the parallel capture mode
4. Wait for a data ready by polling the DRDY flag in PIO_PCISR
5. Check OVRE flag in PIO_PCISR.
6. Read the data in PIO_PCRHR
7. If new data are expected go to step 4.
8. Write PIO_PCMR to set the PCEN bit to 0 in order to disable the parallel capture mode
1. Write PIO_PCIDR and PIO_PCIER
2. Configure PDC transfer in PDC registers.
3. Write PIO_PCMR
4. Write PIO_PCMR to set PCEN bit to 1 in order to enable the parallel capture mode
5. Wait for end of transfer by waiting the interrupt corresponding the flag ENDRX in
6. Check OVRE flag in PIO_PCISR.
7. If a new buffer transfer is expected go to step 5.
8. Write PIO_PCMR to set the PCEN bit to 0 in order to disable the parallel capture mode
Capture Mode Register”
this time (PCEN = 0 in PIO_PCMR).
clock of the device which generates the parallel data.
and
capture mode interrupt mask.
ALWYS, HALFS and FRSTS in order to configure the parallel capture mode WITHOUT
enabling the parallel capture mode.
WITHOUT changing the previous configuration.
Interrupt Status Register”
WITHOUT changing the previous configuration.
and
capture mode interrupt mask.
ALWYS, HALFS and FRSTS in order to configure the parallel capture mode WITHOUT
enabling the parallel capture mode.
WITHOUT changing the previous configuration.
PIO_PCISR
WITHOUT changing the previous configuration.
“PIO Parallel Capture Interrupt Enable Register”
“PIO Parallel Capture Interrupt Enable Register”
(“PIO Parallel Capture Interrupt Status Register”
(“PIO Parallel Capture Mode Register”
(“PIO Parallel Capture Mode Register”
) can be changed ONLY if the parallel capture mode is disabled at
) or by waiting the corresponding interrupt.
(“PIO Parallel Capture Reception Holding Register”
(“PIO Parallel Capture Interrupt Disable Register”
(“PIO Parallel Capture Interrupt Disable Register”
) in order to configure the parallel
) in order to configure the parallel
) to set the fields DSIZE,
) to set the fields DSIZE,
).
(“PIO Parallel Capture
(“PIO Parallel
11100A–ATARM–28-Oct-11
11100A–ATARM–28-Oct-11
).

Related parts for SAM4S16C