Serial Byte Format


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2007
    Posts
    13

    Exclamation Serial Byte Format

    Before I get to far along in my next project, I need a little information on Data Byte formats,
    I am looking to interface with my Yaesu FT920 Transcever, Under the data protocal the format is one start bit 8 data bits no parity and (two stop bits). Is the two stop bits going to give me problems or is the second stop bit just ignored.. I need to use 4800 n 8 2 as the baud rated and bits.. Any help would be appricated

    Mike Bruno

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

    Smile

    Receiving data on the PIC with 2 stop bits will not be a problem because only one is required (and the others ignored as you suggested)

    Sending data from the pic, you will need to insert a 208 uS Pause after each byte you send to facilitate the second stop bit. (Alternatively, you can use 9 bit mode and make the 9th bit always equal to a stop bit)
    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  3. #3
    Join Date
    Dec 2007
    Posts
    13

    Smile Serial Byte Format

    Thanks Paul for the information, I just was not sure about the second stop bit, and the FT920 data information has a optcode to pace bits if I want and the suggest a 200 uSec pace between bytes of data sent out to the interface.. I think it should be able to handle that I will be using a 16f876 at 20mhz

    Thanks again ( this forum makes life easer!!!)
    Mike

Similar Threads

  1. LCD freeze
    By harryweb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 5th October 2009, 08:01
  2. Memory use - how much do you use?
    By keymuu in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 10th June 2009, 22:39
  3. byte compression
    By Norbert in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 16th June 2007, 18:04
  4. Microcontroller with 2 way paging application problem
    By oneohthree in forum mel PIC BASIC Pro
    Replies: 30
    Last Post: - 20th April 2007, 17:27
  5. 16F877 RAM Question
    By Art in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 6th August 2005, 11:47

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