Pauseus Doubt


Closed Thread
Results 1 to 3 of 3

Thread: Pauseus Doubt

  1. #1
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240

    Default Pauseus Doubt

    Hi All;

    I little question concernning the PAUSEUS command.
    I know, from the table of the manual, that @8Mhz on a 16Pic series the minimum delay of the PAUSEUS command is 12uS. But since the compiler dosen't give any error if write PAUSEUS 1, what is the value that PBP assumes? It is still 12uS or any other value?

    Thank You.
    Thanks and Regards;
    Gadelhas

  2. #2
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Pauseus Doubt

    It is probably passing the value of 1 to the internal pauseus routine,
    but the single cycle will still take the quoted time to execute.
    This is all happening in assembler once you've compiled it remember.
    The value has to be copied from the command you wrote in basic to an assembler routine that wastes time of an accurate measure.

  3. #3
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240


    Did you find this post helpful? Yes | No

    Default Re: Pauseus Doubt

    Hi All again;

    I took the time to actually measure the time of the PAUSEUS 1, and it took exactly 25ticks of clock->12.1uS (@8Mhz).
    I did other tests, and from PAUSEUS 1 to PAUSEUS 12 excluding the PAUSEUS 10, all took 25ticks, however the PAUSEUS 10, took 23ticks->11,1uS, and don't know why!!!
    Thanks and Regards;
    Gadelhas

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