Need advice for creating nS time delay


Results 1 to 29 of 29

Threaded View

  1. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi, Sayzer

    How are you ???

    let's see ...

    @ 20 Mhz ... a NOP is ... 1/ 5 Mhz = 200 ns ...

    so, just insert, in your PbP program :

    @ NOP ... and you get a 200 ns delay ...

    You can try to Boost a 16F PIC @ 30 Mhz ... ( I've read about 32 Mhz ...)


    With 18F series @ 40 Mhz , you will get 100 ns per NOP ... and it is a PbP DEFINE OSC ...

    so, 2 or 3 NOP's will do it !

    regards

    Alain

    PS : No PIC solution @ 4Mhz ( minimum instruction time is 1µs ... )

    But you can play with external logic gates ( if possible ...) and use their propagation time : time can easily fall to 10 nS ...
    Last edited by Acetronics2; - 10th December 2007 at 15: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. 16F628A - Stops if release power switch.
    By dene12 in forum General
    Replies: 16
    Last Post: - 14th February 2009, 08:57
  2. Old and beyond help ?
    By DavidFMarks in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 11th December 2008, 16:23
  3. Memory Space of the PIC16F84...
    By Tear in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 1st July 2005, 20:55
  4. Problem with saving to EEPROM...
    By Tear in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 1st July 2005, 01:10
  5. Linx RF -> HSERIN time delay / time critical app...
    By batee in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 15th October 2004, 16:04

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