can HWPM use in PIC16f84a?


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006
    Posts
    14

    Smile can HWPM use in PIC16f84a?

    i am confuse about using HPWM...
    can we use HPWM in pic16f84a?
    what is the meaning of channel HPWM command?

    my target project now is to control the rotation speed of dc motor.

  2. #2
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Sorry the 16F84 does not have a Harware PWM

    Hi,

    PIC16F84 does not have a hardware PWM peripheral on it and thus cannot be used with the HPWM function. For this you need a PIC that supports it. Basically in a Harware PWM you just program your PWM once and it goes on in the background without any software intervention.
    Regards

    Sougata

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default

    Hi,
    The HPWM command uses the chips CCP module(s) but the 16F84A doesn't have any so it won't work. Look at the, for example, 16F628 instead.

    Some PIC's have more than one CCP module and the value channel specifies which of them you want to use. The command supports channel 1 and 2 only.

    /Henrik Olsson.

Similar Threads

  1. Replies: 18
    Last Post: - 4th July 2017, 14:26
  2. Multplexing two 7-Segment Displays with PIC16F84A
    By lawriem72 in forum mel PIC BASIC
    Replies: 2
    Last Post: - 19th July 2007, 21:27
  3. Serial Communication Using PIC16F84A
    By fazan83 in forum GSM
    Replies: 9
    Last Post: - 22nd January 2007, 02:56
  4. How to connect PIC16F84A to mobile phone
    By PoTeToJB in forum Schematics
    Replies: 2
    Last Post: - 8th March 2006, 15:32
  5. Replies: 3
    Last Post: - 16th April 2005, 12:42

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