+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Newbie level 5
    Points: 53, Level: 1

    Join Date
    Nov 2018
    Posts
    9
    Helped
    0 / 0
    Points
    53
    Level
    1

    UART transmission rate

    Hi,

    I am sending data from a microcontroller to CPU with baudrate 1200, one start bit and one stop bit. I am trying to figure out how much time is needed to send 30 characters or symbols (e.g, a, b, c, ... etc). Here is some calculation.


    Assumption: Buadrate is bit rate per second and 10 bits are required to send a character.

    Characters per second = 1200 / 10 = 120
    Time required to send 30 characters = ( 1 / 120 ) x 30 = 250 m sec

    Is that right ?

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 66,779, Level: 63
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    13,630
    Helped
    3120 / 3120
    Points
    66,779
    Level
    63

    Re: UART transmission rate

    Hi,

    Correct.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  3. #3
    Super Moderator
    Points: 27,962, Level: 40
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    8,341
    Helped
    1056 / 1056
    Points
    27,962
    Level
    40
    Blog Entries
    6

    Re: UART transmission rate

    Quote Originally Posted by joniengr View Post
    I am trying to figure out how much time is needed to send 30 characters or symbols (e.g, a, b, c, ... etc).
    Although the UART configuration 8N1 has not been explicit above, it is valuable to know that a reduced set of characters and symbols of the ASCII table can be also transmitted with 7 bits, thus performing an increase in the sending rate.
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )


    1 members found this post helpful.

--[[ ]]--