• 0

uC32 Output Compare Timers


Question

Hi guys,

I'll looking to use 3 of the 5 compare pwm outputs available on the uC32.  I would like to use them to generate 3 square waves all around 830Hz.  They'll all be fixed frequency from the start of the program.  I've seen the sample code in the datasheet, but I think there must be easier higher level functions I can call.  I would like to send the output on the OCx pins.

Can anyone point me in the direction of some resources for this?  I can't seem to get anything out of the OC pins.

Thanks,

djcheezy

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi djcheezy,

I did some searching myself and haven't found any nice libraries or other higher level code to effectively use the output compare pins... I remember seeing some talk about using the pins on the chipKIT forum from what I recall, but none of the code presented was very user friendly (at least in my limited experience).

Let me know if you have any more questions.

Thanks,
JColvin

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now