Questions tagged [baudrate]

Often misused term, when "bit-rate" is meant.

-4
votes
3answers
75 views

Baud Rate Generator [closed]

I came across a block called Baud rate generator when reading about the TIVA UART module. I also came across the below formula for calculating the Baud rate divisor, Baud Rate Divisor = UARTSysClk/ ...
1
vote
1answer
48 views

Transmission of serial data characters

On a serial data link characters are transmitted data rate of 9600 baud. if characters are 8 bits and there is one start bit and one stop bit per character, then what is the number of characters ...
0
votes
0answers
20 views

Data rate with modulation and conventional encoding

I had a rather simple question. Say I had a SISO communications system with an information data rate of 50 Mbps that uses QPSK modulation and a rate 1/2 conventional coding. What would be my symbol ...
1
vote
0answers
70 views

How can I estimate the minimum baudrate for a given bitrate?

My circuit performs data acquisition at 250 samples/s, 24 bits/sample and transmit this information to the local host (PC) through a bluetooth module that implements the UART protocol. As far as I ...
1
vote
1answer
117 views

How does Nyquist bit rate formula relate Bandwidth, Signal Rate, and Bit Rate?

I know what each of Bandwidth, Signal rate, and Bit rate mean. But I am having trouble in their mathematical relationship with each other. I will use the notation of the textbook I am reading from (...
0
votes
1answer
53 views

Transmission distance rs485 vs ethernet

I have a question, why is rs485 limited to less than 100 meters at 10mpbs ( mbaud ) and is 100Base-TX ethernet applicable on 100 meters with 100 mbps bitrate i know that rs485 normally use a sort ...
1
vote
1answer
2k views

STM32L0 Low power UART-receiver reads the wrong data at high baudrate after MCU waking up

I'm using a STM32L0 MCU for my project. The MCU has a Low-power Timer (LPTIM) for waking the MCU up from Stop-Mode, and a Low-power UART (LPUART) for both waking up the MCU from stop mode and receive/...
1
vote
0answers
102 views

Android usb communication - How to set a non-standard baud rate for read and write data? [closed]

I would like to know if in adroid it is possible to have baud rates different from the default ones for usb communication with a pcb / arduino board, I would like to send a frame with a particular ...
0
votes
1answer
67 views

Baud rate for Square Wave data signal via UART if frequency is given

I was trying to solve the 2013 paper set by ISRO for electrical engineers. Question no 13 made me confused. So since Idle in UART is usually high and start bit is low, we can find the 8 bit data ...
0
votes
0answers
43 views

How to set minicom to a baudrate of 6M?

I am using minicom to test the USART from my STM32. Now i want to test my USART at a baudrate of 6 MBaud, but if i type in minicom -b 6000000 it opens minicom ...
1
vote
2answers
131 views

MSP430 Baud Rate Generation: Datasheet Discrepancy

My project is based around the MSP430F5529. From the MSP430x5xx family user guide: NOTE: Baud-rate settings quick set up To calculate the correct the correct settings for the baud-rate ...
-4
votes
4answers
67k views

Baud rate calculation [closed]

I have an exam tomorrow and I'm confused on the following question, that may be asked in the exam: One byte data with parity bit by using asynchronous serial transmission with two stop bits. For 2K-...
1
vote
1answer
60 views

MSP430 USB Module and Baud Rate Detection

I am working on a project which uses the USB module integrated into the MSP430F5529, specifically using the MSP-EXP430F5529LP development board from TI. I am using the USB API provided in MSPWare. ...
2
votes
5answers
5k views

Nyquist theorem, seems wrong to me

For Nyquist theorem, for channels without noise the bit rate is: \$N=2B\log_2(L)\$ N= bit rate, B= bandwidth, L= number of levels Intuitively I say that it should be: \$N=B\log_2(L)\$ ...
2
votes
1answer
88 views

UART stop bit baud timing error

On PIC micro controller UART, Baud rate was set to 38400 (No parity,, 8 data bits), ...
0
votes
2answers
4k views

Data rate 9600 bps given what is frequency?

It is said that 9600 bps is the data rate given and if each signal element represents 4 bits then what is frequency? What I did since each signal element represents 4 bits then in a second (9600/4) ...
1
vote
1answer
88 views

Why is the signal rate separated into three case?

The definition of signal rate is number of signal elements (timewise shortest unit) sent in 1s. The book says that the signal rate of all 1s or all 0s may be different from a data pattern of ...
-3
votes
1answer
47 views

Bandwidth (Data rate) of a laser beam when no datasheet exists for the module

I ordered a large number of laser modules that look like the following: When inspecting mine with a basic multimeter, I noticed a 90 ohm smd resistor is fitted on the module. I see no other ...
3
votes
2answers
389 views

Max SPI data rate supported

This is probably relevant for all SPI compatible chips but I'm asking for the DRV8711 in particular. The data sheet lists the SPI timing requirements and I was wondering how to get the maximum data ...
1
vote
1answer
323 views

Communication between different Baud rates [closed]

I am totally new to just about all of this, first off. I have two boards that I want to be able to communicate. Both are using half-duplex serial connection, but one is fixed at 4800bps, and the ...
0
votes
2answers
341 views

Efficient size of FIFO buffer for UART

I am designing a software for a microcontroller that transmits and receive data from various UARTs in a loop every 15ms. I am using UART interrupts to send and receive data. UART interrupt copy bytes ...
8
votes
1answer
159 views

Unexpected Atmega16 response over UART

Unexpected Atmega16 response over UART Brief problem summary I have flashed an Atmega16 with code that should result in the Atmega16 sending back whatever character I send to it via a terminal. I ...
0
votes
0answers
54 views
0
votes
1answer
617 views

USART baudrate in STM32L152

I am trying to figure out how to configure the USART of the mentioned discovery board for a transmission of 14400,8,N,1. My problem is that I don't know what to put in the USARTx\$\rightarrow\$BRR ...
0
votes
1answer
765 views

Baudrate calculation

I am having a hard time to calculate the baud rate for the following: Needed baud rate for 2 bytes data at 1KHz over an UART port with a 8N1 protocol Thanks
0
votes
2answers
2k views

Time for serial data(UART) transmission

Dear all i have a very simple question on serial data transmission. signed int NUM;//32 bit NUM=235; the serial configuration is: 115200 baud rate 1 start 1 ...
1
vote
1answer
143 views

Absolute minimum delay required to process data across shift registers

In an effort to make my serial data processing faster, I attempted to use serial mode 0 with a system clock speed of about 3.686Mhz. Its clock comes from the ALE output of an unprogrammed at89S52 that ...
8
votes
2answers
1k views

Does a baudrate in serial communication (USB or RS232) need to be exact?

In serial communication, does the baudrate mean we have to use the exact clock speed or is it a range of speeds that we can use? and if it's an exact value, how exact should it be ? for example, can ...
1
vote
1answer
413 views

UART devices: Baud rates different by a factor

I have UART devices where I can chose various non-standard speeds, but none of them are matching. There are however some speeds, that are a multiple of the other device's speeds. For instance, I could ...
-3
votes
1answer
1k views

UART - the clock frequency of the uart transmiter iis different from uart receiver

I use UART between two system (which have 2 proccesors). The uart of transmiter has clock frequency off 100MHz. and the uart of the receiver has a clock of 125MHz. The baud rate I use is 1e6. I can ...
0
votes
0answers
246 views

Sending Data with HC05 Bluetooth module

I have set of data that i want to send them via h-05 Bluetooth module.But data has variable baud rate and i don't know the baud rates.How can i do it?Is there any Bluetooth module that don't care to ...
1
vote
1answer
748 views

Why is the CAN bus always busy (microcontroller)?

I'm trying without success to perform CAN bus communication between an microcontroller and the host (my computer). My question does not depend on the microcontroller, but on the CAN Bus (classic CAN). ...
-2
votes
1answer
817 views

How does 16550 UART handle non-integer baud rates? [closed]

The 16550 UART calculates the baud rate using formula 115200 divided by the 16-bit number obtained by concatinating the High and Low DL registers. There are several well-known divisors that get you ...
0
votes
1answer
1k views

Baudrate and BTR0/BTR1

I am creating an application that uses standard function that sets bitrate. The parameters required are BTR0 and BTR1. But the user of my application will enter the standard value of the Baudrate (eg. ...
0
votes
4answers
1k views

Baud to bit mapping for the UART?

Before starting the question, a reminder of the difference between on how a baud rate and a bit rate relate. Two people are standing 1km apart and they want to exchange a 8 bits of data. ...
2
votes
5answers
290 views

How can I be sure that a multi-bit-per-symbol encoding schema exists?

(I came up with this question when I try to understand bit rate and baud rate.) Suppose I have some data to transfer. And the data is binary encoded as a data amount of N bits. If I use 2 symbols to ...
0
votes
1answer
330 views

Teensy 3.2 receives garbage values from HM-11 BLE module

Recently purchased an Hm-11 BLE module, and connected it to a Teensy 3.2. I can see the BLE module (AnyFlite) on my phone using the MSMBle app. The following code was used to initialize it: ...
1
vote
3answers
3k views

What difference does the clock make in synchronous vs asynchronous communication?

I am new to embedded programming and have very little knowledge in how digital/electronic system works, but I have been given a task to bring up USART communication between two chips. For that, I ...
-1
votes
2answers
3k views

How to calculate baud rate and determine the number of stop bits in asynchronous serial

Below is the given question: For my understanding, 1/baud_rate = 104.16 However, when I tried to do reverse division, the result is so different than expected. My calculation to find baud rate: 1/...
0
votes
0answers
1k views

Using HC05 Bluetooth SerialPort to stream music/voice via Arduino

I'm considering streaming music/voice over Bluetooth serial link (via HC05) from PC to Arduino. By doing this, there would be no need for a SD card. Here is the questions I have. Any help is ...
16
votes
7answers
4k views

How do some microcontrollers implement baud rates even though it uses crystal frequency not scalable to standard baud rates?

I just realized that the 8051 family uses 11.0592 MHz and its multiples so as to generate standard baud rates. But there are SoCs which use 15 MHz. How do they do this then?
14
votes
3answers
3k views

How do two UARTS know which baud rate to use?

I am reading about the standard protocol for UART and I think that if the receiving UART does not have any idea on what baud rate the data was transmitted, there would be lots of problems. If the ...
3
votes
2answers
2k views

UART baud rate error tolerance

I have a question regarding the UART baud rate error tolerance, as the thread title indicates. First of all, I want to point to an excellent tutorial on clock accuracy: Maxim Integrated Tutorial I ...
7
votes
2answers
11k views

Is there any reason why using a baud rate of 31250 on an Arduino MIDI project could cause problems?

I have a 600 pulse per revolution optical encoder (and some other stuff) connected to an Arduino Uno (tried it on r2 and r3) through the interrupt pins 2 and 3. While waiting for a my MIDI jack to ...
10
votes
3answers
19k views

High-speed computer interface with an Arduino

I'm planning a project with an Arduino that involves handling a lot of requests from a host computer, and the standard 115200 maximum baud over serial isn't sufficient. I'd like to be able to get ...
2
votes
3answers
10k views

Baudrate Calculator

I need to know what the value of TH1 and TL1 should to set the baudrate of an 8051 controller to 115200 Hz. I'm using an ...
1
vote
1answer
908 views

Can I connect a CAN node with 250 kbit/s to a CAN bus running at 500 kbit/s?

I'm trying to connect an automatic car gearbox which is using the CAN bus at 250 kbit/s to car with bus speed 500 kbit/s. Is it possible to have nodes with different speeds on the CAN bus? ...
1
vote
1answer
144 views

UART works when I open minicom before starting UART

I am trying to send out large amounts of data at 115200 via UART. I have come across a rather strange problem. I am sending out data in the while loop of the MCU. The MCU is not doing anything else. I ...
0
votes
1answer
188 views

1200 Baud Rate UART at a 9kHz clock speed [closed]

I just did the math and with the internal clock of the ATMega328. The lowest clock frequency that you could use to have a 1200 Baud rate is 9.6kHz. Unfortunately I need to be under 9kHz. Is there ...
0
votes
1answer
1k views

Setting baud rate for Atmega328p with setbaud.h

I'm working with an Atmega328p, running off the internal 8MHz oscillator, divided by 8 to produce a 1MHz clock. I set the fuses according to the calculator here. Confirming this with avrdude: ...