Chip speed


Results 1 to 6 of 6

Thread: Chip speed

Threaded View

  1. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,623


    Did you find this post helpful? Yes | No

    Default

    Hi,
    You have a couple of options:
    ** Run it and time it in the simulator in MPLAB.
    ** Set a pin high when you enter the code section and low when you exit it. Look at the output with an oscilloscope.
    ** Use one of the PIC's timers to measure the execution time. Start it when you enter the section of code and stop it when you exit it. Someone (Darrel perhaps??) posted some code that was perfect for that but I can't seems to find it right now. I'll take another look.

    /Henrik Olsson.

    EDIT: OK Steve beat me to it. With nicer layout AND links to the code I was thinking about, and then some....
    Last edited by HenrikOlsson; - 21st November 2007 at 07:38.

Similar Threads

  1. USB Speed
    By Rony in forum USB
    Replies: 5
    Last Post: - 24th August 2008, 21:43
  2. USB Speed
    By Rony in forum General
    Replies: 0
    Last Post: - 21st August 2008, 23:15
  3. Closed loop speed controller
    By Ryan7777 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 26th January 2008, 15:15
  4. NEWB Help HPWM coding
    By Seafurymike in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st January 2008, 22:52
  5. Replies: 14
    Last Post: - 26th September 2007, 06:41

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