51 MCU Series Serial 10-Serial Communication

Publisher:ShuangfeiLatest update time:2015-09-10 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
     Today I will introduce computer communication. Computer communication refers to the information exchange between a computer and an external device or between two computers. There are two types of computer communication: parallel communication and serial communication. Parallel communication usually uses multiple data lines to transmit each bit of a data byte at the same time, as shown below:

 

                              51 MCU Series Serial 10-Serial Communication

      In multi-microcomputer systems and modern measurement and control systems, serial communication is often used for information exchange.

 

                             51 MCU Series Serial 10-Serial Communication

 

       Serial communication is the process of dividing data bytes into bits and transmitting them one by one on a transmission line. Serial communication includes synchronous communication and asynchronous communication. Asynchronous communication means that the sending and receiving devices of the communication use their own clocks to control the sending and receiving process of data. In order to coordinate the sending and receiving of both parties, the clocks of the sending and receiving devices are required to be as consistent as possible. Asynchronous communication is transmitted in units of characters (frames), as shown in the following figure:

 

                               51 MCU Series Serial 10-Serial Communication

     In synchronous communication, it is necessary to establish direct control of the sender's clock over the receiver's clock so that both parties can achieve complete synchronization.

 

                   51 MCU Series Serial 10-Serial Communication

                         External synchronization and                                                               self-synchronization

    

     Next, let's talk about the transmission direction of serial communication, which includes 3 types:
     1. Simplex: Simplex means that data can only be transmitted in one direction and cannot be transmitted in the reverse direction.
     2. Half-duplex: Half-duplex means that data can be transmitted in two directions, but it needs to be done in time.
     3. Full-duplex: Full-duplex means that data can be transmitted in both directions at the same time.

 

     Due to time constraints, I will just say this much for now. To be continued.

Reference address:51 MCU Series Serial 10-Serial Communication

Previous article:51 MCU Series Serial 11—LCD
Next article:51 MCU series serial 9-D/A converter

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号