Search found 1 match

by deepak223
Sun Nov 18, 2007 3:01 am
Forum: dsPIC Peripherals
Topic: Output Compare block
Replies: 1
Views: 2290

Output Compare block

Lubin, I want to generate a PWM signal using the output compare block. I looked at the examples provided in the toolbox (Servo_ADC.mdl,Servo_sinus.mdl) but it is entirely clear to me how to set OCxR and PRy registers in dsPIC33f. How to define the PWM period and duty cycle in the block. thanks Deepak