Method for transmitting data on half-duplex bus and interface device
An interface device, half-duplex technology, applied in the field of data communication, can solve problems such as lost data, slow interrupt response, unstable system function, etc., to achieve the effect of ensuring stability and improving reliability and stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0019] A method of data transmission on a half-duplex bus, see figure 1 , when the interface device is in the sending state, the specific steps of the method include:
[0020] 101. The interface device detects that the data in the write buffer has been sent;
[0021] 102. When the interface device detects that the data in the write buffer is sent, the interface device automatically switches from the sending state to the receiving state.
[0022] It can be seen from the above that the technical solution of the embodiment of the present invention solves the problems of the prior art by automatically switching from the sending state to the receiving state when the interface device detects that the data in the write buffer is sent when the interface device is in the sending state. In order to improve the reliability and stability of data transmission and ensure the stability of system functions, it can improve the reliability and stability of data transmission due to the slow res...
example 2
[0024] figure 2 It is a schematic diagram of half-duplex communication provided by Embodiment 2 of the present invention, such as figure 2 As shown, a method for data transmission on a half-duplex bus provided in an embodiment of the present invention specifically includes:
[0025] Assume that interface device A in system 1 and interface device B in system 2 are connected to the half-duplex bus. Because the interface device A and interface device B on the bus belong to the peer relationship, the same method can be used. Now, the interface device A in system 1 is discussed in detail:
[0026] When the system 1 needs to send data, the software enables the sending function of the interface device A, and at the same time writes the data to be sent into the write buffer of the interface device A. The interface device A puts the data on the bus according to the bus protocol for the interface device B in the system 2 to receive.
[0027] According to the method of the embodimen...
example 3
[0038] image 3 It is a schematic structural diagram of an interface device for data transmission on a half-duplex bus provided by Embodiment 3 of the present invention, as shown in image 3 shown.
[0039] The interface equipment includes:
[0040] The write buffer monitoring unit 301 is configured to detect that the data in the write buffer is sent when the interface device is in the sending state, and send a switching trigger signal to the state switching unit;
[0041] The state switching unit 302 is configured to automatically switch the interface device from the sending state to the receiving state when receiving the switching trigger signal from the write buffer monitoring unit 301 .
[0042] Wherein, the write buffer monitoring unit 301 detects that the data transmission of the write buffer is completed, and sends a switching trigger signal to the state switching unit. The state switches to receiving state. The write buffer monitoring unit can adopt one of the foll...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com