transferring word array to another pic


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    We're just talking RECEIVE here...

    Avoid SERIN, SERIN2, HSERIN, DEBUGIN etc

    all these end up catching Data out of your control...

    Refer to the PICs Datasheet as to which flags within which registers pop-up anouncing that goodies have arrived.

    The nice thing is that there's a small buffer in the PICs USART... if your program is a bit lazy picking up data, then no worries, it just holds it for you and stacks another byte behind...

  2. #2
    garret's Avatar
    garret Guest


    Did you find this post helpful? Yes | No

    Default u'sart right

    thanx for everything mel. I'm off to jam it together.

    -first i'm going to try and poll for an arrival and then use hserin...knowing that there is something there...shouldn't lose any time.
    -Second, i'll try polling and then go straight to the registers and transfer in...no hserin. Mind you here there is no control on assignment to variables and control bytes. I liked what you showed me the other day with an ending confirmation byte...
    -third...everything working well....place the usart reception bit into interrupt status and run it as an interrupt....

    mel...u'sart the bestest...garret

Similar Threads

  1. Serial VB 2005 pic 16f877a problems
    By Snap in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 8th July 2013, 01:52
  2. RF Modules
    By tonyfelloni in forum mel PIC BASIC Pro
    Replies: 44
    Last Post: - 26th June 2010, 18:42
  3. Minimizing code space
    By Tobias in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th May 2009, 08:25
  4. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 12:20
  5. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 22:01

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