Jump to content
  • 0

uC32 Output Compare Timers


djcheezy

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 comment
Share on other sites

1 answer to this question

Recommended Posts

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 comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...