PIC instruction time


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    Suffolk, UK
    Posts
    59


    Did you find this post helpful? Yes | No

    Default

    Many thanks to you both

    Regards

    Adrian

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Well, that's the why?
    All you need's a How to Fix.
    Assuming you want a fix, (>> I am just curious about PIC speed.)

    If you need the 2 pulses to transition at the same time, you could do something like this...
    Code:
    PORTB.7 = 1
    PAUSEUS LX * 10                ; adjust to PULSOUT's 10us resolution @4mhz
    PORTB = PORTB & %01011111 | %0010000    ; R-M-W both pins at the same time
    PAUSEUS RX * 10
    PORTB.5 = 0
    Of course, this just shifts the extra time to the "Inside" of the pulses, instead of between them. But, that additional time can be minimized if LX and RX are already scaled to match PULSOUT's 10us resolution (*10).
    DT

Similar Threads

  1. SMS via pic
    By kenandere in forum GSM
    Replies: 15
    Last Post: - 10th March 2010, 11:00
  2. Replies: 67
    Last Post: - 8th December 2009, 03:27
  3. Can a PIC PIC a PIC?
    By afbecker in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd January 2008, 20:55
  4. Two PIC 16F877A fried in two days!
    By manumenzella in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 18th January 2007, 11:38
  5. instruction execution time
    By tjg in forum Code Examples
    Replies: 3
    Last Post: - 21st April 2004, 19:15

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