Home >Company News>Company News
How to choose serial communication?


Serial communication technology is to transmit data bit by bit in sequence, and only two data transmission lines are needed. Compared with parallel communication, although serial communication technology saves port consumption, it also reduces the data transmission rate.

The communication direction of serial communication is generally divided into three categories:

Simplex: only allows data to be transmitted in one direction;

Half-duplex: data can be received and sent, but only one direction of data transmission is allowed at the same time;
serialcard1port.jpg


Full duplex: Data can be received and sent, and data can be transmitted in both directions at the same time.

There are two serial communication methods, namely synchronous communication and asynchronous communication. Synchronous communication can be understood as that the two parties in communication are controlled by the same clock line and perform synchronous data transmission. Common synchronous communication methods include I2C, SPI, etc.; asynchronous communication does not require a clock synchronization signal, and the sending device and the receiving device each select their own clock control to realize data transmission and reception. Common asynchronous communication includes UART, RS232, etc.

In serial communication, the main differences and advantages and disadvantages of synchronous and asynchronous communication are as follows:

1. In synchronous communication, the clocks of the sender and receiver are unified, which also makes there be no interval between characters during data transmission. However, asynchronous communication is different. The sender and receiver do not require clock synchronization, which means that characters are transmitted asynchronously;

2. In fact, the transmission objects of synchronous communication and asynchronous communication are different. Asynchronous communication is character-oriented transmission, and the unit is character. Synchronous communication is oriented to bit transmission, and the unit is frame;

3. Asynchronous Single serial port server is different from synchronous transmission, and requires a specific clock line to coordinate timing;

4. In general, the rate of synchronous communication is higher than that of asynchronous communication.



Recommend