<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://rs-485.com/index.php?action=history&amp;feed=atom&amp;title=Automatic_baud_rate_detection</id>
	<title>Automatic baud rate detection - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://rs-485.com/index.php?action=history&amp;feed=atom&amp;title=Automatic_baud_rate_detection"/>
	<link rel="alternate" type="text/html" href="https://rs-485.com/index.php?title=Automatic_baud_rate_detection&amp;action=history"/>
	<updated>2026-05-04T09:13:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://rs-485.com/index.php?title=Automatic_baud_rate_detection&amp;diff=1141&amp;oldid=prev</id>
		<title>RS-485: Imported from Wikipedia (overwrite)</title>
		<link rel="alternate" type="text/html" href="https://rs-485.com/index.php?title=Automatic_baud_rate_detection&amp;diff=1141&amp;oldid=prev"/>
		<updated>2026-05-03T12:14:59Z</updated>

		<summary type="html">&lt;p&gt;Imported from Wikipedia (overwrite)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Detecting data connection configuration}}&lt;br /&gt;
{{more footnotes|date=March 2013}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Automatic baud rate detection&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;ABR&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;autobaud&amp;#039;&amp;#039;&amp;#039;) refers to the process by which a receiving device (such as a [[modem]]) determines the speed, code level, start bit, and [[stop bit]]s of incoming data by examining the first [[character (computing)|character]], usually a preselected sign-on character ([[syncword]]) on a [[UART]] connection. ABR allows the receiving device to accept data from a variety of transmitting devices operating at different speeds without needing to establish data rates in advance.&amp;lt;ref name=&amp;quot;foldoc&amp;quot;&amp;gt;{{foldoc|Automatic+baud+rate+detection}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Process==&lt;br /&gt;
During the autobaud process, the [[baud rate]] of received character stream is determined by examining the received pattern and its timing, and the length of a start bit. These types of baud rate detection mechanisms are supported by many hardware chips, including processors such as STM32,&amp;lt;ref&amp;gt;[https://www.st.com/content/ccc/resource/technical/document/application_note/group0/66/fa/62/a2/5c/75/48/a8/DM00327191/files/DM00327191.pdf/jcr:content/translations/en.DM00327191.pdf STM32 USART automatic baud rate detection]&amp;lt;/ref&amp;gt; MPC8280,  MPC8360, and so on.  &lt;br /&gt;
&lt;br /&gt;
When start bit length is used to determine the baud rate, it requires the character to be odd since UART sends [[least-significant bit|LSB]] bit first{{snd}}this particular bit order scheme is referred to as [[little-endian]].&amp;lt;ref&amp;gt;{{Cite web |title=MIT — 6.111 Introductory Digital Systems Laboratory |url=https://web.mit.edu/6.111/volume2/www/f2019/handouts/lpset_2.pdf |access-date=July 15, 2023 |website=MIT 6.111 Fall 2019}}&amp;lt;/ref&amp;gt; Often [[ASCII]] symbols &amp;#039;a&amp;#039; or &amp;#039;A&amp;#039; (0x61 or 0x41) are used. For example, the MPC8270 SCC tries to detect the length of the UART start bit for autobaud.&lt;br /&gt;
&lt;br /&gt;
Many protocols begin each frame with a preamble of alternating 1 and 0 bits that can be used for automatic baud rate detection. For example, the TI PGA460 uses an ASCII &amp;#039;&amp;#039;U&amp;#039;&amp;#039; ({{Hexadecimal|85}} or {{Binary|85}}) sync byte for automatic baud rate detection as well as [[frame synchronization]],&amp;lt;ref&amp;gt;&lt;br /&gt;
&amp;quot;Sync Field&amp;quot; section of&lt;br /&gt;
[https://www.ti.com/lit/ds/symlink/pga460.pdf &amp;quot;PGA460 Ultrasonic Signal Processor and Transducer Driver&amp;quot;].&lt;br /&gt;
2017.&lt;br /&gt;
p. 35.&lt;br /&gt;
&amp;lt;/ref&amp;gt; and so does the LIN header ([[Local Interconnect Network#Header]]).&lt;br /&gt;
&lt;br /&gt;
For example, the UART-based FlexWire protocol begins each frame with a &amp;#039;&amp;#039;U&amp;#039;&amp;#039; ({{Hexadecimal|85}}) [[sync byte]]. FlexWire receivers use the sync byte to precisely set their UART bit-clock frequency without a high-precision oscillator.&amp;lt;ref&amp;gt;&lt;br /&gt;
Texas Instruments.&lt;br /&gt;
[https://www.ti.com/lit/ds/symlink/tps929121-q1.pdf &amp;quot;TPS929121-Q1 12-Channel Automotive 40-V High-Side LED Driver With FlexWire&amp;quot;].&lt;br /&gt;
2021.&lt;br /&gt;
p. 37 and p. p. 39.&lt;br /&gt;
&amp;lt;/ref&amp;gt; For example, the [[Ethernet frame#Preamble and start frame delimiter | Ethernet preamble]] contains 56 bits of alternating 1 and 0 bits for synchronizing bit clocks.&lt;br /&gt;
&lt;br /&gt;
==Support==&lt;br /&gt;
Most [[modem]]s currently on the market support autobaud. Before receiving any input data, most modems use a default baud rate of 9600 for output. For example, the following modems have been verified for autobaud and default output baud rate 9600: &lt;br /&gt;
* USRobotics USR5686G 56K Serial Controller Fax modem&lt;br /&gt;
* Hayes V92 External modem&lt;br /&gt;
* Microcom DeskPorte 28.8P&lt;br /&gt;
The baud rate of modems are adjusted automatically after receiving input data by the autobaud process.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Autonegotiation]]&lt;br /&gt;
* [[Telecommunications]]&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
{{refbegin}}&lt;br /&gt;
* &amp;quot;17.2 Autobaud Operation on a UART in MPC8280 PowerQUICC™ II Family Reference Manual&amp;quot;   http://www.nxp.com/files/netcomm/doc/ref_manual/MPC8280RM.pdf&lt;br /&gt;
* &amp;quot;Automatic Baud Rate Detection on the MSP430&amp;quot;    https://web.archive.org/web/20161026080239/http://www.ti.com/lit/an/slaa215/slaa215.pdf&lt;br /&gt;
* &amp;quot;How to implement “auto baud rate detection” feature on Cortex-M3&amp;quot;  https://stackoverflow.com/q/38979647&lt;br /&gt;
*  &amp;quot;mpc8270 SCC2 UART issue&amp;quot;   https://community.nxp.com/message/906833&lt;br /&gt;
{{refend}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Data transmission]]&lt;br /&gt;
[[Category:Units of measurement]]&lt;br /&gt;
[[Category:Telecommunications techniques]]&lt;/div&gt;</summary>
		<author><name>RS-485</name></author>
	</entry>
</feed>