CN108287800B - A kind of bus arbitration system and method based on single bus communication protocol - Google Patents

A kind of bus arbitration system and method based on single bus communication protocol Download PDF

Info

Publication number
CN108287800B
CN108287800B CN201711429281.2A CN201711429281A CN108287800B CN 108287800 B CN108287800 B CN 108287800B CN 201711429281 A CN201711429281 A CN 201711429281A CN 108287800 B CN108287800 B CN 108287800B
Authority
CN
China
Prior art keywords
bus
host
arbitration
communication protocol
sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711429281.2A
Other languages
Chinese (zh)
Other versions
CN108287800A (en
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING 7Q TECHNOLOGY Co Ltd
Original Assignee
BEIJING 7Q TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING 7Q TECHNOLOGY Co Ltd filed Critical BEIJING 7Q TECHNOLOGY Co Ltd
Priority to CN201711429281.2A priority Critical patent/CN108287800B/en
Publication of CN108287800A publication Critical patent/CN108287800A/en
Application granted granted Critical
Publication of CN108287800B publication Critical patent/CN108287800B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4027Coupling between buses using bus bridges
    • G06F13/4031Coupling between buses using bus bridges with arbitration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks

Abstract

The present invention provides a kind of bus arbitration system and method based on single bus communication protocol is used for Monobus network, comprising: multiple main frames carry out transmission control to the bus of the Monobus network;It is arbitrated between the multiple host according to timesharing section arbitration mechanism, by analyzing the transaction sequence of the bus, is determined using bus free, distributed arbitration program is carried out on the arbitration domain of the transaction sequence, and carry out limited competition using bus contention order.In the present invention, it does not need to make any modification as slave and can be directly accessed the unibus system built according to the present invention, and since the control of built bus is only by initialization sequence and command word, ROM code and main equipment are sent, received data determine, there is no central host, so bus does not have any scheduled priority.In special circumstances, if you need to support iButton, it may specify a default host when building bus system.

Description

A kind of bus arbitration system and method based on single bus communication protocol
Technical field
The present invention relates to communication protocol techniques field, more particularly between IC chip or distributed data acquisition section The arbitration mechanism that monobus communicates between point.
Background technique
Monobus (1-wire bus) is a proprietary technology of Maxim wholly-owned subsidiary Dallas, can be in single line item Data communication and electric current transfer function between slave are completed under part, have saving I/O mouth line resource, structure simple, at low cost Many advantages, such as honest and clean, convenient for bus extension and maintenance.But 1-Wire bus data transfer rate is lower, and there are two types of rates: standard Mode 16kbps, high speed (super driving) mode is 142kbps.Communication uses host-guest architecture, is a host to one or more slaves.1- Wire equipment possesses 64 exclusive identification code (ROM code) can be simultaneously in same bus using this unique trait Mount multiple 1-Wire equipment.
It is the reliable primary condition of safeguards system that equipment, which carries out work according to 1-Wire communication protocol,.1-Wire bus system With single duplex mode, timesharing exchanges data on same data/address bus between slave, passes through the high low setting to level in bus To transmit data bit 1 and 0.Guarantee the reliability service of 1-Wire bus system, 1-Wire must be strictly observed between slave Communications transaction sequence carries out the data communication for meeting timing requirements.And 1- Wire transaction sequence is all by a series of activities timing Composition, most basic working sequence includes equipment initialization, host writes timing, host reads timing.It is all in 1-Wire bus Transaction sequence (being made of aforementioned 3 kinds of timing) is started with initialization, and the reset pulse and slave that initialization is issued by host are rung The transponder pulse composition answered.Transponder pulse makes host know in bus there is slave and ready.After initialization slave it Between transmitted by read-write sequence initiation command and data exchange, write timing and be divided into and write 0 and write 1, write after timing starts, 1-Wire is set It is standby data/address bus to be detected in sampling window to obtain the position data of host transmission.Timing is read equally to be divided into reading 0 and read 1, after reading timing starts, host is detected data/address bus in sampling window to obtain the position data of equipment transmission.
Therefore, existing monobus arbitration mechanism will lead to additional timings expense, to increase system burden, reduce system Reaction speed.
Summary of the invention
In order to solve the above problem, the present invention is to inherit to propose a kind of bus arbitration mechanism under former monobus characteristic, using point When section arbitration law, and be used for building the more host multinodes for following monobus (1-wire) communication protocol interconnection monobus Network, and compatible original 1-wire device.
Specifically, according to an aspect of the invention, there is provided a kind of bus arbitration system based on single bus communication protocol System is used for Monobus network, comprising:
Multiple main frames carry out transmission control to the bus of the Monobus network;According to timesharing between the multiple host Section arbitration mechanism is arbitrated, and by analyzing the transaction sequence of the bus, is determined using bus free, in the affairs sequence Distributed arbitration program is carried out on the arbitration domain of column, and carries out limited competition using bus contention order.
Preferably, the arbitration domain refers to bus signals on the bus: in initialization sequence, read/write time slot by And the period that bus is only driven by host side and drags down bus.
It is furthermore preferred that the period for being driven bus by host side and being dragged down bus includes: answering in initialization sequence The digit pulse period is write to be pulled down in time slot since bus time slot and is finally released as the high period, reads in time slot from time slot Start to drag down bus and is kept for period until 1 microsecond.
Preferably, the bus free determines method particularly includes: if the bus uses unified power supply power supply and nothing When other independent current source nodes, after the node device electrification reset of the Monobus network or complete a bus transaction sequence It monitors to assert bus free when bus is high after column;If the bus has multiple independent current source nodes, work as node Equipment assert that bus is empty after reset, when monitoring that bus is high, then after continuous monitoring one delay time section of bus on it It is not busy.
It is furthermore preferred that the delay time section is longest waiting time delay in bus operation sequence, i.e. its value is following The maximum value of Shi Yanzhong: detect online recovery latency between high time delay, bus operation time slot, the time delay in 1 time slot of read-write and Waiting time delay in feature operation.
Preferably, the full 0 that the ROM command code of the bus contention order is 8 is followed by the host of starting transaction sequence 64 ROM codes.
Preferably, the limited competition refers to, when the continuous competition frequency of failure of a host is more than or equal to its internal preset When value, which bus contention order can be used in subsequent bus contention and reserve to bus.
Preferably, the host selects search command having to explicitly to indicate last in a string of continuous transaction sequences using sky It is a, the end of a string of continuous transaction sequences is indicated with this.
It is furthermore preferred that the sky selects the F0 that the ROM command code of search command is 8,64 read-reads-of heel write the 0th To the 63rd ROM code period;In the period, the return value for reading time slot twice since certain is 1, i.e., having to explicitly indicates This search does not select the node device in any one bus.
According to another aspect of the present invention, a kind of bus arbitration method based on single bus communication protocol is additionally provided, For Monobus network, above-mentioned system is used.
Present invention has an advantage that as slave, does not need to make any modification to be directly accessed and build according to the present invention Unibus system, and since the control of built bus is only set by initialization sequence and command word, ROM code and leading Preparation is sent, received data determine, without central host, so bus does not have any scheduled priority.In special circumstances, such as It need to support iButton, may specify a default host when building bus system.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is that initialization sequence of the invention arbitrates domain figure;
Fig. 2 writes time-slot arbitration domain figure for of the invention;
Fig. 3 is reading time-slot arbitration domain figure of the invention;
Fig. 4 is the arbitrated procedure schematic diagram of host of the invention.
Specific embodiment
The illustrative embodiments that the present invention will be described in more detail below with reference to accompanying drawings.Although showing this hair in attached drawing Bright illustrative embodiments, it being understood, however, that may be realized in various forms the reality of the invention without that should be illustrated here The mode of applying is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and this can be sent out Bright range is fully disclosed to those skilled in the art.
The present invention is a kind of bus arbitration mechanism proposed in the case where inheriting former monobus characteristic, is arbitrated using timesharing section Method, and be used for building the more host multinodes for following monobus (1-wire) communication protocol interconnection Monobus network, and simultaneous Hold original 1-wire device: i.e. it is as a slave, and not needing to make any modification can be directly accessed what foundation present mechanism was built Unibus system.By analyzing former monobus transaction sequence, using peculiar bus free determination method, in exclusive arbitration domain Upper carry out distributed arbitration program, and limited competition is carried out using special command, and the competition expense of bus is zero.It is total by building The control of line is only by initialization sequence and command word, ROM code and main equipment are sent, received data determine, without center Host, so bus does not have any scheduled priority.It in special circumstances, can when building bus system if you need to support iButton Specify a default host.
The arbitration mechanism of monobus proposed by the present invention arbitrates machine using distributed timesharing section without additional timings expense System.Different then its arbitration of more power supplys (distribution) power supply mode whether are used to calculate for 1-wire bus multinode interference networks Method is slightly different.It is accessed in more host multinodes interconnection Monobus network that arbitration mechanism proposed according to the present invention is built Node device can functionally be divided into slave or host.Host is the promoter of bus transaction sequence and executes arbitration and (while also ringing It should transaction sequence);Slave only in response to and feed back corresponding data.And in the present invention monobus arbitration primitive rule are as follows: It is whether identical as the driving value of this host that bus value is monitored during arbitrating time domain, means that bus competes if different, this Host stops operation at once while abandoning the control to bus;Since 1-wire bus is connect using " line with ", then when it drives Find that bus is " 0 " when for " 1 ", that is, representing the competition of this host unsuccessfully should abort operation at once.
Consider to have in 1-wire network node device using parasitic power supply, then host is monitoring bus free and full simultaneously Transmission could be started when all node device (predominantly using the node device of parasitic power supply) Power Supplies Conditions in sufficient network.And such as At leisure whether what judge bus current time? in the present invention, whether multiple feed side is used for current 1-wire network Its judgment mechanism of formula is different, and bus arbitration mechanism proposed by the present invention is discussed in detail below.
The invention proposes a kind of bus arbitration systems based on single bus communication protocol, are used for Monobus network, comprising:
Multiple main frames carry out transmission control to the bus of the Monobus network;According to timesharing between the multiple host Section arbitration mechanism is arbitrated, and by analyzing the transaction sequence of the bus, is determined, using bus free in the affairs sequence Distributed arbitration program is carried out on the arbitration domain of column, and carries out limited competition using bus contention order.Elaboration in detail below is above-mentioned The each process of arbitration mechanism that host uses:
(1) judge bus free method
If the bus system set up is using unified power supply power supply and when without other independent current source nodes, when in this system It monitors to assert bus free when bus is high after node device electrification reset or after completing a bus transaction sequence. Otherwise, node device should also continuously monitor one delay t of bus when monitoring that a bus is high after reset on itDELAYWhen Between after section (bus is high always around here) could assert bus free.Be delayed tDELAYRelated bus when to set up bus system Longest waiting time delay in the sequence of operation, i.e. its value are to detect recovery latency between high time delay, bus operation time slot online, read Write waiting time delay in the time delay and feature operation in 1 time slot these when Yanzhong maximum value.And complete a transaction sequence Method is identical both when judging bus free afterwards.
Host should also judge that all node devices using parasitic power supply are full in 1-wire network after judging bus free Sufficient Power Supplies Condition, or while having met automatically when judging bus free, could start transmission.Meet Power Supplies Condition and refers to that these are adopted Normal operating conditions has been charged to the node device of parasitism power supply (capacitor is charged to full value).And their charging time is (total At this moment line is high) with it is specific set up bus system when using pull-up voltage in the parasitic number of node equipment powered, bus, communicate speed Rate, operating temperature, cable length and node device driving type are related.Its value is mainly by using parasitic power supply in system Number of node equipment determine that the recovery latency between value and bus operation time slot is identical (see " recovery between bus operation time slot Time delay " part).
Bus is monitored during arbitration time domain (see " the arbitration domain of monobus " part) in 1-Wire communications transaction sequence Whether whether value with this host drive value identical, means that competition occurs for bus and this host loses arbitration if different, i.e., Competition failure, this host stop operation at once while abandoning the control to bus.It should be noted that sound of this host to bus operation It should be also possible to continue until finding that this bus operation sequence is unrelated with oneself.
(2) limited competition rule
Host is observing bus free and is also meeting the Power Supplies Condition of connected equipments and initiation one in current system Transaction sequence is denoted as primary competition failure if the host loses arbitration (before completing the moment to the transaction sequence) during this, Its unit for built system bus transaction sequence.A random number is set inside each host, value range is minimum to be taken The host number in system is built, the total node number being up in system.When the continuous frequency of failure of a host is more than or equal to this at random When number, host uses competition command sequence in subsequent bus contention (see " bus contention order " part).Here special Shen Bright is to treat the metering of bus searching class order to be different.It (is ordered using same search for continuously searching for transaction sequence Enable), if in first search transaction sequence competition failure that the continuous search transaction sequence starts, in the continuous search affairs It must not be at war with to bus in the subsequent searches transaction sequence of sequence and (must not initiate bus operation) and be denoted as primary Failure.Search command sequence mark (identical as preceding transaction sequence command code to see " sky selects search command " part) is selected used here as sky This time search transaction sequence is the last one search transaction sequence in this continuous search transaction sequence (while potentially to master More stringent requirements are proposed for the searching algorithm of machine).Arbitration domain, bus different delay and special command are done specifically separately below It is bright.
(3) the arbitration domain of monobus
It is by host driven bus (1-wire bus) and period for dragging down bus in the transaction sequence of monobus Bus arbitration domain.Analytic explanation bus arbitration is distinguished below for several bus signals timing defined in 1-wire communication protocol Domain.The some time sequence parameters to be used (see 1. monobus temporal characteristics parameter of table below) is first provided before explanation, below will Directly explained using the symbol of these parameters.
1 monobus temporal characteristics parameter of table
Note 1: Δ indicates the host sampling time
(4) the arbitration domain in initialization sequence
With reset pulse, (host drags down monobus t to one initialization sequenceRSTLMicrosecond is until bus state returns to height) it rises Begin, and waiting delay tPDHIGHMonobus t (is dragged down with online transponder pulse after microsecondPDLOWMicrosecond) terminate.Only have among these Reset pulse region is arbitration domain (Fig. 1 middle twill shadow region), and initialization sequence arbitrates domain as shown in Figure 1.
(5) the arbitration domain in time slot is write
It writes there are two types of time slots, that is, write 0 time slot and writes 1 time slot.Their arbitration domain is all to be pulled down to from monobus finally Until release bus is raised it (close twill shadow region in Fig. 2).Write time-slot arbitration domain figure as shown in Figure 2.
(6) the arbitration domain in time slot is read
Host reads 0 time slot and reads the arbitration domain of 1 time slot to be all to drag down bus from host and discharge after keeping at least 1 microsecond Bus this period (close twill shadow region in Fig. 3).Due to joining in former 1-wire agreement to reading time slot initialization drop-down timing Number tRILIt is defined as > 1 μ s, then taking 1 microsecond of greatest common divisor to read the arbitration domain of time slot here is that (host is total since time slot Line drags down) 1 microsecond period.Time-slot arbitration domain is read as shown in Fig. 3.
(7) the waiting time delay in monobus transaction sequence
According to 1-wire agreement, all node devices must comply with bus transaction sequence shown below, any step Missing or random ordering can all cause node device not respond host.Its sequence of operation is as follows:
Step 1, initial reset/online response detection cycle
Step 2, ROM command operation period
Step 3, command function operation cycle
Then waiting time delay in monobus transaction sequence (bus state is high level at this time) is analyzed as follows:
(8) high time delay is detected online
High time delay t is detected onlinePDHIGHBe being terminated by reset pulse to online transponder pulse in initialization step Waiting time delay (the slave waiting time in Fig. 1), its value is 15 microseconds~60 microseconds in 1-wire agreement, is initialization Bus is the high latency of high level in step.
(9) recovery latency between bus operation time slot
Recovery latency t between bus operation time slotRECIncluding online transponder pulse and write between time slot, read-write time slot Bus recovery time, its value range is 1 microsecond of > in 1-wire agreement;And read and write its meaning of bus recovery time between time slot It is to make to charge to normal operating conditions using the node device of parasitic power supply in 1-wire network (capacitor is charged to full value).Online After transponder pulse and the recovery latency for writing between time slot start from online transponder pulse, and next time slot (write order code Lowest order) failing edge terminate.Under normal conditions, selected tRSTLAnd tRSTHDuration is identical.Under standard speed, at this time tRECValue is 180 microseconds~405 microseconds.Under high-speed mode, then above-mentioned time value is shorter, usually under standard speed very One of, tRECIt is reduced to 18 microseconds~40 microseconds.And section when writing the bus recovery latency between time slot and specifically setting up bus system Pull-up voltage, traffic rate, operating temperature, cable length and node device on point device (it uses parasitic power supply) number, bus Drive type related.Its value in system using the number of node equipment of parasitic power supply mainly by being determined, compliance following equation:
tREC=F × N+S
F- is according to coefficient selected by voltage, temperature etc.;Recommendation is as follows, standard speed: 1.54~3.52, high-speed mode: 1.18~1.8
The number of node equipment of parasitic power supply is used in N- system
S- system velocity base value;Recommendation is as follows, standard speed: 1 microsecond, high-speed mode: 0.5 microsecond.
(10) time delay in 1 time slot is read and write
The time delay read and write in 1 time slot refers to that bus is the time of high level (see 1 time slot is write in Fig. 2 in 1 time slot of read/write With 1 time slot is read in Fig. 3), i.e. tSLOT-tRILValue is 1 microsecond of 45+ Δ~119 microseconds.Here Δ refers to the host sampling time, by specific Host selected when bus system is set up to determine.
(11) the waiting time delay in feature operation
Waiting time delay in feature operation refers to that the host in certain feature operations waits slave devices to complete function behaviour Make spent waiting time (bus state is high level at this time), the thermometric order such as in DS18B20 micro LAN waits Time is 93.75 milliseconds~750 milliseconds.
(12) bus contention order
Bus contention order follows transaction sequence shown below, and the sequence of operation is as follows:
Step 1, initial reset/online response detection cycle
Step 2, ROM command operation period
Step 2 is completed to indicate this bus transaction the sequence ends.After host issues bus contention command code (H'00), Followed by 64 ROM codes (being shown in Table 2) of this host (host for starting this transaction sequence).Bus contention order is used for sound Bright host ROM code, while showing that will start back to back next bus transaction sequence reserves the bus right to use.
(13) sky selects search command
Sky selects search command to follow transaction sequence shown below, and the sequence of operation is as follows:
Step 1, initial reset/online response detection cycle
Step 2,64 read-reads-write the position (the 0th to the 63rd) the ROM code operation cycle
Step 2 is completed to indicate this bus transaction the sequence ends.After host issues search command code (H'F0), and then It is that 64 read-reads-write position (the 0th to the 63rd) ROM code period (being shown in Table 2);(selection) is write in the period in these read-reads-, The return value of time slot must be read twice since certain is ' 1 ', i.e., having to explicitly indicates this search and do not select any one bus On node device.Sky selects search command to be used to state that this search affairs to be that the secondary bus is continuously searched in transaction sequence most Transaction sequence is once searched for afterwards.
The special ROM command table of table 2
Embodiment 1
The following are the course of work examples of the bus arbitration system according to the present invention based on single bus communication protocol:
As shown in figure 4, host can start bus transaction sequence when monitoring bus free and meeting Power Supplies Condition simultaneously Column.Two or more hosts may initiate a reset pulse simultaneously in its respective clock cycle errors, as a result in bus One defined reset pulse timing of upper generation.Here clock cycle errors E refers to that the host of starting bus transaction sequence is produced The clock cycle that the time difference of raw reset pulse failing edge and the reset pulse failing edge in final bus is less than the host, (this took Certainly in the monitoring bus mode of host).
When bus is that lower drags down (arbitration time domain) under reset pulse or other hosts, the master by initiating operation is arbitrated Machine respectively carries out;Whether arbitration rules with this host are driven value identical by monitoring bus value, mean bus hair if difference Raw competition, then this host stops operation at once while abandoning the control to bus;Since 1-wire bus is connect using " line with ", Then when its be driven to " 1 " Shi Faxian bus be " 0 " represent that this host competes unsuccessfully should abort operation at once.Due to monobus Data line state is determined by the host for winning arbitration, and any transmission information will not be lost in arbitrated procedure.Due to each host The function of host and slave is combined, so any one host should all respond the operation of bus until finding this secondary bus behaviour Make sequence it is unrelated with oneself until.
Fig. 4 shows the arbitrated procedure of three hosts.Certainly, arbitrated procedure may relate to more contents, this is by connecting It is determined to the operation that the host of bus is initiated in advance.During reset pulse (twill shadow region in left in Fig. 4), generate The internal drive data level and the actual level of 1-wire bus of the host of DQ1 are inconsistent, then the host answering online at it It answers the waiting time and closes data-driven (i.e. it loses arbitration).During write order (twill shadow region in right in Fig. 4), generate The internal drive data level and the actual level of 1-wire bus of the host of DQ2 are inconsistent, then the host is when at it, this is write Close data-driven after gap (i.e. it loses arbitration).It can see that arbitrated procedure will not influence by winning arbitration by Fig. 4 The data transmission that carries out of the bus transaction sequence initiated of host.
Since the control of monobus only determines do not have by the data that initialization sequence and command word, ROM code and host are sent There is central host, so bus is also without any scheduled priority.It althoughs note that by random set by limited competition rule Number can bring a potential priority.
The foregoing is only a preferred embodiment of the present invention, but scope of protection of the present invention is not limited thereto, In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by anyone skilled in the art, It should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of the claim Subject to enclosing.

Claims (7)

1. a kind of bus arbitration system based on single bus communication protocol is used for Monobus network characterized by comprising
Multiple main frames carry out transmission control to the bus of the Monobus network;
It is arbitrated between the multiple host according to timesharing section arbitration mechanism, by analyzing the transaction sequence of the bus, Determined using bus free, carry out distributed arbitration program on the arbitration domain of the transaction sequence, and using bus contention order into Row limited competition;
What the bus free determined method particularly includes:
If the bus is set using unified power supply power supply and without other independent current source nodes in the node of the Monobus network It monitors to assert bus free when bus is high after standby electrification reset or after completing a bus transaction sequence;If described Bus has multiple independent current source nodes, then after node device on it reset, when monitoring that bus is high, then continuous prison Bus free is assert after surveying one delay time section of bus;
The delay time section is longest waiting time delay in bus operation sequence, i.e., the maximum of Yanzhong when its value is following Value: detect online recovery latency between high time delay, bus operation time slot, in time delay and feature operation in 1 time slot of read-write etc. To time delay;
The primitive rule of the arbitration are as follows: whether monitoring bus value is identical as the driving value of this host during arbitrating time domain, if Different then mean that bus competes, this host stops operation at once while abandoning the control to bus;Since 1-wire is total Line connect using " line with ", then finds bus when it is driven to " 1 " as " 0 ", that is, representing that this host competes unsuccessfully should be at once Abort operation;
The limited competition refers to, when the continuous competition frequency of failure of a host is more than or equal to its internal preset value, the host Bus contention order can be used in subsequent bus contention to reserve bus.
2. the bus arbitration system according to claim 1 based on single bus communication protocol, it is characterised in that:
The arbitration domain, which refers to, only to be dragged down by the host driven bus and by bus in bus signals on the bus Period.
3. the bus arbitration system according to claim 2 based on single bus communication protocol, it is characterised in that:
Described by host driven bus and period for dragging down bus includes: reset pulse period, the when of writing in initialization sequence It is pulled down in gap since bus time slot and is finally released as the high period, read to drag down bus holding in time slot since time slot Period until 1 microsecond.
4. the bus arbitration system according to claim 1 based on single bus communication protocol, it is characterised in that:
The full 0 that the ROM command code of the bus contention order is 8 is followed by 64 ROM of the host of starting transaction sequence Code.
5. the bus arbitration system according to claim 1 based on single bus communication protocol, it is characterised in that:
The host selects search command having to explicitly to indicate the last one in a string of continuous transaction sequences using sky, indicates one with this The end for continuous transaction sequence of contacting.
6. the bus arbitration system according to claim 5 based on single bus communication protocol, it is characterised in that:
The sky selects the F0 that the ROM command code of search command is 8, and 64 read-reads-of heel write the 0th to the 63rd ROM code Period;In the period, the return value for reading time slot twice since certain is 1, i.e., having to explicitly indicates this search and do not select Node device in any one bus.
7. a kind of bus arbitration method based on single bus communication protocol is used for Monobus network, it is characterised in that use basis System as claimed in any one of claims 1 to 6.
CN201711429281.2A 2017-12-26 2017-12-26 A kind of bus arbitration system and method based on single bus communication protocol Active CN108287800B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711429281.2A CN108287800B (en) 2017-12-26 2017-12-26 A kind of bus arbitration system and method based on single bus communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711429281.2A CN108287800B (en) 2017-12-26 2017-12-26 A kind of bus arbitration system and method based on single bus communication protocol

Publications (2)

Publication Number Publication Date
CN108287800A CN108287800A (en) 2018-07-17
CN108287800B true CN108287800B (en) 2019-02-26

Family

ID=62832264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711429281.2A Active CN108287800B (en) 2017-12-26 2017-12-26 A kind of bus arbitration system and method based on single bus communication protocol

Country Status (1)

Country Link
CN (1) CN108287800B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109992534B (en) * 2019-03-22 2020-10-20 华北电力大学 Method and system for rapidly searching serial number of single-wire device on line
CN111510219A (en) * 2020-04-15 2020-08-07 联合华芯电子有限公司 Bidirectional optical fiber communication method in bus type network
CN114416622A (en) * 2021-12-30 2022-04-29 深圳华芯集成电路设计有限公司 Single bus communication system and method
CN115361345B (en) * 2022-10-24 2023-01-24 北京智芯微电子科技有限公司 Data flow control method and device based on single bus information transmission and communication system
CN116566761B (en) * 2023-03-28 2024-02-02 成都电科星拓科技有限公司 SPI dual-host sharing arbitration system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100553256C (en) * 2006-01-10 2009-10-21 山西大学 A kind of monobus communication means of a plurality of node equipment interconnections
US8032678B2 (en) * 2008-11-05 2011-10-04 Mediatek Inc. Shared resource arbitration
CN101499043A (en) * 2009-03-12 2009-08-05 杭州士兰微电子股份有限公司 Single-wire bus system and communication method
CN104504888A (en) * 2014-12-08 2015-04-08 国家电网公司 Full-insulating bus multipoint temperature measuring single conductor communication system
CN105955905B (en) * 2016-04-18 2018-11-06 合肥工业大学 A kind of interface circuit and communication protocol based on serial bus structure
CN107332746B (en) * 2017-06-02 2019-12-06 上海申矽凌微电子科技有限公司 single bus system based on data transmission protocol

Also Published As

Publication number Publication date
CN108287800A (en) 2018-07-17

Similar Documents

Publication Publication Date Title
CN108287800B (en) A kind of bus arbitration system and method based on single bus communication protocol
TWI733752B (en) System and method for side band communication, and tangible, non-transitory, computer-readable medium
US5953314A (en) Control processor switchover for a telecommunications switch
US5933611A (en) Dynamic scheduler for time multiplexed serial bus
US4541043A (en) Resource granting process and device in a system comprising autonomous data processing units
US6842806B2 (en) Method and apparatus for interconnecting wired-AND buses
CN105573951B (en) A kind of ahb bus interface system for data stream transmitting
US20040225814A1 (en) Method and apparatus for constructing wired-AND bus systems
CN1327667A (en) Information communication system, information communication method, information signal processing device and information signal processing method, and storage medium
US20130019039A1 (en) System and method for operating a one-wire protocol slave in a two-wire protocol bus environment
EP0900493A2 (en) Communication bus using different transmission rates
CN104932997B (en) A kind of monobus communication means and system
CN101719110A (en) Real-time monitoring method of multipath I2C device in optical communication device
CN104657303B (en) Single bus data communication means
US7149838B2 (en) Method and apparatus for configuring multiple segment wired-AND bus systems
CN106959935A (en) A kind of method that compatible I2C communications communicate with IPMB
CN106469127B (en) A kind of data access device and method
CN113704104B (en) Program debugging method, device, system, electronic device and storage medium
CN112003954B (en) Data communication method, data communication system, and computer-readable storage medium
US7353300B2 (en) Apparatus to improve the firmware efficiency for a multiframe serial interface
CN109902056A (en) A kind of method, apparatus of serial transmission, equipment and computer readable storage medium
CN109471588A (en) A kind of synchronous method and equipment
CN108896841A (en) Test macro, test method and device
US8966210B2 (en) Zone group connectivity indicator
JP2001119410A (en) Processing method in self-identification phase

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant