Timing on the 12F675


Results 1 to 8 of 8

Threaded View

  1. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,651


    Did you find this post helpful? Yes | No

    Default

    Hi,

    as the Holy Manual states ...

    min PAUSEUS @ 4 Mhz is ... 19µs ...

    soooo .... toobad !

    Now, for this " universal IR Tx " ...the use of a Xtal looks compulsory !

    Alain

    PS: an assembler stubb would be useful here ...

    Code:
    ;-------------------------------------------------------------
    ; Code generated by PDEL  ver 1.0  on 23/04/2010 at 09:01:45
    ; Description: Waits 13 cycles
    ;-------------------------------------------------------------
    PDelay  movlw     .2        ; 1 set number of repetitions
            movwf     PDel0     ; 1 |
    PLoop0  clrwdt              ; 1 clear watchdog
            decfsz    PDel0, 1  ; 1 + (1) is the time over?
            goto      PLoop0    ; 2 no, loop
            return              ; 2+2 Done
    ;-------------------------------------------------------------
    
    
    
    Code requirements
    -----------------
    - Declaration of PDel0 (register)
    - 1 stack level
    
    Example of use
    --------------
    call PDelay      ; Delay 13 cycles (including call+return)
    Last edited by Acetronics2; - 23rd April 2010 at 08:02.
    ************************************************** ***********************
    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 " !!!
    *****************************************

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