Are you sure it's a PIC16F616?
The 616 only has 1 CCP module.
It's on RC5 and can't be changed with a DEFINE.
<br>
Are you sure it's a PIC16F616?
The 616 only has 1 CCP module.
It's on RC5 and can't be changed with a DEFINE.
<br>
DT
Come on isn't that just a minor technical difficulty??? I thought I was doing good reading the spec sheet. Table 2 has RC5 as CCP1, I thought that I could get away using RC2,3, and 4 because there was P1B, P1C, and P1D. What would I use RC2, 3, and 4 as if they are labeled as P1B, P1C, and P1D? Does that mean I can use them as HPWM's yet they will share the same pulse width as the CCP1? For my project I need two different PWM's so I would need a chip that has two CCP's?
Thanks
Toby
Insignificant, in the scope of world events.<hr>
The CCP module on that chip is an ECCP.
The P1A thru P1D outputs can be used to run "half-bridge" or "full-bridge" motor drivers and a few other tricky things. All the outputs would have the same PWM freq/duty, but uses complimentary signals with programmable delays when switching states.
But the way the HPWM command uses the CCP module, it's a single output on the CCP pin.
You can only get 1 PWM signal out of it.
Depends on what you need. There are alternatives to HPWM.For my project I need two different PWM's so I would need a chip that has two CCP's?
<br>
DT
Bookmarks