Serin woes - qualifiers not working


Results 1 to 12 of 12

Threaded View

  1. #5
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530

    Default

    Quote Originally Posted by tekart View Post
    This is pretty basic - but it's driving me nutz.

    I have a serin routine that is not responding to the qualifiers. The point of this circuit is to take the serial processing work off of another PIC, so I'm using an 12F509 to wait for a particular serial burst with 2 specific qualifiers. Then it sends a 2mS pulse to the host processor to let it know that valid data arrived. The serial is coming in via a MAX232 - so it's uninverted.

    I wrote a test line that just waits for the serial data line to go low - and that works. The data line is clean and stays high between comms - see scope pic below.

    The serial burst looks like this:
    Tx:0F 03 00 00 00 05 84 E7

    Guy
    Hey Guy,

    I got it to work for me on my 12f683, but I had to change this line, so I could use characters that I can type on my keyboard:

    Code:
    SCADAin,2,200,NoOp,["15","3"],X	' check f"or right qualifiers only
        
    Then when I enter 153x (x=any character or number) your code works, and X=x
    Last edited by ScaleRobotics; - 30th January 2010 at 20:18.

Similar Threads

  1. Serin timeout not working properly!
    By Megahertz in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 1st January 2010, 20:56
  2. Problem with PBP interrupt and Serin, please help
    By rgregor in forum mel PIC BASIC
    Replies: 0
    Last Post: - 22nd August 2006, 19:02
  3. Serin with low voltage
    By f_lez in forum General
    Replies: 3
    Last Post: - 21st August 2006, 11:52
  4. Serin woes
    By Libretto in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th November 2004, 09:45
  5. SerIn and SerOut
    By Dwayne in forum FAQ - Frequently Asked Questions
    Replies: 0
    Last Post: - 21st July 2004, 15:54

Members who have read this thread : 1

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