AT32UC3L0128 Atmel Corporation, AT32UC3L0128 Datasheet - Page 296

no-image

AT32UC3L0128

Manufacturer Part Number
AT32UC3L0128
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT32UC3L0128

Flash (kbytes)
128 Kbytes
Pin Count
48
Max. Operating Frequency
50 MHz
Cpu
32-bit AVR
# Of Touch Channels
17
Hardware Qtouch Acquisition
Yes
Max I/o Pins
36
Ext Interrupts
36
Usb Speed
No
Usb Interface
No
Spi
5
Twi (i2c)
2
Uart
4
Lin
4
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
12
Adc Speed (ksps)
460
Analog Comparators
8
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
16
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.62 to 3.6
Operating Voltage (vcc)
1.62 to 3.6
Fpu
No
Mpu / Mmu
Yes / No
Timers
6
Output Compare Channels
18
Input Capture Channels
12
Pwm Channels
35
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT32UC3L0128
Manufacturer:
ATMEL
Quantity:
5 709
Part Number:
AT32UC3L0128-AUT
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT32UC3L0128-D1HR
Manufacturer:
TOREX
Quantity:
9 000
Part Number:
AT32UC3L0128-D1HR
Manufacturer:
ATMEL
Quantity:
5 708
Part Number:
AT32UC3L0128-D3HR
Manufacturer:
ATMEL
Quantity:
400
Part Number:
AT32UC3L0128-D3HR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT32UC3L0128-H
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT32UC3L0128AHEB-UUR
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
AT32UC3L0128AHEB-UUR
Quantity:
1 000
15.5.1.3
15.5.1.4
15.5.1.5
32145A–12/2011
Configuring the WDT
Enabling the WDT
Clearing the WDT Counter
To change the clock for the WDT the following steps need to be taken. Note that the WDT
should always be disabled before changing the CLK_CNT source:
1. Write a zero to the Clock Enable (CEN) bit in the CTRL Register, leaving the other bits as they
are in the CTRL Register. This will stop CLK_CNT.
2. Read back the CTRL Register until the CEN bit reads zero. The clock has now been stopped.
3. Modify the Clock Source Select (CSSEL) bit in the CTRL Register with your new clock selec-
tion and write it to the CTRL Register.
4. Write a one to the CEN bit, leaving the other bits as they are in the CTRL Register. This will
enable the clock.
5. Read back the CTRL Register until the CEN bit reads one. The clock has now been enabled.
If the MODE bit in the CTRL Register is zero, the WDT is in basic mode. The Time Out Prescale
Select (PSEL) field in the CTRL Register selects the WDT timeout period:
To enable the WDT write a one to the Enable (EN) bit in the CTRL Register. Due to internal syn-
chronization, it will take some time for the CTRL.EN bit to read back as one.
The WDT counter is cleared by writing a one to the Watchdog Clear (WDTCLR) bit in the Clear
(CLR) Register, at any correct write to the CTRL Register, or when the counter reaches T
and the device is reset. In basic mode the CLR.WDTCLR can be written at any time when the
WDT Counter Cleared (CLEARED) bit in the Status Register (SR) is one. Due to internal syn-
chronization, clearing the WDT counter takes some time. The SR.CLEARED bit is cleared when
writing to CLR.WDTCLR bit and set when the clearing is done. Any write to the CLR.WDTCLR
bit while SR.CLEARED is zero will not clear the counter.
Writing to the CLR.WDTCLR bit has to be done in a particular sequence to be valid. The CLR
Register must be written twice, first with the KEY field set to 0x55 and WDTCLR set to one, then
a second write with the KEY set to 0xAA without changing the WDTCLR bit. Writing to the CLR
Register without the correct sequence has no effect.
If the WDT counter is periodically cleared within T
ure 15-2 on page
T
timeout
= T
psel
297.
= 2
(PSEL+1)
/ f
clk_cnt
psel
no watchdog reset will be issued, see
AT32UC3L0128/256
timeout
Fig-
296

Related parts for AT32UC3L0128