SEROUT2/SERIN2 Problem


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Try re-writing with out the str , something like
    from the manual
    SERIN2 1,16780,[WAIT(“A”),B0]
    Or better yet just send/receive a simple 5 and blink an LED to test the connection,

    I think the problem is in the way you are trying to receive the data. Take another look at SERIN2 in the manual, WAITSTR might be the answer.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Jun 2006
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    Thanks guys.

    Darrel: I hadn't used any other config directives.

    The problem is that this setup will be used in an environment other than my office so it has to be reliable. I've decided to go the synch route and have gotten it working reasonably now.

    I've definately learned a lesson here though so it wasn't all a waste.

    I appreciate your help

    Regards

    Thirsty

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


    Did you find this post helpful? Yes | No

    Default

    WOW!

    You've written Synchronous Slave routines in 4 hrs (or less).
    I'm impressed, although skeptical.
    <br>
    DT

  4. #4
    Join Date
    Jun 2006
    Posts
    12


    Did you find this post helpful? Yes | No

    Default

    I didn't say I wrote it - I said I had it working. I found some sample code and used that as a basis.

    Sarcasm really is the lowest form of wit don't you think?

Similar Threads

  1. Problem with ASM IRQ using FSR0 on PIC18F252
    By mytekcontrols in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 11th March 2008, 20:48
  2. USART Problem , but don't know where, in pc? or in PIC?
    By precision in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 15th July 2007, 08:12
  3. Serout2/serin2 Pbp Problem
    By SOMRU in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th December 2006, 19:55
  4. 1 slave 1 master 1 MAX232 1 problem ?
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 31st July 2005, 22:59
  5. weird 12F629/675 problem
    By peterdeco1 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 7th October 2004, 01:08

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