8E1 using SERIN2 or SERIN


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006
    Posts
    5

    Default 8E1 using SERIN2 or SERIN

    hi my name is David, from Mexico, i don't speack english.

    i have a problem, i need comunicated with a device, the comunication is eleven bits - one start, eight data, one parity (even), and one stop. There are the specifications. aaaaa and speed is 4800. I know whit speed 4800 is

    Baud CON 188

    But.... For 8E1?????


    I Need your help, please.
    Thanks

    David
    Sonora,Mexico.

  2. #2
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Smile

    David,

    For SERIN2:
    4600 baud
    without parity, bit 13 = 0 (see manual)
    0000000010111100 = 188

    with parity, bit 13 = 1 (see manual)
    0010000010111100 = 8380

    To enable 8 data bits with parity enabled, add this define at the top of your code. (see manual)

    DEFINE SER2_BITS 9 ' Set Serin2 data bits to 8 when parity is enabled

    This should work.

    Good Luck,

    Paul Borgmeier
    Salt Lake City, Utah
    USA

  3. #3
    Join Date
    Apr 2006
    Posts
    5


    Did you find this post helpful? Yes | No

    Default Thanks

    Thanks Paul, your informacion has been of great importance.


    greetings David Sonora Mexico

Similar Threads

  1. Serin to Serin2 ??
    By Gixxer in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 25th January 2008, 03:56
  2. Serin vs Serin2
    By The Master in forum mel PIC BASIC
    Replies: 12
    Last Post: - 19th October 2007, 16:50
  3. serin and serin2??? need to understand
    By tkly36 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 7th April 2006, 05:13
  4. Serin / Serin2 / Debugin Differences
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th January 2006, 06:32
  5. SERIN SERIN2 Timeout
    By markedwards in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd June 2005, 18:59

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