Prox / RFID
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Resume / Consulting
Contact Me

LDmicro Forum - PIC16F88 ... PWM

(you are viewing a thread; or go back to list of threads)

PIC16F88 ... PWM (by Rumen)
So, i wrote an article about this microcontroller and this is what i read ....

Capture, Compare, PWM (CCP) module:
- Capture is 16-bit, max. resolution is 12.5 ns
- Compare is 16-bit, max. resolution is 200 ns
- PWM max. resolution is 10-bit

So it looks like PIC16F88 has a PWM out (may be i'm wrong i am new in microcontrollers!)

And the program tells me that this controller has no PWM out
Is that a bug or i missunderstood
best regards
Mon Apr 19 2010, 04:06:17
(no subject) (by Jonathan Westhues)
See the manual:

"The ladder logic runtime consumes one timer to measure the cycle time. That means that PWM is only available on microcontrollers with at least two suitable timers. PWM uses pin CCP2 (not CCP1) on PIC16 chips and OC2 (not OC1A) on AVRs."

The 'F88 has only one suitable timer; so it could output PWM, but it cannot output PWM and run the cycle timer simultaneously.
Mon Apr 19 2010, 06:51:49
Post a reply to this comment:
Your Name:
Your Email:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):