This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:iot-open:embeddedcommunicationprotocols2:uart [2023/08/25 08:41] – ekontoturbo | en:iot-open:embeddedcommunicationprotocols2:uart [2024/05/27 11:26] (current) – ktokarz | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== UART ==== | + | ====== UART ====== |
+ | {{: | ||
UART name is an abbreviation of Universal Asynchronous Receiver Transmitter. It is one of the most often used communication methods, traditionally named serial interface or serial port. In contrast to previously presented interfaces, UART uses direct point-to-point communication. | UART name is an abbreviation of Universal Asynchronous Receiver Transmitter. It is one of the most often used communication methods, traditionally named serial interface or serial port. In contrast to previously presented interfaces, UART uses direct point-to-point communication. | ||
- | UART is the communication unit implemented in microcontrollers rather than the communication protocol. It sends the series of bits via the TxD pin and receives a stream of bits with the RxD pin. It is important to remember that pin TxD from one device should be connected to pin RxD in another device. This is a general rule, but please always check the documentation for some non-standard markings. | + | UART is the communication unit implemented in microcontrollers rather than the communication protocol. It sends the series of bits via the TxD pin and receives a stream of bits with the RxD pin (figure {{ref> |
- | < | + | < |
- | {{ en: | + | {{ en: |
< | < | ||
</ | </ | ||
Line 11: | Line 11: | ||
The transmission speed and bit duration must be the same at the transmitter and receiver to properly transmit data. Although the transmission speed can be freely chosen, some standard, commonly used baud rates exist. They differ from 300 to 115200 bits per second. Higher baud rates are also available in modern microcontrollers, | The transmission speed and bit duration must be the same at the transmitter and receiver to properly transmit data. Although the transmission speed can be freely chosen, some standard, commonly used baud rates exist. They differ from 300 to 115200 bits per second. Higher baud rates are also available in modern microcontrollers, | ||
- | Start and stop bits are used to synchronise the receiver and transmitter. | + | Start and stop bits are used to synchronise the receiver and transmitter. Sample transmission flow is present in figure {{ref> |
- | < | + | < |
- | {{ en: | + | {{ en: |
< | < | ||
</ | </ |