SEROUT2 and TRISIO - trash leading characters


Closed Thread
Results 1 to 5 of 5

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: SEROUT2 and TRISIO - trash leading characters

    The START bit of the first character begins with a transition from High to Low (with TRUE levels).

    If the pin is not in the High state, the start bit will be missed and the first data sent will be out of sync.
    It will be able to sync up after any pause in the data stream greater than 1-byte in length.

    To initialize the pin, you should set it to output, in the "Idle State" for at least 1 byte length (8.3 mS for 1200 baud).
    So just set the pin high, pause 10 mS and you should be fine.
    DT

  2. #2
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952


    Did you find this post helpful? Yes | No

    Default Re: SEROUT2 and TRISIO - trash leading characters

    Hi Darrel,

    It works ;-)

    Thanks a lot.
    Roger

Similar Threads

  1. Serout2 on LCD Shows Junk Characters
    By RossWaddell in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 14th January 2013, 16:51
  2. Gpio ? Trisio ?
    By ultiblade in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 15th October 2008, 15:38
  3. Pic12f683, Trisio, High Z, A2d
    By jmbanales21485 in forum Schematics
    Replies: 9
    Last Post: - 5th July 2007, 20:34
  4. Leading 0's or BCD
    By RYTECH in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 28th December 2005, 02:06
  5. Leading/Trailing Edge
    By DelBoy in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 23rd March 2005, 13:29

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