18F4553 HPWM x2 problem


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2018
    Posts
    4

    Default 18F4553 HPWM x2 problem

    Hello,

    I designed a board to use a 18F4553 and run two pulse output circuits on portc.1 and portc.2. I was intending to use HPWM1 and HPWM2 to vary the frequency of each independently. It looks like this cannot be done since both HPWMs need to have the same frequency. I need these two pulse outputs to be always on and running in the background. Are there any workarounds for this or does anyone know of another 44 TQFP PIC that would drop in and work? Duty cycle is not important, just independently adjustable frequency on two pins. Thanks for the help.

  2. #2
    Join Date
    Apr 2014
    Location
    OK
    Posts
    557


    Did you find this post helpful? Yes | No

    Default Re: 18F4553 HPWM x2 problem

    Most of the newer PIC offerings have more than one Timer2/4/6 that can be used for CCP1/2/3 or PWM1/2/3.... Look at the PIC18FxxK40 and K42 offerings; both work with PBP3.1. I know there are more (including a bunch of PIC16F versions); you can search Microchip's site for these requirements (along with other requirements you need for your project).

  3. #3
    Join Date
    Feb 2018
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: 18F4553 HPWM x2 problem

    Thank you mpgmike, that got me back on the right track. I swapped for a 18F46K80 and I have things working the way I wanted them to. Appreciate the help.

Similar Threads

  1. PIC18F4550 to 18F4553 Comm Issue?
    By ShaneMichael in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 22nd April 2016, 23:54
  2. trade 18F4553-I/P (really want 16c717/JW)
    By nomad in forum Adverts
    Replies: 2
    Last Post: - 1st November 2008, 23:49
  3. HPWM problem .. pls help!
    By Samuel in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 1st February 2006, 16:30
  4. Problem with INTB0 and HPWM
    By TurboLS in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 3rd March 2005, 17:15
  5. HPWM Problem
    By Mark Scotford in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th September 2004, 11:40

Members who have read this thread : 1

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