PIC16F616 HWPM Problem


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    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

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Tobias View Post
    Come on isn't that just a minor technical difficulty???
    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.

    For my project I need two different PWM's so I would need a chip that has two CCP's?
    Depends on what you need. There are alternatives to HPWM.
    <br>
    DT

Similar Threads

  1. problem using GOSUB under interrupt
    By fobya71 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 5th March 2010, 19:52
  2. Problem with servo and PIC16F616
    By Forkosh in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th November 2007, 21:22
  3. PIC16F616 Comparator problem
    By JimA in forum General
    Replies: 0
    Last Post: - 15th October 2007, 14:56
  4. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  5. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts