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

Back Button 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 PIC16F15213T-I/ST Datasheet HTML 210Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 206 / 439 page
background image
Table 22-2. Example PWM Frequencies and Resolutions (FOSC = 20 MHz)
PWM Frequency
1.22 kHz
4.88 kHz
19.53 kHz
78.12 kHz
156.3 kHz
208.3 kHz
Timer Prescale
16
4
1
1
1
1
T2PR Value
0xFF
0xFF
0xFF
0x3F
0x1F
0x17
Maximum Resolution (bits)
10
10
10
8
7
6.6
Table 22-3. Example PWM Frequencies and Resolutions (FOSC = 8 MHz)
PWM Frequency
1.22 kHz
4.90 kHz
19.61 kHz
76.92 kHz
153.85 kHz
200.0 kHz
Timer Prescale
16
4
1
1
1
1
T2PR Value
0x65
0x65
0x65
0x19
0x0C
0x09
Maximum Resolution (bits)
8
8
8
6
5
5
22.4.6
Operation in Sleep Mode
In Sleep mode, the T2TMR register will not increment and the state of the module will not change. If the CCPx pin is
driving a value, it will continue to drive that value. When the device wakes up, T2TMR will continue from the previous
state.
22.4.7
Changes in System Clock Frequency
The PWM frequency is derived from the system clock frequency. Any changes in the system clock frequency will
result in changes to the PWM frequency. See the “OSC - Oscillator Module” section for additional details.
22.4.8
Effects of Reset
Any Reset will force all ports to Input mode and the CCP registers to their Reset states.
22.4.9
Setup for PWM Operation
The following steps illustrate how to configure the CCP module for standard PWM operation:
1.
Select the desired output pin with the RxyPPS control to select CCPx as the source. Disable the selected pin
output driver by setting the associated TRIS bit. The output will be enabled later at the end of the PWM setup.
2.
Load the timer period register T2PR with the PWM period value.
3.
Configure the CCP module for the PWM mode by loading the CCPxCON register with the appropriate values.
4.
Load the CCPRx register with the PWM duty cycle value and configure the FMT bit to set the proper register
alignment.
5.
Configure and start the Timer:
– Clear the TMR2IF Interrupt Flag bit of the PIRx register. See the Note below.
– Select the timer clock source to be as FOSC/4. This is required for correct operation of the PWM module.
– Configure the CKPS bits of the T2CON register with the desired Timer prescale value.
– Enable the Timer by setting the ON bit of the T2CON register.
6.
Enable the PWM output:
– Wait until the Timer overflows and the TMR2IF bit of the PIRx register is set. See the Note below.
– Enable the CCPx pin output driver by clearing the associated TRIS bit.
Important:  To send a complete duty cycle and period on the first PWM output, the above
steps must be included in the setup sequence. If it is not critical to start with a complete PWM
signal on the first output, then step 6 may be ignored.
PIC16F15213/14/23/24/43/44
CCP - Capture/Compare/PWM Module
© 2020-2022 Microchip Technology Inc.
and its subsidiaries
Data Sheet
DS40002195E-page 206



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