Electronic Components Datasheet Search
  English  ▼

X  

MCP39F511 Datasheet(PDF) 44 Page - Microchip Technology

Part # MCP39F511
Description  Power-Monitoring IC with Calculation and Energy Accumulation
PDF  62 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP39F511 Datasheet(HTML) 44 Page - Microchip Technology

Back Button MCP39F511 Datasheet HTML 40Page - Microchip Technology MCP39F511 Datasheet HTML 41Page - Microchip Technology MCP39F511 Datasheet HTML 42Page - Microchip Technology MCP39F511 Datasheet HTML 43Page - Microchip Technology MCP39F511 Datasheet HTML 44Page - Microchip Technology MCP39F511 Datasheet HTML 45Page - Microchip Technology MCP39F511 Datasheet HTML 46Page - Microchip Technology MCP39F511 Datasheet HTML 47Page - Microchip Technology MCP39F511 Datasheet HTML 48Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 44 / 62 page
background image
MCP39F511
DS20005393B-page 44
 2015 Microchip Technology Inc.
8.2
PWM Period
The PWM period is specified by writing the PWM
Period bits of the PWM Period register. The PWM
period can be calculated using the following formula:
Equation 8-1:
The PWM Period is defined as 1/[PWM Frequency].
When PTIMER is equal to PWM Period, the following
two events occur on the next increment cycle:
• the PWM timer is cleared
• the PWM pin is set. Exception: If the PWM Duty
Cycle equals 0%, the PWM pin will not be set.
8.3
PWM Duty Cycle
The PWM duty cycle is specified by writing to the PWM
Duty-Cycle register. Up to 10-bit resolution is available.
The PWM Duty-Cycle register contains the eight MSbs
and the two LSbs. The following equations are used to
calculate the PWM duty cycle as a percentage or as
time:
EQUATION 8-1:
PWM Duty Cycle can be written to at any time, but the
duty-cycle value is not latched until after a period is
complete.
The PWM registers and a two-bit internal latch are
used to double-buffer the PWM duty cycle. This
double-buffering is essential for glitch-less PWM
operation.
The maximum PWM resolution (bits) for a given PWM
frequency is shown in Equation 8-2.
EQUATION 8-2:
MAXIMUM PWM
RESOLUTION BASED ON
A FUNCTION OF PWM
FREQUENCY
PWM Period = [(PWM_Frequency) + 1] × 2 × PTIMER × (Prescale Value)
PWM Duty Cycle (%) = (PWM_DUTY CYCLE>)/(4 × PWM_FREQUENCY)
PWM Duty Cycle (time in s) = (PWM_DUTY_CYCLE) × PWM_TIMER_PERIOD/2 × (Prescale Value)
Note:
If the PWM duty cycle value is longer than
the PWM period, the PWM pin will not be
cleared.
2F
TIME R
F
PWM
--------------------------


log
2

log
----------------------------------------bits
=
PWM Resolution (max)



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


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