Updating HPWM frequently, safe?


Results 1 to 40 of 79

Threaded View

  1. #16
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,652


    Did you find this post helpful? Yes | No

    Wink ??? some explanations welcome ...

    Quote Originally Posted by Darrel Taylor View Post
    That's just his little way of saying "I don't Know, go read the datasheet or something."<hr>
    HTH,

    Hi, Darrel ,

    I do not know if you're right here ...

    The fact is I used HPWM without pain for years ... but NOT aboard any '683
    and it REALLY seems there's a HARDWARE ( say CCP functionning ) issue.

    The µChip section Skimask pointed at shows " PMW module *might* be disabled before changing the dutycycle ". I read some Other Pics Datasheets and this GREY section didn't appear elsewhere ...

    IF I'm right, this "funny feature" happens whatever you use, assembler or Basic (!) ... The way HPWM command works doesn't matter here !!!

    So, a ( Which other Basic do you think to ??? .... mmmmmh ? ) HPWM_UPDATE command wouldn't solve the question !!!

    µChip clearly says : Changing the dutycycle while PWM running (and only dutycycle is enough ) will produce unwanted effects ...

    The only way I see to keep ( is it really necessary ??? Good Q.) a "neat" PWM output would be to switch between HPWM, to the last produced fixed freq. and duty, soft PWM ... while disabling CCP, changing Dutycycle and re-enabling the CCP.

    Quite a funny little sub to write, no ???


    Back to our Friend Skimask ... I really do not know ... if he really doesn't know the "what is wrong".

    I'm Ok ... this is not giving the solution, nor ... BUT ... His first answer could have been " Won't work with the '683 ( FINAL POINT )"


    Would be kind to leave guns, knives, scissors and umbrellas out before entering the saloon ... just a thought.


    Alain
    Last edited by Acetronics2; - 6th May 2007 at 09:57.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. need help on hpwm
    By helmut in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 28th August 2007, 15:49
  2. HPWM of the port of two HPWM
    By ja2rqk in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th April 2007, 15:05
  3. sound command & music
    By trying in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 26th May 2006, 14:14
  4. HPWM and A to D interaction question 18F252
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 10th May 2006, 03:50
  5. 3 HPWM channels
    By docwisdom in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 4th April 2006, 02:43

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