当前位置:网站首页>单片机底层通信协议① —— 同步和异步、并行和串行、全双工和半双工以及单工、电平信号和差分信号
单片机底层通信协议① —— 同步和异步、并行和串行、全双工和半双工以及单工、电平信号和差分信号
2022-06-10 16:32:00 【码农上号】
文章目录
1、什么是通信协议?
通信协议又称通信规程,是指通信双方对数据传送控制的一种约定。约定中包括对数据格式,同步方式,传送速度,传送步骤,检纠错方式以及控制字符定义等问题做出统一规定,通信双方必须共同遵守,它也叫做链路控制规程。
总言而之:通信协议就是双方实体完成通信或服务所必须遵守的规则和约定。
2、接口技术

3、计算机通信
举例说明:

上面举例的是一个具有时钟线的,即同步通信(后面就说到)
4、大端序(MSB)和小端序(LSB)

5、同步与异步通信

为什么要有时钟线?
时钟线能持续不断将逻辑级别脉冲至高位和低位,每次脉冲之间持续时间“tb”以脉冲宽度来表示。
时钟线用于计算单个比特的持续时间,以供接收方用于在准确位置轮询管脚状态,这样接收方就能以可靠方式从串行线上提取数据。

6、并行与串行通信

并行:可同时传输多个位的数据,但是通信线路比较多,会有一定的干扰。
串行:一下只能传输一个位
7、全双工、半双工、单工

①单工
只能是一个方向传送。 比如:A传送数据到B,并且只能B不能传送到A。
②半双工
可以双向传送,但在在某一时刻,只能一方为发送,另一方为接收。
③全双工
在同一时刻,双方可以同时接收和发送数据。
8、电平信号和差分信号

边栏推荐
猜你喜欢

隐形马尔可夫模型及其训练(一)

Carry forward the past and forge ahead into the future, multiple residuals | densenet (II)

智慧景區視頻監控 5G智慧燈杆網關組網綜合杆

虚拟机ping不通的几种原因及解决办法

SOA架构/测试阶段接口描述语言转换方案

Xinsi technology performed well in the Gartner application security test key capability report 2022 and won the highest score among the five common use cases

Xinsi technology helps Israel visuality systems promote the "left shift" of security

SOA architecture / test phase interface description language transformation scheme

ADB is not an internal or external command, nor is it a runnable program or batch file

善用产业链招商,打造产业集群效应,实现产业协同发展
随机推荐
Fabric. JSON for JS compact output
Fail fast and fail safe
flex布局语法
2022G1工业锅炉司炉考题及在线模拟考试
二十多年了,安全套市场还只有杜蕾斯、冈本、杰士邦
Knowledge based bert: a method to extract molecular features like a computational chemist
李飞飞:我更像物理学界的科学家,而不是工程师|深度学习崛起十年
Under the "plastic ban order", does the Hong Kong stock exchange pay for the deep excavation of degradable plastics by Zhongbao new materials?
复利最高的保险产品是什么?一年要交多少钱?
2022年茶艺师(中级)操作证考试题库及模拟考试
[BSP video tutorial] BSP video tutorial issue 17: single chip microcomputer bootloader topic, startup, jump configuration and various usage of debugging and downloading (2022-06-10)
sql注入报错之注入原理实例解析
This article introduces you to j.u.c's futuretask, fork/join framework and BlockingQueue
VBA判断一个长字符串中是否包含另一个短字符串
Calling subroutines from other modules in VBA - call a subroutine from a different module in VBA
Eliminate if Five ways of else
AHK common functions
域名备案和icp备案有哪些区别?
2022年上海市安全员C证操作证考试题库模拟考试平台操作
2022年G2电站锅炉司炉考试模拟100题及模拟考试