Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

ATTINY817-MFR. Datasheet(PDF) 150 Page - Microchip Technology

Part # ATTINY817-MFR.
Description  AVR짰 Microcontroller with Core Independent Peripherals and picoPower짰 Technology
PDF  492 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATTINY817-MFR. Datasheet(HTML) 150 Page - Microchip Technology

Back Button ATTINY817-MFR. Datasheet HTML 146Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 147Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 148Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 149Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 150Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 151Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 152Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 153Page - Microchip Technology ATTINY817-MFR. Datasheet HTML 154Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 150 / 492 page
background image
Figure 20-9. Frequency Waveform Generation
CNT
WG Output
MAX
TOP
BOTTOM
Period (T)
Direction change
CNT written
"update"
The waveform frequency (fFRQ) is defined by the following equation:
��FRQ= fCLK_PER
2��CMPn+1
where N represents the prescaler divider used (CLKSEL in TCA.CTRLA), and fCLK_PER is the system
clock for the peripherals.
The maximum frequency of the waveform generated is half of the peripheral clock frequency (fCLK_PER/2)
when TCA.CMPn is written to zero (0x0000) and no prescaling is used (N=1, CLKSEL=0x0 in
TCA.CTRLA).
Single-Slope PWM Generation
For single-slope Pulse Width Modulation (PWM) generation, the period (T) is controlled by TCA.PER,
while the values of TCA.CMPn control the duty cycle of the WG output. The figure below shows how the
counter counts from BOTTOM to TOP and then restarts from BOTTOM. The waveform generator (WO)
output is set at TOP, and cleared on the compare match between the TCA.CNT and TCA.CMPn registers.
Figure 20-10. Single-Slope Pulse Width Modulation
CNT
Output WOn
MAX
TOP
CMPn
BOTTOM
Period (T)
CMPn=BOTTOM
CMPn=TOP
"update"
"match"
The TCA.PER register defines the PWM resolution. The minimum resolution is 2 bits
(TCA.PER=0x0003), and the maximum resolution is 16 bits (TCA.PER=MAX).
The following equation calculates the exact resolution for single-slope PWM (RPWM_SS):
��PWM_SS=logPER+1
log2
The single-slope PWM frequency (fPWM_SS) depends on the period setting (TCA_PER), the system's
peripheral clock frequency fCLK_PER, the TCA prescaler (CLKSEL in TCA.CTRLA). It is calculated by the
following equation:
��PWM_SS= ��CLK_PER
��PER+1
ATtiny417/817
© 2017 Microchip Technology Inc.
Datasheet Complete
DS40001901B-page 150



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com