From: MSAD on
Thanks Brad,
I have tried your suggestion and i can see different waveforms from PWM
pins.
my problem now, how to write different values to the comapre register in
order to get PWM with variable duty cycles?

your advices is highly appreciated

MSAD
>"MSAD" <mdahidah(a)yahoo.com> wrote in message
>news:Z4udneT959WGgozeRVn-3g(a)giganews.com...
>> >
>>>"MSAD" <mdahidah(a)yahoo.com> wrote in message
>>>news:7uWdnZ9-TZ5qDY3eRVn-vg(a)giganews.com...
>>>> Dear all,
>>>> Is there anybody can help me out on how to generate a programmed PWM
>>>> signal using F2812DSP board. It has been suggested that I may set-up
>> one
>>>> of the PWM outputs such that is has a frequency of say 2^14*50 =
819.2
>>>> KHz. Next, quantize your waveform into 2^14 time slices. Set up
the
>>>> Timer ISR on the DSP to load a duty ratio of 0 or 100 percent
depending
>> on
>>>> the state of the waveform in the next 1.22 us. could anybody help
me
>> how
>>>> to implement the above concept as I am really new to DSP.
>>>>
>>>> thanks in advance
>>>>
>>>>
>>>>
>>>> This message was sent using the Comp.DSP web interface on
>>>> www.DSPRelated.com
>>>
>>>Take a look at the TI doc for the EV manager.. there is a simple
>> explanation
>>>for how to
>>>generate a pwm output there..
>>>
>>>http://focus.ti.com/lit/ug/spru065c/spru065c.pdf
>>>
>>>
>>>
>>>
>> Yes, I had that document, however Yet I am unable to figure out how,
it
>> would be very much appreciated if you please supply me a simple
detailed
>> example on how to generate PWM with F2812.
>> best regards
>>
>>
>> This message was sent using the Comp.DSP web interface on
>> www.DSPRelated.com
>
>Check these out:
>
>F281x C/C++ Header Files and Peripheral Examples
>http://www-s.ti.com/sc/psheets/sprc097/sprc097.zip
>
>There's an example called ev_pwm that turns on all the pwms such that you

>can observe them on a scope.
>
>Brad
>
>
>



This message was sent using the Comp.DSP web interface on
www.DSPRelated.com