3 HPWM channels with PIC18F26K20


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Hello, and welcome to the forum!

    From the data sheet.....

    11.0 CAPTURE/COMPARE/PWM
    (CCP) MODULES
    PIC18F2XK20/4XK20 devices have two CCP
    Capture/Compare/PWM)

    See the fine print by PortB.3 CCP2^1
    Note 1: RB3 is the alternate pin for CCP2 multiplexing.

    If you want to look at some devices that have more, you can do a parametric search here:
    http://www.microchip.com/maps/microcontroller.aspx
    Last edited by ScaleRobotics; - 12th January 2011 at 19:11.
    http://www.scalerobotics.com

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by scalerobotics View Post
    Hello, and welcome to the forum!

    From the data sheet.....

    11.0 CAPTURE/COMPARE/PWM
    (CCP) MODULES
    PIC18F2XK20/4XK20 devices have two CCP
    Capture/Compare/PWM)

    See the fine print by PortB.3 CCP2^1
    Note 1: RB3 is the alternate pin for CCP2 multiplexing.

    If you want to look at some devices that have more, you can do a parametric search here:
    http://www.microchip.com/maps/microcontroller.aspx
    Thanks for your fast answer, well I will buy the PIC18F4431 instead, with eight PWM outputs, it will be fine.

    But I can simulate in Isis any PIC I want, so I try to feed a simulated PIC18F4431 with the same program as above (compiled with the right PIC setting of course in MicroCode Studio).

    And like my PIC18F26K20, only two HPWM outputs are working. What's wrong?

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