Specific Area Message Encoding (S.A.M.E.)


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    Indiana, USA
    Posts
    72


    Did you find this post helpful? Yes | No

    Default ?

    So where does bit 14 fit into 1000000? or are we looking at the last 7 bits of 14? and please SOMEONE who can offer some "on the topic" advice chime in?

  2. #2
    fronkensteen's Avatar
    fronkensteen Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ryan7777 View Post
    So where does bit 14 fit into 1000000? or are we looking at the last 7 bits of 14? and please SOMEONE who can offer some "on the topic" advice chime in?
    You're right. I don't have a clue. Or do I?
    Was I 'On Topic' or not?
    You be the judge...

    From the book-
    Mode is used to specify the baud rate and operating parameters of the
    serial transfer. The low order 13 bits select the baud rate. Bit 13 selects
    parity or no parity. Bit 14 selects inverted or true level. Bit 15 is not
    used.
    The baud rate bits specify the bit time in microseconds - 20. To find the
    value for a given baud rate, use the equation:
    (1000000 / baud) - 20
    See those references to Bit 13, Bit 14, Bit 15?
    Do you still think that the MODE parameter used with SERIN2/SEROUT2 is limited to 8 bits?

    So, if you want this 520.83 baud (1,000,000 / baud = 1920.x) - 20 = 1900 = %0000 0111 0110 1100, to work with 'true levels', you have the number already. If you want it to work with 'inverted levels', you set bit 14, just like the book says. %0000 0111 0110 1100 becomes % 0100 0111 0110 1100.

    Sorry. Am I still 'Off-Topic'?

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ryan7777 View Post
    So where does bit 14 fit into 1000000?
    It does not. 1000000 is only 7 bits long
    please SOMEONE who can offer some "on the topic" advice chime in?
    I thought the Brain guy was on topic. You asked a question and you were told where to find the answer.

    Maybe this will help
    http://www.picbasic.co.uk/forum/show...4&postcount=10

    At this point I would say to hook it up and play with it.
    Dave
    Always wear safety glasses while programming.

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Because I am totally clueless on this, I had to ask. Is this the audio stuff they when broadcast when testing the alert system on TV?
    Tim Barr

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


    Did you find this post helpful? Yes | No

    Default

    There is digital stuff along with the transmission.
    http://www.weather.gov/nwr/same.htm
    Tells a little about it.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Embedded Strings in your Code Space
    By mytekcontrols in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 9th March 2008, 07:50
  2. Message String Table using Readcode
    By mytekcontrols in forum Code Examples
    Replies: 2
    Last Post: - 10th July 2005, 23:17

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