Microchip dsPIC33CK256MC102 Manual
Microchip
Ikke kategoriseret
dsPIC33CK256MC102
Læs gratis den danske manual til Microchip dsPIC33CK256MC102 (131 sider) i kategorien Ikke kategoriseret. Denne vejledning er vurderet som hjælpsom af 16 personer og har en gennemsnitlig bedømmelse på 4.7 stjerner ud af 8.5 anmeldelser. Har du et spørgsmål om Microchip dsPIC33CK256MC102, eller vil du spørge andre brugere om produktet?
Side 1/131

HRPWM with Fine Edge
Placement
dsPIC33/PIC24 Family Reference Manual
Introduction
Note: This family reference manual section is meant to serve as a complement to device data sheets. Depending on
the device variant, this manual section may not apply to all dsPIC33 devices. Please consult the note at the
beginning of the chapter in the specific device data sheet to check whether this document supports the device you
are using.
Device data sheets and family reference manual sections are available for download from the Microchip Worldwide
Website at: www.microchip.com.
This document describes the features and use of the High-Resolution Pulse-Width Modulated (PWM) with Fine Edge
Placement. This flexible module provides features to support many types of Motor Control (MC) and Power Control
(PC) applications, including:
• AC-to-DC Converters
• DC-to-DC Converters
• AC and DC Motor Control: Brushed DC, BLDC, PMSM, ACIM, SRM, Stepper, etc.
• Inverters
• Battery Chargers
• Digital Lighting
• Power Factor Correction (PFC)
High-Level Features
• Up to Eight Independent PWM Generators, each with Dual Outputs
• Operating modes:
– Independent Edge PWM mode
– Variable Phase PWM mode
– Independent Edge PWM mode, Dual Output
– Center-Aligned PWM mode
– Double Update Center-Aligned PWM mode
– Dual Edge Center-Aligned PWM mode
• Output modes:
– Complementary
– Independent
– Push-Pull
• Dead-Time Generator
• Dead-Time Compensation
• Leading-Edge Blanking (LEB)
• Output Override for Fault Handling
• Flexible Period/Duty Cycle Updating Options
• PWM Control Inputs (PCI) for PWM Pin Overrides and External PWM Synchronization
• Advanced Triggering Options
• Combinatorial Logic Output
© 2017-2020 Microchip Technology Inc. Functional Reference Manuals (FRM) DS70005320D-page 1

• PWM Event Outputs
HRPWM with Fine Edge Placement
© 2017-2020 Microchip Technology Inc. Functional Reference Manuals (FRM) DS70005320D-page 2

Worldwide Sales and Service.....................................................................................................................131
HRPWM with Fine Edge Placement
© 2017-2020 Microchip Technology Inc. Functional Reference Manuals (FRM) DS70005320D-page 4

1. Registers
There are two categories of Special Function Registers (SFRs) used to control the operation of the PWM module:
• Common, shared by all PWM Generators
• PWM Generator-specific
An ‘x’ in the register name denotes an instance of a PWM Generator.
A ‘y’ in the register name denotes an instance of a common function.
The LOCK bit in the PCLKCON register may be set in software to block writes to certain registers and bits. See 4.2
PWM Generator (PG) Features for more information. Writes to certain data and control registers are not safe at
certain times of a PWM cycle or when the module is enabled.
HRPWM with Fine Edge Placement
Registers
© 2017-2020 Microchip Technology Inc. Functional Reference Manuals (FRM) DS70005320D-page 5

2. Register Maps
Section provides a brief summary of the related common High-Resolution2.1 Common Functions Register Map
PWM with Fine Edge Placement registers. Section provides a brief summary of2.2 PWM Generator Register Map
the PWM Generator registers. The corresponding registers appear after the summaries, followed by a detailed
description of each register.
HRPWM with Fine Edge Placement
Register Maps
© 2017-2020 Microchip Technology Inc. Functional Reference Manuals (FRM) DS70005320D-page 6

2.1.5 Master Duty Cycle Register
Name: MDC
Bit 15 14 13 12 11 10 9 8
MDC[15:8]
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0 0
Bit 7 6 5 4 3 2 1 0
MDC[7:0]
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0 0
Bits 15:0 – MDC[15:0] Master Duty Cycle Register
This register holds the duty cycle value that can be shared by multiple PWM Generators.
Note: Duty cycle values less than 0x0008 should not be used (0x0020 in High-Resolution mode).
HRPWM with Fine Edge Placement
Register Maps
© 2017-2020 Microchip Technology Inc. Functional Reference Manuals (FRM) DS70005320D-page 12

Value Description
0000 PWM1H
Bit 7 – S1yPOL Combinatorial PWM Logic Source #1 Polarity
Value Description
1Input is inverted
0Input is positive logic
Bit 6 – S2yPOL Combinatorial PWM Logic Source #2 Polarity
Value Description
1Input is inverted
0Input is positive logic
Bits 5:4 – PWMLFy[1:0] Combinatorial PWM Logic Function Selection
Value Description
11 Reserved
10 PWMS1y ^ PWMS2y (XOR)
01 PWMS1y & PWMS2y (AND)
00 PWMS1y | PWMS2y (OR)
Bits 2:0 – PWMLFyD[2:0] Combinatorial PWM Logic Destination Selection
Note: Instances of y = A, C, E of LOGCONy assign logic function output to the PWMxH pin. Instances of y = B, D, F
of LOGCONy assign logic function to the PWMxL pin.
Value Description
111 Logic function is assigned to PWM8
110 Logic function is assigned to PWM7
101 Logic function is assigned to PWM6
100 Logic function is assigned to PWM5
011 Logic function is assigned to PWM4
010 Logic function is assigned to PWM3
001 Logic function is assigned to PWM2
000 No assignment, combinatorial PWM logic function is disabled
HRPWM with Fine Edge Placement
Register Maps
© 2017-2020 Microchip Technology Inc. Functional Reference Manuals (FRM) DS70005320D-page 18
Produkt Specifikationer
Mærke: | Microchip |
Kategori: | Ikke kategoriseret |
Model: | dsPIC33CK256MC102 |
Har du brug for hjælp?
Hvis du har brug for hjælp til Microchip dsPIC33CK256MC102 stil et spørgsmål nedenfor, og andre brugere vil svare dig
Ikke kategoriseret Microchip Manualer
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
18 Februar 2025
18 Februar 2025
18 Februar 2025
Ikke kategoriseret Manualer
- ATen
- Sensiplast
- Prenatal
- Hecht
- Newell
- Yphix
- Velda
- Kichler
- Jomox
- Binatone
- Crucial
- Firefield
- Zoetis
- Krone
- Taurus
Nyeste Ikke kategoriseret Manualer
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025
17 Juni 2025