664 views|8 replies

915

Posts

0

Resources
The OP
 

How do chips process digital signals? [Copy link]

In the communication between chips, a chip receives digital signals from other chips and sends digital signals to other chips at the same time or at different times. I want to know how these digital signals are processed inside the chip?

Take the most common serial communication as an example. Data is transmitted one bit at a time. The baud rates of different communication protocols vary greatly, ranging from a few K to dozens of M. When the chip receives data, it receives it one bit at a time. How does the chip process these digital signals? How does it know the meaning of these differently arranged digital signals and respond accordingly?

Furthermore, how does the chip know that the received binary data is a data bit of a specific length? Is there a special counting register inside the chip that starts counting at the set time once it starts receiving? If the count is not enough or too much within the specified time, it is considered an error?

This post is from stm32/stm8

Latest reply

How does the chip know that the received binary is a data bit of a specific length? In the hardware design of the chip, some specific registers or circuits are set to identify and process data of different lengths. For example, for serial communication, there will be a baud rate generator and a data shift register inside the chip, which will work together to determine the length and rate of the data.  Details Published on 2024-5-8 11:21
 

2w

Posts

0

Resources
2
 

[Take the most common serial communication as an example... When the chip receives, it receives one bit at a time. How does the chip process these digital signals? ]

Serial communication is divided into two modes: synchronous and asynchronous. In addition to the signal, synchronous serial communication also has a clock line. The receiver receives one bit at a time according to the clock signal. Every time a bit is received, a shift register in the chip moves one bit, and the counter counts at the same time. When multiple bits are received, the reception is complete, and the data in the shift register is handed over to other parts for processing. Asynchronous serial communication does not have a clock line, and how long it takes to count as one bit depends on the pre-defined rules (baud rate). The rest is basically the same as synchronous communication.

This post is from stm32/stm8
 
 

2w

Posts

0

Resources
3
 

[How does the chip know that the received binary data is a data bit of a specific length? Is there a special counting register inside the chip? Once the reception starts, it starts counting at the set time. If the count is not enough or too much within the specified time, it is considered an error? ]

For asynchronous serial communication, yes.

This post is from stm32/stm8
 
 

4764

Posts

12

Resources
4
 
Protocols rely on different communication protocols to transmit data. Digital circuits, whether chips or various devices, transmit 0 and 1.
This post is from stm32/stm8
 
 
 

31

Posts

0

Resources
5
 
In this digital age, we interact with digital signals every day, whether browsing the web, sending text messages or watching videos. But have you ever wondered how this data travels through complex networks and is securely transmitted from one place to another? Let's demystify the transmission and interpretation of digital signals and understand how it all works with a simple analogy. Writing a letter: The starting point of information Imagine that you have a secret to tell a friend far away. In the digital world, this secret is the information or data that needs to be transmitted. Just as you decide to write a letter, the digital system also needs to generate a signal to represent this information. Using Morse Code: Encoding the Signal To send this letter, you decide to use Morse code - dots represent 0s and dashes represent 1s. In digital systems, this process is called encoding. All information is converted into binary code, a sequence of 0s and 1s, ready for transmission. The journey to the post office: Transmission of the signal Putting a letter in an envelope and sending it through the post office is like sending a digital signal through a medium such as a wired cable, radio waves or optical fiber. This journey may involve crossing cities, countries or even oceans, but for digital signals, it is just a quick electronic journey. Friend's Inbox: Receiving the Signal When your friend receives the letter, it's like the receiving device (like a computer or cell phone) receives the binary code. The arrival of the letter marks the completion of the transmission process, but the story is not over yet. Decoding the Morse Code: Interpreting the Signal Finally, your friend needs to use a Morse code table to convert the dots and dashes back into letters so that he can read your secret. In digital systems, this step is called decoding. The receiving device converts the binary code back into the original message or data so that the recipient of the message can understand it. Superhero's Toolbox: Key Technologies in Digital Systems Modem: It helps digital signals travel safely on analog lines, just like a waterproof package for the letter. Error Detection and Correction: Ensures that the letter will not be damaged even in a storm, ensuring the accuracy of the message. Digital Signal Processing: Optimizes the signal interpretation process to ensure that the content of the letter is clear and removes any possible interference. Through these steps and technologies, digital signals are transmitted and interpreted in complex networks, just like letters passing through the postal system. The technology behind all this ensures that we can enjoy fast Internet connections, clear phone calls and high-quality multimedia entertainment. Digital signal transmission and analysis are the indispensable communication arts that connect our digital world.
This post is from stm32/stm8
 
 
 

7422

Posts

2

Resources
6
 

Level + timing + sampling

This post is from stm32/stm8
 
Personal signature

默认摸鱼,再摸鱼。2022、9、28

 
 

202

Posts

0

Resources
7
 

You can find out by looking at the hardware description source code of the serial port peripheral, for example: https://cdbus.org

This post is from stm32/stm8
 
 
 

56

Posts

0

Resources
8
 
When the chip receives data, it receives it one bit at a time. How does the chip process these digital signals? How does it know the meanings of these different digital signals and respond accordingly?
This post is from stm32/stm8
 
 
 

16

Posts

1

Resources
9
 
How does the chip know that the received binary is a data bit of a specific length? In the hardware design of the chip, some specific registers or circuits are set to identify and process data of different lengths. For example, for serial communication, there will be a baud rate generator and a data shift register inside the chip, which will work together to determine the length and rate of the data.
This post is from stm32/stm8
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list