Slave computer address detection method in master-slave mode serial communication
A technology of address detection and serial communication, which is applied in the field of slave address detection in master-slave serial communication, which can solve the problems that the master cannot actively detect the number of connected slaves and slave address ID, sending, etc., to achieve Strengthen the practical application value, simplify the communication interface circuit, and simplify the effect of the communication link
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] Set the operating clock frequency of the master to 4MHz, and the operating frequency of all slaves to 32768Hz. Other parameters are as follows:
[0033] time1=2ms
[0034] time2=4ms, all four stages are 1ms
[0035] time3=1ms
[0036] The "firstscan" command is the voltage waveform as shown in Figure 4.
[0037] The voltage waveform of the "secondscan" command is as agreed in Figure 5
[0038] When the voltage difference between the two communication lines is less than 2 volts, it is the agreed "0" state, otherwise it is "1". The output voltage of the master is > 4 volts; the function of the level conversion part in the slave in Figure 2 is to convert the > 2 volts output by the rectifier bridge to the high level of the CPU interface voltage of the slave, and vice versa to a low level. The internal circuit impedance of the slave connected to the communication line is low impedance. In the example, the constant current circuit in Figure 2 is connected through an elec...
Embodiment 2
[0057] Set the operating clock frequency of the master to 4MHz, and the operating frequency of all slaves to 32768Hz. Other parameters are as follows:
[0058] time1=2ms
[0059] time2=4ms, the four stages are all 1ms
[0060] time3=1ms
[0061] The "firstscan" command is the voltage waveform as shown in Figure 6.
[0062] The voltage waveform of the "secondscan" command is as agreed in Figure 7
[0063] The voltage waveform of the "0" state of the two communication lines is agreed to be a 10KHz frequency signal, and the signal amplitude can be between 4 volts and 10 volts; the voltage waveform of the "1" state of the two communication lines is agreed to be a 20KHz frequency signal, and the signal amplitude It can be between 4 volts and 10 volts; in Figure 3, the function of the internal filter transformation part of the slave machine is to filter the voltage signal output by the rectifier bridge at a frequency of 20K±4KHz and convert it into the high level of the slave CPU...
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