+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Member level 2
    Points: 275, Level: 3

    Join Date
    Nov 2018
    Posts
    50
    Helped
    0 / 0
    Points
    275
    Level
    3

    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: 70,746, Level: 64
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    14,471
    Helped
    3292 / 3292
    Points
    70,746
    Level
    64

    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: 28,638, Level: 41
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    8,527
    Helped
    1081 / 1081
    Points
    28,638
    Level
    41
    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.

--[[ ]]--