The OP
Published on 2018-7-2 10:04
Only look at the author
This post is from stm32/stm8
Latest reply
A data frame is a basic unit of data transmission, which refers to the data transmitted at one time. This can be an asynchronous serial port byte or the content of a communication protocol transmission. Obviously, as long as there is data transmission, the frame header and frame tail must exist, and the content has nothing to do with whether it is a protocol. The introduction of communication protocols is to ensure the reliability of data transmission. For this purpose, some measures must be taken, so the protocol must have a structure. The protocol structure is diverse and related to specific applications. Even the protocol itself can be hierarchical, which is actually completely consistent with the nature of communication between people. By analyzing the way people communicate with each other, it is very helpful to understand the communication protocol. It might be helpful to do some "poetry skills" first.
Details
Published on 2018-7-3 17:28
| ||
|
||
2
Published on 2018-7-2 10:10
Only look at the author
This post is from stm32/stm8
| ||
|
||
|
3
Published on 2018-7-2 10:22
Only look at the author
This post is from stm32/stm8
Comments | ||
|
||
|
This post is from stm32/stm8
| ||
|
||
|
This post is from stm32/stm8
| ||
|
||
|
This post is from stm32/stm8
Comments
Communication between two devices is like a conversation between two people. First of all, the two people must at least speak the same language, such as Chinese or English. Of course, they cannot understand each other if they speak different languages. In serial communication, the "language and text" used by everyone is bytes, a total of 256 bytes, just like Chinese
Details
Published on 2018-7-2 15:14
| ||
|
||
|
7
Published on 2018-7-2 11:22
Only look at the author
This post is from stm32/stm8
Comments | ||
|
||
|
8
Published on 2018-7-2 15:14
Only look at the author
This post is from stm32/stm8
Comments
What you are talking about is more like a system application layer program. The complexity of the protocol is related to the hardware. For example, when data packets are transmitted over the network, it cannot be assumed that the first data sent arrives first. Frame numbers or timestamps must be added to distinguish them. This is not the case with simple serial ports. There is no need to make it too complicated. What exactly do you want to do?
Details
Published on 2018-7-3 08:52
What you are talking about is more like a system application layer program. The complexity of the protocol is related to the hardware. For example, when data packets are transmitted over the network, it cannot be assumed that the first data sent arrives first. Frame numbers or timestamps must be added to distinguish them. This is not the case with simple serial ports. There is no need to make it too complicated. What exactly do you want to do?
Details
Published on 2018-7-2 20:50
| ||
|
||
|
This post is from stm32/stm8
| ||
|
||
|
This post is from stm32/stm8
Comments | ||
|
||
|
11
Published on 2018-7-2 20:50
Only look at the author
This post is from stm32/stm8
| ||
|
||
|
12
Published on 2018-7-2 20:53
Only look at the author
This post is from stm32/stm8
Comments
What about the program? I write this sentence USART_SendData(USART2,'A'); Can this microcontroller transmit to the other side or this microcontroller transmit to the host computer? Master, if MCU1's USART2 transmits to MCU2's USART3, should I write USART_SendData(USART2,'A'); or this
Details
Published on 2018-7-3 08:57
| ||
|
||
|
This post is from stm32/stm8
| ||
|
||
|
This post is from stm32/stm8
Comments | ||
|
||
|
15
Published on 2018-7-3 15:18
Only look at the author
This post is from stm32/stm8
| ||
|
||
|
16
Published on 2018-7-3 17:10
Only look at the author
This post is from stm32/stm8
| ||
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
17
Published on 2018-7-3 17:14
Only look at the author
This post is from stm32/stm8
| ||
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
18
Published on 2018-7-3 17:17
Only look at the author
This post is from stm32/stm8
| ||
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
19
Published on 2018-7-3 17:19
Only look at the author
This post is from stm32/stm8
| ||
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
20
Published on 2018-7-3 17:28
Only look at the author
This post is from stm32/stm8
| ||
Personal signature上传了一些书籍资料,也许有你想要的:http://download.eeworld.com.cn/user/chunyang
|
||
|
论坛威望大于30000或网友提名:坛子里公认的技术导师
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190