AT90PWM161 Atmel Corporation, AT90PWM161 Datasheet - Page 41

no-image

AT90PWM161

Manufacturer Part Number
AT90PWM161
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT90PWM161

Flash (kbytes)
16 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
Hardware Qtouch Acquisition
No
Max I/o Pins
20
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
125
Analog Comparators
3
Resistive Touch Screen
No
Dac Channels
1
Dac Resolution (bits)
10
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.25
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
1
Output Compare Channels
8
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT90PWM161-16MN
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT90PWM161-WN
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
5.5.4
5.5.5
7734P–AVR–08/10
MCU Control Register – MCUCR
CLKCSR – Clock Control & Status Register
• Bit 1 – PLLE: PLL Enable
When the PLLE is set, the PLL is started and if not yet started the internal RC Oscillator is started as PLL
reference clock. If PLL is selected as a system clock source the value for this bit is always 1.
• Bit 0 – PLOCK: PLL Lock Detector
When the PLOCK bit is set, the PLL is locked to the reference clock, and it is safe to enable CLK
PSC. The time to lock is specified in
Notes:
• Bit 2– CKRC81: Frequency Selection of the calibrated 8/1 MHz RC Oscillator
Thanks to CKRC81 in MCUCR Sfr, the typical frequency of the calibrated RC oscillator is changed.
Note:
Note:
Note:
• Bit 7 – CLKCCE: Clock Control Change Enable
The CLKCCE bit must be written to logic one to enable change of the CLKCSR bits. The CLKCCE bit is
only updated when the other bits in CLKCSR are simultaneously written to zero. CLKCCE is cleared by
hardware four cycles after it is written or when the CLKCSR bits are written. Rewriting the CLKCCE bit
within this time-out period does neither extend the time-out period, nor clear the CLKCCE bit.
• Bits 6:5 – Res: Reserved Bits
These bits are reserved bits in the AT90PWM81 and will always read as zero.
• Bits 4 – CLKRDY: Clock Ready Flag
This flag is the output of the ‘Clock Availability’ logic.
This flag is reset once the ‘Request for Clock Availability’ command is entered.
It is set when ‘Clock Availability’ logic confirms that the (selected) clock is running and is stable. The
delay from the request and the flag setting is not fixed, it depends on the clock start-up time, the clock
frequency and, of course, if the clock is alive. The user’s has itself to do the difference between
‘no_clock_signal’ and ‘clock_signal_not_yet_available’.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
– When the CKRC81 bit is written to zero, the RC oscillator frequency is 8 MHz.
– When the CKRC81 bit is written to one, the RC oscillator frequency is 1 MHz.
1. V alue is Initialized with the fuse CKSEL2
2. Value is initialized with fuses CKSEL3..0 (1 when CKSEL3..0= 0110, 0 in all other cases)
This be only can be changed only when the RC oscillator is enabled.
When the RC oscillator is used as the PLL source, CKRC81 must not be written to 1.
If the RC oscillator is disabled, this bit is cleared by hardware
CLKCCE
7
R
0
R/W
7
0
6
R
0
R
6
0
5
R
0
Table 5-9 on page
R
5
0
CLKRDY
4
PUD
R/W
0
R
4
0
34.
3
RSTDIS
R/W
0/1
CLKC3
R/W
(1)
3
0
2
CKRC81
R/W
0
CLKC2
R/W
2
0
1
IVSEL
R/W
0
CLKC1
R/W
AT90PWM81
1
0
0
IVCE
R/W
0
CLKC0
R/W
0
0
CLKCSR
MCUCR
PLL
for
41

Related parts for AT90PWM161