Hwpw


+ Reply to Thread
Results 1 to 20 of 20

Thread: Hwpw

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,705


    Did you find this post helpful? Yes | No

    Default Re: Hwpw

    I ran your program and according to the scope they all are running the same freq. with different pulse width
    not really they all are running the same pulse width with different freq.
    Attached Images Attached Images   
    Warning I'm not a teacher

  2. #2
    Join Date
    Aug 2009
    Location
    Paso Robles California
    Posts
    167


    Did you find this post helpful? Yes | No

    Default Re: Hwpw

    Well, I don't know what to say. I get all the same frequency with different pulse width.
    Even the program shows different pulse width.
    I even went back to the pick basic plus and i'm running for with four different timers, and they all run the same frequency, and if you set it for a different frequency, they shut down pulse width, I can control

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,705


    Did you find this post helpful? Yes | No

    Default Re: Hwpw

    Even the program shows different pulse width.
    what do you mean ,that makes little sense


    Well, I don't know what to say. I get all the same frequency with different pulse width.
    my code works perfectly on the simulator and the actual hardware
    post your code and schematic .
    Warning I'm not a teacher

  4. #4
    Join Date
    Aug 2009
    Location
    Paso Robles California
    Posts
    167


    Did you find this post helpful? Yes | No

    Default Re: Hwpw

    I ran the code that you posted.

  5. #5
    Join Date
    Aug 2009
    Location
    Paso Robles California
    Posts
    167


    Did you find this post helpful? Yes | No

    Default Re: Hwpw

    Walking and talking on the phone does not work well.
    I ran your program my scope has measure function all 3 channels showed the same frequency. But the duty cycle was the only difference. I used pbp setting ccp1, ccp2, ccp3 and ccp5 port c1, c2, and port b0, b5 there is also no control of individual frequency only duty cycle

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,705


    Did you find this post helpful? Yes | No

    Default Re: Hwpw

    If you don't get three frequencies with 50% duty cycle then you are not using my code ,chip or schema.


    Post your code and schema
    Warning I'm not a teacher

  7. #7
    Join Date
    Aug 2009
    Location
    Paso Robles California
    Posts
    167


    Did you find this post helpful? Yes | No

    Default Re: Hwpw

    I will rerun tomorrow and post scope pictures. Its
    definitely possible. I did something wrong. I am only running at 40 MHz. At this time, I have 16 mhz crystal's coming.

  8. #8
    Join Date
    May 2013
    Location
    australia
    Posts
    2,705


    Did you find this post helpful? Yes | No

    Default Re: Hwpw

    I have 16 mhz crystal's coming.
    totally not needed for this simple test, it uses internal osc
    Warning I'm not a teacher

Members who have read this thread : 14

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