SAM3S4B Atmel Corporation, SAM3S4B Datasheet - Page 1018

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
40.6
40.6.1
40.6.2
40.6.3
40.6.4
40.6.5
1018
Functional Description
SAM3S
Digital-to-Analog Conversion
Conversion Results
Conversion Triggers
Conversion FIFO
Channel Selection
The DACC uses the master clock (MCK) divided by two to perform conversions. This clock is named DACC
Clock. Once a conversion starts the DACC takes 25 clock periods to provide the analog result on the
selected analog output.
When a conversion is completed, the resulting analog value is available at the selected DACC channel out-
put and the EOC bit in the
Reading the DACC_ISR register clears the EOC bit.
In free running mode, conversion starts as soon as at least one channel is enabled and data is written in
the
the corresponding analog output as stated above.
In external trigger mode, the conversion waits for a rising edge on the selected trigger to begin.
Warning: Disabling the external trigger mode automatically sets the DACC in free running mode.
A 4 half-word FIFO is used to handle the data to be converted.
As long as the TXRDY flag in the
accept conversion requests by writing data into
converted immediately are stored in the DACC FIFO.
When the FIFO is full or the DACC is not ready to accept conversion requests, the TXRDY flag is inactive.
The WORD field of the
for writing into the FIFO.
In half-word transfer mode only the 16 LSB of DACC_CDR data are taken into account, DACC_CDR[15:0]
is stored into the FIFO.
DACC_CDR[11:0] field is used as data and the DACC_CDR[15:12] bits are used for channel selection if the
TAG field is set in DACC_MR register.
In word transfer mode each time the DACC_CDR register is written 2 data items are stored in the FIFO. The
first data item sampled for conversion is DACC_CDR[15:0] and the second DACC_CDR[31:16].
Fields DACC_CDR[15:12] and DACC_CDR[31:28] are used for channel selection if the TAG field is set in
DACC_MR register.
Warning: Writing in the DACC_CDR register while TXRDY flag is inactive will corrupt FIFO data.
There are two means by which to select the channel to perform data conversion.
• By default, to select the channel where to convert the data, is to use the USER_SEL field of
• A more flexible option to select the channel for the data to be converted to is to use the tag
the
with the USER_SEL field.
mode, setting the TAG field of the
DACC_CDR[13:12] which are otherwise unused, are employed to select the channel in the
same way as with the USER_SEL field. Finally, if the WORD field is set, the 2 bits,
DACC_CDR[13:12] are used for channel selection of the first data and the 2 bits,
DACC_CDR[29:28] for channel selection of the second data.
DACC Conversion Data
DACC Mode
Register. Data requests will merely be converted to the channel selected
DACC Mode Register
DACC Interrupt Status
Register, then 25 DACC Clock periods later, the converted data is available at
DACC Interrupt Status Register
DACC Mode Register
allows the user to switch between half-word and word transfer
DACC Conversion Data
Register, is set.
to 1. In this mode the 2 bits,
is active the DAC Controller is ready to
Register. Data which cannot be
6500C–ATARM–8-Feb-11

Related parts for SAM3S4B