Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.COM

X  

DSPIC30F5015 Datasheet(PDF) 86 Page - Microchip Technology

Part # DSPIC30F5015
Description  High-Performance, 16-Bit Digital Signal Controllers
Download  230 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DSPIC30F5015 Datasheet(HTML) 86 Page - Microchip Technology

Back Button DSPIC30F5015_07 Datasheet HTML 82Page - Microchip Technology DSPIC30F5015_07 Datasheet HTML 83Page - Microchip Technology DSPIC30F5015_07 Datasheet HTML 84Page - Microchip Technology DSPIC30F5015_07 Datasheet HTML 85Page - Microchip Technology DSPIC30F5015_07 Datasheet HTML 86Page - Microchip Technology DSPIC30F5015_07 Datasheet HTML 87Page - Microchip Technology DSPIC30F5015_07 Datasheet HTML 88Page - Microchip Technology DSPIC30F5015_07 Datasheet HTML 89Page - Microchip Technology DSPIC30F5015_07 Datasheet HTML 90Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 86 / 230 page
background image
dsPIC30F5015/5016
DS70149C-page 84
© 2007 Microchip Technology Inc.
13.1
Timer2 and Timer3 Selection Mode
Each output compare channel can select between one
of two 16-bit timers; Timer2 or Timer3.
The selection of the timers is controlled by the OCTSEL
bit (OCxCON<3>). Timer2 is the default timer resource
for the output compare module.
13.2
Simple Output Compare Match
Mode
When control bits OCM<2:0> (OCxCON<2:0>) = 001,
010
or 011, the selected output compare channel is
configured for one of three simple output compare
match modes:
• Compare forces I/O pin low
• Compare forces I/O pin high
• Compare toggles I/O pin
The OCxR register is used in these modes. The OCxR
register is loaded with a value and is compared to the
selected incrementing timer count. When a compare
occurs, one of these compare match modes occurs. If
the counter resets to zero before reaching the value in
OCxR, the state of the OCx pin remains unchanged.
13.3
Dual Output Compare Match Mode
When control bits OCM<2:0> (OCxCON<2:0>) = 100
or 101, the selected output compare channel is config-
ured for one of two dual output compare modes, which
are:
• Single Output Pulse mode
• Continuous Output Pulse mode
13.3.1
SINGLE-PULSE MODE
For the user to configure the module for the generation
of a single output pulse, the following steps are
required (assuming timer is off):
• Determine instruction cycle time TCY.
• Calculate desired pulse width value based on TCY.
• Calculate time to start pulse from timer start value
of 0x0000.
• Write pulse width start and stop times into OCxR
and OCxRS Compare registers (x denotes
channel 1, 2, ...,N).
• Set Timer Period register to value equal to, or
greater than, value in OCxRS Compare register.
• Set OCM<2:0> = 100.
• Enable timer, TON (TxCON<15>) = 1.
To initiate another single pulse, issue another write to
set OCM<2:0> = 100.
13.3.2
CONTINUOUS PULSE MODE
For the user to configure the module for the generation
of a continuous stream of output pulses, the following
steps are required:
• Determine instruction cycle time TCY.
• Calculate desired pulse value based on TCY.
• Calculate timer to start pulse width from timer start
value of 0x0000.
• Write pulse width start and stop times into OCxR
and OCxRS (x denotes channel 1, 2, ...,N)
Compare registers, respectively.
• Set Timer Period register to value equal to, or
greater than, value in OCxRS Compare register.
• Set OCM<2:0> = 101.
• Enable timer, TON (TxCON<15>) = 1.
13.4
Simple PWM Mode
When control bits OCM<2:0> (OCxCON<2:0>) = 110
or 111, the selected output compare channel is config-
ured for the PWM mode of operation. When configured
for the PWM mode of operation, OCxR is the main latch
(read-only) and OCxRS is the secondary latch. This
enables glitchless PWM transitions.
The user must perform the following steps in order to
configure the output compare module for PWM
operation:
1.
Set the PWM period by writing to the appropriate
Period register.
2.
Set the PWM duty cycle by writing to the OCxRS
register.
3.
Configure the output compare module for PWM
operation.
4.
Set the TMRx prescale value and enable the
timer, TON (TxCON<15>) = 1.
13.4.1
INPUT PIN FAULT PROTECTION
FOR PWM
When control bits OCM<2:0> (OCxCON<2:0>) = 111,
the
selected
output
compare
channel
is
again
configured for the PWM mode of operation, with the
additional feature of input Fault protection. While in this
mode, if a logic ‘0’ is detected on the OCFA pin, the
respective PWM output pin is placed in the high-
impedance input state. The OCFLT bit (OCxCON<4>)
indicates whether a Fault condition has occurred. This
state will be maintained until both of the following
events have occurred:
• The external Fault condition has been removed.
• The PWM mode has been re-enabled by writing
to the appropriate control bits.


Similar Part No. - DSPIC30F5015_07

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
DSPIC30F5015-30I MICROCHIP-DSPIC30F5015-30I Datasheet
3Mb / 234P
   High-Performance, 16-bit Digital Signal Controllers
08/04/10
DSPIC30F5015AT-20I/PF MICROCHIP-DSPIC30F5015AT-20I/PF Datasheet
3Mb / 232P
   High-Performance, 16-Bit Digital Signal Controllers
2008
DSPIC30F5015AT-30I/PF MICROCHIP-DSPIC30F5015AT-30I/PF Datasheet
3Mb / 232P
   High-Performance, 16-Bit Digital Signal Controllers
2008
DSPIC30F5015BT-20I/PF MICROCHIP-DSPIC30F5015BT-20I/PF Datasheet
3Mb / 232P
   High-Performance, 16-Bit Digital Signal Controllers
2008
DSPIC30F5015BT-30I/PF MICROCHIP-DSPIC30F5015BT-30I/PF Datasheet
3Mb / 232P
   High-Performance, 16-Bit Digital Signal Controllers
2008
More results

Similar Description - DSPIC30F5015_07

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
DSPIC30F6010A MICROCHIP-DSPIC30F6010A_11 Datasheet
3Mb / 236P
   High-Performance, 16-bit Digital Signal Controllers
2011
DSPIC30F2010 MICROCHIP-DSPIC30F2010_08 Datasheet
2Mb / 204P
   High-Performance, 16-bit Digital Signal Controllers
2008
DSPIC33FJXXXMCX06A MICROCHIP-DSPIC33FJXXXMCX06A Datasheet
2Mb / 352P
   High-Performance, 16-bit Digital Signal Controllers
2009
DSPIC30F2011 MICROCHIP-DSPIC30F2011_08 Datasheet
3Mb / 206P
   High-Performance, 16-bit Digital Signal Controllers
2008
DSPIC33FJ12MC201MM MICROCHIP-DSPIC33FJ12MC201MM Datasheet
4Mb / 284P
   High-Performance, 16-Bit Digital Signal Controllers
2007
DSPIC30F6011 MICROCHIP-DSPIC30F6011_06 Datasheet
3Mb / 228P
   High-Performance, 16-Bit Digital Signal Controllers
2006
DSPIC30F6010 MICROCHIP-DSPIC30F6010_06 Datasheet
3Mb / 222P
   High-Performance, 16-Bit Digital Signal Controllers
2006
DSPIC30F6014A-30IPT MICROCHIP-DSPIC30F6014A-30IPT Datasheet
2Mb / 239P
   High-Performance, 16-Bit Digital Signal Controllers
10/19/06
DSPIC33FJ128GP802-I MICROCHIP-DSPIC33FJ128GP802-I Datasheet
2Mb / 403P
   High-Performance, 16-bit Digital Signal Controllers
03/26/09
DSPIC33FJ16GS502-E MICROCHIP-DSPIC33FJ16GS502-E Datasheet
5Mb / 346P
   High-Performance, 16-bit Digital Signal Controllers
02/04/09
DSPIC33FJ12GP202-E MICROCHIP-DSPIC33FJ12GP202-E Datasheet
3Mb / 242P
   High-Performance, 16-Bit Digital Signal Controllers
12/08/06
More results


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


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.COM
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Datasheet Upload   |   Contact us   |   Privacy Policy   |   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