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) 214 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) 214 Page - Microchip Technology

Back Button PIC16F15213T-I/ST Datasheet HTML 210Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 211Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 212Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 213Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 214Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 215Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 216Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 217Page - Microchip Technology PIC16F15213T-I/ST Datasheet HTML 218Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 214 / 439 page
background image
• The PWM output is active (Exception: When the PWM duty cycle = 0%, the PWM output will remain inactive)
• The PWMxDCH and PWMxDCL register values are latched into the buffers
Important:  The Timer2 postscaler has no effect on the PWM operation.
23.4
PWM Duty Cycle
The PWM duty cycle is specified by writing a 10-bit value to the PWMxDCH and PWMxDCL register pair. The
PWMxDCH register contains the eight MSbs and the two LSbs, PWMxDCL[7:6]. The PWMxDCH and PWMxDCL
registers can be written to at any time.
The equations below are used to calculate the PWM pulse width and the PWM duty cycle ratio.
Equation 23-2. Pulse Width
PulseWidtℎ= PWMxDCH:PWMxDCL7:6 •Tosc• TMR2PrescaleValue
Note:  TOSC = 1/FOSC
Equation 23-3. Duty Cycle Ratio
DutyCycleRatio= PWMxDCH:PWMxDCL7:6
4T2PR+1
The 8-bit timer T2TMR register is concatenated with the two Least Significant bits of 1/FOSC, adjusted by the Timer2
prescaler to create the 10-bit time base. The system clock is used if the Timer2 prescaler is set to 1:1.
23.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 255. The resolution is a function of the T2PR register value
as shown below.
Equation 23-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.
Table 23-1. Example PWM Frequencies and Resolutions (FOSC = 20 MHz)
PWM Frequency
0.31 kHz
4.88 kHz
19.53 kHz
78.12 kHz
156.3 kHz
208.3 kHz
Timer Prescale
64
4
1
1
1
1
T2PR Value
0xFF
0xFF
0xFF
0x3F
0x1F
0x17
Maximum Resolution (bits)
10
10
10
8
7
6.6
PIC16F15213/14/23/24/43/44
PWM - Pulse-Width Modulation
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 214



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