ATTINY24V-10MUR Atmel, ATTINY24V-10MUR Datasheet - Page 101
![MCU AVR 2KB FLASH 10MHZ 20QFN](/photos/6/87/68751/313-20-qfn_sml.jpg)
ATTINY24V-10MUR
Manufacturer Part Number
ATTINY24V-10MUR
Description
MCU AVR 2KB FLASH 10MHZ 20QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY24V-10MUR
Core Processor
AVR
Core Size
8-Bit
Speed
10MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
12
Program Memory Size
2KB (1K x 16)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 101 of 238
- Download datasheet (5Mb)
12.8.5
8006K–AVR–10/10
Phase and Frequency Correct PWM Mode
changing the TOP actively while the Timer/Counter is running in the phase correct mode can
result in an unsymmetrical output. The reason for this can be found in the time of update of the
OCR1x Register. Since the OCR1x update occurs at TOP, the PWM period starts and ends at
TOP. This implies that the length of the falling slope is determined by the previous TOP value,
while the length of the rising slope is determined by the new TOP value. When these two values
differ the two slopes of the period will differ in length. The difference in length gives the unsym-
metrical result on the output.
It is recommended to use the phase and frequency correct mode instead of the phase correct
mode when changing the TOP value while the Timer/Counter is running. When using a static
TOP value there are practically no differences between the two modes of operation.
In phase correct PWM mode, the compare units allow generation of PWM waveforms on the
OC1x pins. Setting the COM1x1:0 bits to two will produce a non-inverted PWM and an inverted
PWM output can be generated by setting the COM1x1:0 to three (See
The actual OC1x value will only be visible on the port pin if the data direction for the port pin is
set as output (DDR_OC1x). The PWM waveform is generated by setting (or clearing) the OC1x
Register at the compare match between OCR1x and TCNT1 when the counter increments, and
clearing (or setting) the OC1x Register at compare match between OCR1x and TCNT1 when
the counter decrements. The PWM frequency for the output when using phase correct PWM can
be calculated by the following equation:
The N variable represents the prescaler divider (1, 8, 64, 256, or 1024).
The extreme values for the OCR1x Register represent special cases when generating a PWM
waveform output in the phase correct PWM mode. If the OCR1x is set equal to BOTTOM the
output will be continuously low and if set equal to TOP the output will be continuously high for
non-inverted PWM mode. For inverted PWM the output will have the opposite logic values.
The phase and frequency correct Pulse Width Modulation, or phase and frequency correct PWM
mode (WGM13:0 = 8 or 9) provides a high resolution phase and frequency correct PWM wave-
form generation option. The phase and frequency correct PWM mode is, like the phase correct
PWM mode, based on a dual-slope operation. The counter counts repeatedly from BOTTOM
(0x0000) to TOP and then from TOP to BOTTOM. In non-inverting Compare Output mode, the
Output Compare (OC1x) is cleared on the compare match between TCNT1 and OCR1x while
upcounting, and set on the compare match while downcounting. In inverting Compare Output
mode, the operation is inverted. The dual-slope operation gives a lower maximum operation fre-
quency compared to the single-slope operation. However, due to the symmetric feature of the
dual-slope PWM modes, these modes are preferred for motor control applications.
The main difference between the phase correct, and the phase and frequency correct PWM
mode is the time the OCR1x Register is updated by the OCR1x Buffer Register, (see
8 on page 100
The PWM resolution for the phase and frequency correct PWM mode can be defined by either
ICR1 or OCR1A. The minimum resolution allowed is 2-bit (ICR1 or OCR1A set to 0x0003), and
and
Figure 12-9 on page
f
OCnxPCPWM
102).
=
--------------------------- -
2 N TOP
⋅
f
clk_I/O
⋅
ATtiny24/44/84
Table 12-4 on page
Figure 12-
109).
101
Related parts for ATTINY24V-10MUR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATTINY24V-10MU](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 10MHZ 20-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY24V-10SSU](/photos/7/39/73946/313-14-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 10MHZ 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY24V-10PU](/photos/7/39/73953/313-14-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 10MHZ 14-DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY24V-10SSUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 2KB FLASH 10MHZ 14SOIC
Manufacturer:
Atmel
Datasheet:
![attiny24v](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
8-bit Avr Microcontroller With 2/4/8k Bytes Insystem Programmable Flash
Manufacturer:
ATMEL Corporation
Datasheet:
![ATTINY24V-W-11](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
8-bit Microcontrollers - MCU Microcontroller
Manufacturer:
Atmel
![ATtiny24](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATtiny24 Automotive](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY24-20MU](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 20MHZ 20-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY24-20SSU](/photos/7/39/73946/313-14-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 20MHZ 14SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY24-15MZ](/photos/12/32/123214/20-qfn-pc_tmb.jpg)
Part Number:
Description:
MCU AVR 2K FLASH 15MHZ 20-QFN
Manufacturer:
Atmel
Datasheet:
![ATTINY24-20PU](/photos/7/39/73953/313-14-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 2K FLASH 20MHZ 14-DIP
Manufacturer:
Atmel
Datasheet: