công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PIC16F15213T-I/ST bảng dữ liệu(PDF) 205 Page - Microchip Technology

tên linh kiện PIC16F15213T-I/ST
Giải thích chi tiết về linh kiện  PIC16F15213/14/23/24/43/44 Low Pin Count Microcontrollers
PDF  439 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MICROCHIP [Microchip Technology]
Trang chủ  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F15213T-I/ST bảng dữ liệu(HTML) 205 Page - Microchip Technology

Back Button PIC16F15213T-I/ST Datasheet HTML 201Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 202Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 203Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 204Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 205Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 206Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 207Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 208Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 209Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 205 / 439 page
background image
Important:  The Timer postscaler (see the “Timer2 Interrupt” section) is not used in the determination of
the PWM frequency.
22.4.4
PWM Duty Cycle
The PWM duty cycle is specified by writing a 10-bit value to the CCPRx register. The alignment of the 10-bit value is
determined by the FMT bit (see Figure 22-5). The CCPRx register can be written to at any time. However, the duty
cycle value is not latched into the 10-bit buffer until after a match between T2PR and T2TMR.
The equations below are used to calculate the PWM pulse width and the PWM duty cycle ratio.
Figure 22-5. PWM 10-Bit Alignment
7 6 5 4 3 2 1 0
CCP RxH
7 6 5 4 3 2 1 0
CCP RxL
7 6 5 4 3 2 1 0
CCP RxH
7 6 5 4 3 2 1 0
CCP RxL
9 8 7 6 5 4 3 2
10-bit Duty Cycle
1 0
FMT =
0
FMT =
1
Equation 22-2. Pulse Width
PulseWidtℎ= CCPRxH:CCPRxLregistervalue •TOSC• TMR2PrescaleValue
Equation 22-3. Duty Cycle
DutyCycleRatio= CCPRxH:CCPRxLregistervalue
4T2PR+1
The CCPRx register is used to double buffer the PWM duty cycle. This double buffering is essential for glitchless
PWM operation.
The 8-bit timer T2TMR register is concatenated with either the 2-bit internal system clock (FOSC), or two bits of the
prescaler, to create the 10-bit time base. The system clock is used if the Timer2 prescaler is set to 1:1.
When the 10-bit time base matches the CCPRx register, then the CCPx pin is cleared (see Figure 22-4).
22.4.5
PWM Resolution
The resolution determines the number of available duty cycles for a given period. For example, a 10-bit resolution will
result in 1024 discrete duty cycles, whereas an 8-bit resolution will result in 256 discrete duty cycles.
The maximum PWM resolution is 10 bits when T2PR is 0xFF. The resolution is a function of the T2PR register value,
as shown below.
Equation 22-4. PWM Resolution
Resolution=log4T2PR+1
log2 bits
Important:  If the pulse-width value is greater than the period, the assigned PWM pin(s) will remain
unchanged.
PIC16F15213/14/23/24/43/44
CCP - Capture/Compare/PWM Module
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 205



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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