AT32UC3C0128C Atmel Corporation, AT32UC3C0128C Datasheet - Page 136

no-image

AT32UC3C0128C

Manufacturer Part Number
AT32UC3C0128C
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT32UC3C0128C

Flash (kbytes)
128 Kbytes
Pin Count
144
Max. Operating Frequency
66 MHz
Cpu
32-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
123
Ext Interrupts
144
Usb Transceiver
1
Quadrature Decoder Channels
2
Usb Speed
Full Speed
Usb Interface
Device + OTG
Spi
7
Twi (i2c)
3
Uart
5
Can
2
Lin
5
Ssc
1
Ethernet
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
16
Adc Resolution (bits)
12
Adc Speed (ksps)
2000
Analog Comparators
4
Resistive Touch Screen
No
Dac Channels
4
Dac Resolution (bits)
12
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
36
Self Program Memory
YES
External Bus Interface
1
Dram Memory
sdram
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
3.0 to 3.6 or 4.5 to 5.5
Operating Voltage (vcc)
3.0 to 3.6 or 4.5 to 5.5
Fpu
Yes
Mpu / Mmu
Yes / No
Timers
6
Output Compare Channels
22
Input Capture Channels
12
Pwm Channels
20
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT32UC3C0128C-ALUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT32UC3C0128C-ALUT
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT32UC3C0128C-ALUT
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
9.5.1.2
9.5.2
9.5.2.1
9.5.2.2
32117C–AVR-08/11
Basic Operation
Changing the source clock
Prescaler
Counter operation
The CLK_AST_PRSC must be disabled before switching to another source clock. The Clock
Busy bit in the Status Register (SR.CLKBUSY) indicates whether the clock is busy or not. This
bit is set when the CEN bit in the CLOCK register is changed, and cleared when the CLOCK reg-
ister can be changed.
To change the clock:
When the AST is enabled, the 32-bit prescaler will increment on the rising edge of
CLK_AST_PRSC. The prescaler value cannot be read or written, but it can be reset by writing a
one to the Prescaler Clear bit in the Control Register (CR.PCLR).
The Prescaler Select field in the Control Register (CR.PSEL) selects the prescaler bit PSEL as
source clock for the counter (CLK_AST_CNT). This results in a counter frequency of:
where f
The AST counter value can be read from or written to the Counter Value (CV) register. Note that
due to synchronization, continuous reading of the CV register with the lowest prescaler setting
will skip every third value. In addition, if CLK_AST_PRSC is as fast as, or faster than, the
CLK_AST, the prescaler value must be 3 or higher to be able to read the CV without skipping
values.
• Write a zero to CLOCK.CEN to disable the clock, without changing CLOCK.CSSEL
• Wait until SR.CLKBUSY reads as zero
• Write the selected value to CLOCK.CSSEL
• Wait until SR.CLKBUSY reads as zero
• Write a one to CLOCK.CEN to enable the clock, without changing CLOCK.CSSEL
• Wait until SR.CLKBUSY reads as zero
When enabled, the AST will increment on every 0-to-1 transition of the selected prescaler
tapping. When the Calender bit in the Control Register (CR.CAL) is zero, the counter oper-
ates in counter mode. It will increment until it reaches the top value of 0xFFFFFFFF, and
then wrap to 0x00000000. This sets the status bit Overflow in the Status Register (SR.OVF).
Optionally, the counter can also be reset when a timer alarm occurs (see
which will also set the OVF bit.
PRSC
is the frequency of the internal prescaler clock CLK_AST_PRSC.
f
CNT
=
---------------------- -
2
PSEL
f
PRSC
+
1
AT32UC3C
Section
9.5.3.2),
136

Related parts for AT32UC3C0128C