EP3326073B1 - Low-speed bus time stamp methods and circuitry - Google Patents
Low-speed bus time stamp methods and circuitry Download PDFInfo
- Publication number
- EP3326073B1 EP3326073B1 EP16828374.5A EP16828374A EP3326073B1 EP 3326073 B1 EP3326073 B1 EP 3326073B1 EP 16828374 A EP16828374 A EP 16828374A EP 3326073 B1 EP3326073 B1 EP 3326073B1
- Authority
- EP
- European Patent Office
- Prior art keywords
- time
- clock signal
- slave device
- master device
- slave
- 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
Links
- 238000000034 method Methods 0.000 title claims description 25
- 230000007704 transition Effects 0.000 claims description 111
- 238000004891 communication Methods 0.000 claims description 50
- 238000001514 detection method Methods 0.000 claims description 38
- 230000008859 change Effects 0.000 claims description 23
- 238000004364 calculation method Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 9
- 230000008878 coupling Effects 0.000 claims 1
- 238000010168 coupling process Methods 0.000 claims 1
- 238000005859 coupling reaction Methods 0.000 claims 1
- 239000003550 marker Substances 0.000 description 53
- 230000003111 delayed effect Effects 0.000 description 23
- 238000005259 measurement Methods 0.000 description 15
- 238000010586 diagram Methods 0.000 description 12
- 230000002093 peripheral effect Effects 0.000 description 9
- 230000000977 initiatory effect Effects 0.000 description 8
- 238000004590 computer program Methods 0.000 description 5
- 230000000630 rising effect Effects 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 238000013459 approach Methods 0.000 description 4
- 230000000737 periodic effect Effects 0.000 description 4
- 230000001960 triggered effect Effects 0.000 description 4
- 230000002596 correlated effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000011664 signaling Effects 0.000 description 3
- 101100328518 Caenorhabditis elegans cnt-1 gene Proteins 0.000 description 2
- 230000004913 activation Effects 0.000 description 2
- 230000001276 controlling effect Effects 0.000 description 2
- 230000000875 corresponding effect Effects 0.000 description 2
- 230000001934 delay Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000003325 tomography Methods 0.000 description 2
- 238000013519 translation Methods 0.000 description 2
- 101100328519 Caenorhabditis elegans cnt-2 gene Proteins 0.000 description 1
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 210000001015 abdomen Anatomy 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 210000001835 viscera Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/12—Synchronisation of different clock signals provided by a plurality of clock generators
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/04—Generating or distributing clock signals or signals derived directly therefrom
- G06F1/14—Time supervision arrangements, e.g. real time clock
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
- G06F13/4291—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a clocked protocol
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
- H04J3/0661—Clock or time synchronisation among packet nodes using timestamps
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0016—Inter-integrated circuit (I2C)
Definitions
- the present disclosure generally relates to a low-speed bus message protocol, and more particularly relates to methods and circuitry for low-speed bus time stamping and triggering.
- Inter-Integrated Circuit (I2C) interface is typically used for attaching lower-speed peripheral Integrated Circuits (ICs) to higher-speed processors and microcontrollers.
- ICs peripheral Integrated Circuits
- Lower-speed peripheral ICs are commonly referred to as slave devices, whereas a higher-speed processor or microcontroller is commonly referred to as a master device.
- a slave device can be coupled to a peripheral device such as a sensor, a gyroscope, a compass, a microphone, and the like.
- the slave device can be configured to monitor and/or control operations of the peripheral device coupled to the slave device.
- a simultaneous operation by two or more slave devices can utilize a common trigger signal (e.g., generated by a master device), which is independent of an I2C low-speed serial bus.
- a common trigger signal e.g., generated by a master device
- each slave device uses a dedicated line feeding back to the master device for signaling to the master device a time when the event occurs.
- the master device can capture a state of a real time clock (i.e., time of event, or timestamp of event) when the master device receives an event marker signal from the slave device.
- the disadvantage of this approach is a number of additional communication lines (i.e., board traces) between the master device and the slave devices, and additional signal pins that are required.
- US 2015/134996 A1 describes a method for synchronizing a first sensor clock of a first sensor.
- the exemplary method comprises: correcting the first sensor clock for a first time, transferring data from the first sensor, and correcting the first sensor clock for a second time, wherein a time interval between two corrections of the first sensor clock is selected such that the first sensor clock is sufficiently aligned with a processor clock of a processor over the time interval.
- the system generally includes a master device coupled to a communication link, the master device to transmit, via the communication link, a clock signal and a synchronization command, and one or more slave devices coupled to the communication link, each slave device to track a number of selected transitions of the clock signal between detection of the synchronization command at the slave device and detection of an event at the slave device, and generate information about an elapsed time between the detection of the synchronization command and the detection of the event by at least counting the number of selected transitions of the clock signal, and wherein the master device to obtain the information about the elapsed time and derive a time the event was detected at the slave device based on the information.
- Certain embodiments of the present disclosure provide a method in accordance with claim 15.
- Preferable embodiments of the system and the method may include the additional features in accordance with one or more of the dependent claims.
- Embodiments of the present disclosure relate to synchronizing multiple slave devices operating in conjunction with a master device in accordance with a messaging protocol, such as the I3C message protocol, which is an enhanced version of the Inter-Integrated Circuit (I2C) message protocol.
- a messaging protocol such as the I3C message protocol, which is an enhanced version of the Inter-Integrated Circuit (I2C) message protocol.
- Synchronization of multiple slave devices presented herein can provide accurate time stamping of events detected at the slave devices, as well as efficient initiation of delayed triggered events at the multiple slave devices.
- Certain embodiments of the present disclosure support initiating simultaneous readings/operations of peripheral devices coupled to the slave devices.
- methods and circuitry presented herein can synchronize measurements between a gyroscope and a magnetic compass (that are coupled to a pair of slave devices), while both the gyroscope and the magnetic compass are located on a rotating object.
- the methods and circuitry presented in this disclosure can also initiate delay triggered events on multiple slave devices, which can be useful for tomography.
- multiple slave devices can initiate simultaneous operations (e.g., measurements) via 13C time synchronization triggering, as discussed in more detail below.
- 13C time synchronization triggering As discussed in more detail below.
- embodiments of the present disclosure support usage of a time synchronization command that starts a timer at each slave device that triggers an event at an end of a pre-determined time period.
- a time delay for a triggering event at each slave device can be set by a directed command that may precede the time synchronization command.
- Each slave device may drive one transducer of an array of transducers (e.g., located at a back of a cellular phone), wherein the transducer generates an acoustic pulse (e.g., based on a trigger signal from the slave device) at the end of the aforementioned individual time delay interval (e.g., to control phase for beam-forming).
- an acoustic pulse e.g., based on a trigger signal from the slave device
- each transducer may receive a reflected waveform, wherein each feature of the reflected waveform (e.g., that is within a preset time aperture and within a present magnitude/derivative/second derivative limits, as defined by an earlier command) can be time-stamped, which is recorded in a register at the slave device.
- the master device may then poll each slave device and read back the stored time-stamped data. For example, after a certain number of triggering/time-stamping operations, there is sufficient operation to make an image of an interior of abdomen (or some other internal organ).
- independent clock signals and counter circuits in different slave devices can be synchronized that are used to time-stamp their readings.
- events from different sensors can be accurately correlated in time.
- a plurality of measurements produced by an array of I3C microphones can be correlated to determine a direction from which a sound (e.g., "clap") originates, wherein each microphone in the array can have its own clock signal.
- Embodiments of the present disclosure support utilizing a new common command code (CCC) serial bus command. i.e., "Time Sync" command for time synchronization.
- CCC common command code
- a master device may issue Time Sync CCC to synchronize all slave devices to a particular selected transition (e.g., falling edge) of a clock signal driving a Serial Clock Line (SCL) bus.
- SCL Serial Clock Line
- Each slave device may be configured to count all selected transitions of SCL signal after Time Sync CCC is detected, and may use selected transitions of SCL clock signal as time markers for time-stamping events.
- the master device may count all selected transitions of SCL clock signal after detecting Time Sync CCC while also monitoring a period of transitions of SCL clock signal against a (stable) time base.
- the master device may also monitor bus traffic for time-stamp data, collect the time-stamp data and perform calculations to determine timing of events (e.g., sensor measurements) detected at the slave devices against the time base.
- a monitor device separate from the master device may perform the counting of SCL transitions and collection of time stamped data.
- Embodiments of the present disclosure facilitate accurate time-stamping and triggering.
- a slave device may monitor a sensor and record a time (count) that a sensed event occurs.
- a master device may issue a command for all slave devices in a group to initiate certain operations at a precise time (count). It should be noted that this may be initiation of a time-delay after which an action occurs, wherein the time-delay may be preset to different delay values on a per slave device basis.
- FIG. 1 is a schematic diagram 100 that illustrates a master device 102 interfaced with multiple slave devices 104, in accordance with embodiments of the present disclosure.
- each slave device 104 may be a lower-speed peripheral integrated circuit (IC), whereas the master device 102 may be a higher-speed processor or microcontroller.
- the master device 102 may be coupled to a real time clock source 106 that generates a clock signal 108 for the master device 102.
- the master device 102 may comprise an internal clock signal source for generating a clock signal.
- the master device 102 may be interfaced with the slave devices 104 via communication link 110.
- the communication link 110 is a two wire communication link that comprises a serial data line (SDA) bus 112 and SCL bus 114.
- SDA bus 112 is a single wire bus that may be employed to carry commands and/or data between the master device 102 and the slave devices 104 using single ended signals in accordance with a communication protocol such as I3C.
- SCL bus 114 is a single wire bus that may be utilized to carry a single-ended clock signal (e.g., the clock signal 108) that may be generated and/or controlled by the master device 102.
- Clock signal 108 is used as a timing reference for transmitting and receiving commands and/or data on the SDA bus 112.
- Each slave device 104 may be coupled to a peripheral device (e.g., transducer, microphone, sensor, and the like) controlled by that slave device 104.
- the master device 102 may issue a time synchronization command via SDA bus 112 to synchronize local counts of selected transitions of clock signals (e.g., falling edges of clock signals) in different slave devices 104 in order to accurately time-stamp readings (events) from devices (e.g., sensors) coupled to the slave devices 104.
- the time-stamped events locally stored at each slave device 104 may be provided (e.g., via SDA bus 112) to the master device 102 for calculation of a real time occurrence of each event, wherein a global real time can be accurately tracked by the master device 102 based on transitions of the clock signal 108 (e.g., signal carried by SCL bus 114). In this way, events (e.g., measurements) from different sensors coupled to different slave devices 104 can be accurately correlated in time at the master device 102.
- multiple slave devices 104 can initiate synchronized operations (e.g., measurements) via time synchronization triggering controlled by the master device 102 (e.g., by sending an appropriate command via SDA bus 112).
- time synchronization triggering controlled by the master device 102
- SDA bus 112 e.g., by sending an appropriate command via SDA bus 112
- FIG. 2 is a schematic diagram of a system 200 comprising a master device 202 interfaced with a slave device 204 via a communication link 205, which may enable time stamping and delayed triggering, in accordance with embodiments of the present disclosure.
- the master device 202 may correspond to the master device 102 shown in FIG. 1
- the slave device 204 may correspond to any of the slave devices 104 shown in FIG. 1 .
- the communication link 205 may comprise SDA bus 206 and SCL bus 208.
- FIG. 2 is a schematic diagram of a system 200 comprising a master device 202 interfaced with a slave device 204 via a communication link 205, which may enable time stamping and delayed triggering, in accordance with embodiments of the present disclosure.
- the master device 202 may correspond to the master device 102 shown in FIG. 1
- the slave device 204 may correspond to any of the slave devices 104 shown in FIG. 1 .
- the communication link 205 may comprise SDA bus 206 and SCL bus 208.
- the master device 202 and the slave device 204 may both drive SDA bus 206, whereas only the master device 202 may provide and control a clock signal that may be carried by SCL bus 208 (hereinafter referred as SCL clock signal 208).
- SCL clock signal 208 The slave device 204 may communicate with the master device 202 via SDA bus 206, and the slave device 204 may utilize SCL clock signal 208 for time-stamping of an event detected by the slave device 204 and/or for synchronized delayed triggering, as discussed in more detail below.
- the master device 204 may broadcast via SDA bus 206 a Single Data Rate (SDR) command 210 to the slave device 204.
- the SDR command 210 may comprise a Time Sync CCC.
- the slave device 204 may operate in accordance with the decoded SDR command 210.
- Time Sync CCC may be detected at a Time Tracking/Trigger Control circuit 214. Based on the detected Time Sync CCC, a Time Sync Marker (not shown) may be generated by the Time Tracking/Trigger Control circuit 214 for start of time synchronization and time tracking until an event occurs and is detected, as discussed in more detail below.
- the slave device 204 may be coupled to a sensor 216 that generates a sensor output signal 218 indicative of a measurement of an environmental property.
- An event detector circuit 220 detects occurrence of an event from the sensor output signal 218, and generates an event detection signal 222 that switches from a low logic level to a high logic level when the event is detected.
- the Time Tracking/Trigger Control circuit 214 may be configured to time-stamp occurrence of the event (e.g., sensor measurement) 222 with reference to the start of time synchronization, which may be indicated by the Time Sync Marker (not shown). As discussed in more detail below, the Time Tracking/Trigger Control circuit 214 may perform time-stamping of the event 222 based at least in part on selected transitions of SCL clock signal 208 (i.e., reference clock signal) that may be generated and controlled by the master device 202. The Time Tracking/Trigger Control circuit 214 may store a time stamp 224 of the event 222. As illustrated in FIG.
- a communication logic 226 may read a value of the time stamp 224 and provide the time stamp value 224 to SDA bus 206 (e.g., when SDA bus 206 is free from other traffic). As further illustrated in FIG. 2 , the communication logic 226 and the decode logic 212 represent an interface 228 that couples the slave device 204 to SDA bus 206.
- the master device 202 may communicate (e.g., via SDA bus 206) other SDR command(s) to the slave device 204 with delay setting information that determines a time delay for generating a trigger signal by the slave device 204.
- a trigger delay setting circuit 230 generates delay setting information 232, which indicates a trigger delay in the form of a number of selected transitions of SCL clock signal 208 that are to occur between the SDR command 210 with the Time Sync CCC and generation of the trigger signal at the slave device 204.
- the trigger delay setting circuit 230 generates delay setting information 232 based on expected frequency changes of SCL clock signal 208 that are to occur after the SDR command 210 with the Time Sync CCC. Information about the expected frequency changes of SCL clock signal 208 are known at the master device 202.
- An encoder 234 of a master device communication interface 236 encodes the delay setting information 232 within the SDR command 210.
- the SDR command 210 with the encoded delay setting information 232 is then broadcast via SDA bus 206 to one or more slave devices 204 to initiate delayed trigger. As further illustrated in FIG.
- the Time Tracking/Trigger Control circuit 214 may be configured to generate a delayed trigger signal 238 with a time delay determined based on the provided delay setting information, as discussed in more detail below.
- the delayed trigger signal 238 may initiate operation (e.g., measurement) of a peripheral device coupled to the slave device 204, e.g., operation of an output transducer 240 coupled to the slave device 204.
- a time tracking circuit 242 of the master device 202 illustrated in FIG. 2 may be configured to track real time starting from a Time Sync Marker generated upon Sync signal 244.
- the encoder 234 encodes Sync signal 244 to generate the SDR command 210 with Time Sync CCC, which may be then broadcast via SDA bus 206 to one or more slave devices 204 to initiate time synchronization.
- Sync CCC broadcast 246 i.e., Time Sync CCC
- Time Tracking circuit 242 may also detected within the Time Tracking circuit 242, which may then generate the Time Sync Marker that indicates a start of tracking a system reference time at the master device 202 based on tracking a number of selected transitions of SLC clock signal 208.
- a counter circuit 248 within the Time Tracking circuit 242 may be configured to keep track of the number of selected transitions (e.g., falling edges) of SCL clock signal 208. For each frequency of SCL clock signal 208, a number of selected transitions of SCL signal 208 (e.g., denoted in FIG. 2 as SCL count C0) may be saved into a latch 250, which may be controlled by a change of frequency (COF) signal 252. As discussed in more detail below, SCL count C0 may represent a number of selected transitions of SCL clock signal 208 between the Time Sync Marker and a last selected transition (e.g., falling edge) of SCL clock signal 208 prior to a change of frequency of SCL clock signal 208.
- COF change of frequency
- an updated SCL count C0 may be stored in the latch 250, which is controlled by COF signal 252.
- the updated SCL count C0 may indicate a number of selected transitions of SCL clock signal 208 between the Time Sync Marker and a last selected transition of SCL clock signal 208 prior to a change of frequency of SCL clock signal 208.
- a previous (old) value of SCL count C0 may be also saved in a register file (e.g., look-up table) 254.
- the register file 254 may include different values of SCL count C0 (e.g., values CNT_1, CNT_2, ..., CNT_N) that correspond to N different frequencies of SCL clock signal 208.
- the master device 202 may receive, via SDA bus 206, information about the time stamp 224 of the event 222 detected at the slave device 204.
- the master device 202 may use information stored in the register file 254 about the system reference time tracked from initiation of the Time Sync Marker to correlate it with the time stamp 224 (e.g., at real time calculation circuit 256) to determine an exact global (system) time 258 of occurrence of the event 222.
- the calculated time 258 represents a global time that is measured based on selected transitions of SCL clock signal 208 starting from initiation of the Time Sync Marker at the master device 202.
- SCL clock signal 208 may be generated at the master device 202 by an adjustable clock generator 260, which may provide a frequency of SCL clock signal 208 based on indication 262 (e.g., indication Ti) about a desired period of SCL clock signal 208.
- indication 262 e.g., indication Ti
- FIG. 3 illustrates an example Time Stamp Sync command 300 and waveforms of signals driving SDA and SCL buses in relation to the Time Stamp Sync command 300, in accordance with embodiments of the present disclosure.
- Time Stamp Sync command 300 may be initiated by the master device 202 and broadcast to one more slave devices 204 via SDA bus 206. As illustrated in FIG.
- a start portion 302 of Time Stamp Sync command 300 may be followed by a Broadcast portion 304 indicated with value 0x7E).
- the master device may signal a write operation ('W') to the slave device(s), wherein at least one slave device may respond to the write operation ('W') on SDA bus with an Acknowledgement (ACK), to acknowledge reception of the Broadcast portion 304 of Time Stamp Sync command 300.
- ACK Acknowledgement
- SDR command CCC portion 306 of Time Stamp Sync command 300 may follow the Broadcast portion 304.
- Command code 0x28 corresponds to a Time Stamp Sync command.
- a portion 308 (e.g., 'T' bit) may be associated with a specific signal waveform 310 on SDA bus.
- the slave device 204 may detect Time Sync CCC 312.
- the next selected transition (e.g., falling edge) of SCL clock signal may represent a Time Sync Marker 314, which is also detected at the slave device 204.
- Time Sync Marker 314 may represent a time instant when synchronization of one or more slave devices 204 with a system reference time base produced by the master device 202 starts.
- Time Stamp Sync command 300 may end with a portion 316 that initiates reading of data from the slave devices 204 via SDA bus.
- the Time Sync Marker 314 provides a means for multiple slave devices to synchronize for timestamping events.
- the Time Sync Marker 314 also allows multiple slave devices to initiate simultaneous operations (e.g., measurements) via Time Sync Triggering.
- simultaneous operations e.g., measurements
- Time Sync Triggering the need for side channels between a master device and slave devices to synchronize events can be eliminated. It should be noted that in the triggering case there is no concern for time units or local clocks since all slave devices are triggered simultaneously.
- time-stamping of an event detected at a slave device may be supported based on the Time Sync Marker 314.
- a control circuit within the slave device may be initialized based on the Time Sync Marker 314, and may be configured to track a number of selected transitions of SCL clock signal. Once an event is detected, the number of tracked selected transitions of SCL clock signal may be saved in a slave device's local memory to be read back by a master device at a later time.
- the master device which generates and controls the SCL clock signal, may also keep track of a number of selected transitions of the SCL clock signal, and may correlate its count with the saved time stamp count read back from the slave device in order to determine a global system time of occurrence of the event.
- FIG. 4 is an example schematic of circuitry 400 for implementing time synchronization at a slave device, such as slave device 204, in accordance with embodiments of the present disclosure.
- the circuitry 400 may be a part of the Time Tracking/Trigger Control circuit 214 illustrated in FIG. 2 .
- a flip flop 420 outputs a sync pulse 402 onto reset line 404 when (Time) Sync CCC is detected, i.e., when the rising edge of pulse 406 is detected.
- Sync CCC Detected pulse 406 may be generated by the decode logic 212 of the slave device 204 upon detection of a time synchronization command 210.
- Time Sync Marker 4 may represent the Time Sync Marker.
- the Time Sync Marker 314 may align with a selected transition of SCL clock signal during the 'T' bit of Time Stamp Sync command 300 following the detection of Time Sync CCC.
- the Time Sync Marker may align with a selected transition 410 of SCL clock signal 412 following the rising edge of the pulse 406 indicating detection of Sync CCC.
- the sync pulse 402 present at the reset line 404 may reset a counter 414 to all zeroes, as illustrated by waveforms 416 at the output of the counter 414.
- the counter 414 after being reset to all zeroes, increments on every selected transition (e.g., on every falling edge) of SCL clock signal 412. It can be noted that the approach presented herein and illustrated in FIG. 4 , which is based on the sync pulse 402 and the Time Sync Marker aligned with a selected transition of SCL clock signal (which can be controlled by a master device) provides a uniform time reference across all slave devices comprising the circuitry 400 shown in FIG. 4 .
- a burst oscillator may be employed at a slave device to improve resolution of time-stamping and delayed triggering.
- FIG. 5 is an example schematic of an oscillator circuit 500 that may be implemented at a slave device 204 for improving resolution of time synchronization, in accordance with embodiments of the present disclosure.
- the oscillator circuit 500 may be a part of the Time Tracking/Trigger Control circuit 214 of the slave device 204 shown in FIG. 2 .
- the oscillator circuit 500 may comprise a burst oscillator 502 and a counter 504.
- the burst oscillator 502 includes several serially connected inverters that generate a high speed clock signal 506 when enable signal 508 is at a high logic level. A frequency of the high speed clock signal 506 is higher than a frequency of the SCL clock signal.
- the counter 504 Upon initiation by a reset signal 510, the counter 504 starts counting selected transitions of the high speed clock signal 506. Output F(0) of the burst oscillator 502 and m bit outputs F(1:m) of the counter 504 form an output 512 of the oscillator circuit 500.
- the burst oscillator 502 may be configured to operate for a limited amount of time sufficient to make a certain number of measurements (e.g., one or two measurements) following detection of an event. Thus, the burst oscillator 502 consumes a limited amount of power.
- certain type of sensors e.g., accelerometers, gyros
- slave devices inherently have a relatively stable time base, and may use this time base to provide a clock signal that may be utilized to improve resolution of time-stamping and delayed triggering.
- Other sensors may not have stable time base and need to employ a local oscillator for generating a local clock signal.
- the local oscillator at a slave device may be based on Phase Locked Loop (PLL) device that uses SCL clock signal as a reference clock to generate a synchronized and stable local clock of a higher frequency than SCL clock signal.
- PLL Phase Locked Loop
- FIG. 6 is an example schematic of circuitry 600 for implementation of time-stamping at a slave device 204 in accordance with embodiments of the present disclosure.
- the circuitry 600 may be a part of the Time Tracking/Trigger Control circuit 214 of the slave device 204 shown in FIG. 2 .
- the circuitry 600 may comprise the circuitry 400 from FIG. 4 and the oscillator circuit 500 from FIG. 5 .
- the circuitry 600 may be configured to implement a time stamp at a slave device 204, and the oscillator circuit 500 is utilized to increase resolution of the time stamp when compared to using only counts of selected transitions of SCL clock signal for the time stamp.
- a sync pulse (e.g., the sync pulse 402 shown in FIG. 4 ) present at a reset line 602 may be generated when (Time) Sync CCC is detected, i.e., when a rising edge of pulse 406 shown in FIG. 4 is detected at an input 604.
- a falling edge of the sync pulse (e.g., the sync pulse 402 shown in FIG. 4 ) may represent the Time Sync Marker that aligns with a selected transition (e.g., falling edge 410 shown in FIG.
- the sync pulse present at the reset line 602 may reset a counter 608 to all zeroes.
- the counter 608 may be the same counter 414 of the circuitry 400 shown in FIG. 4 .
- the counter 608 may be configured to increment on every selected transition (e.g., falling edge) of SCL clock signal 606, and may provide a uniform time reference across all slave devices (e.g., slave devices 104 illustrated in FIG. 1 , multiple slave devices 204 shown in FIG. 2 ), wherein SCL clock signal 606 may be generated and controlled by a master device (e.g., the master device 102 shown in FIG. 1 , the master device 202 shown in FIG. 2 ).
- a master device e.g., the master device 102 shown in FIG. 1 , the master device 202 shown in FIG. 2 .
- an event 610 may be time stamped based at least in part on a value 612 of the counter 608.
- the value 612 representing a number of selected transitions of SCL clock signal 606 between the Time Sync Marker and a last selected transition 614 of SCL clock signal 606 prior to detection of the event 610 may be stored in a latch 616 (e.g., the value C0 shown in FIG. 6 may be stored in the latch 616).
- the oscillator circuit 500 may be used in conjunction with the counter 608 to provide finer resolution for time-stamping.
- the oscillator circuit 500 comprising a burst oscillator 502 from FIG. 5 may be configured to generate a periodic oscillator signal having a frequency higher than a frequency of SCL clock signal 606.
- flip flop 618 upon detection of the event 610, flip flop 618 generates an enable signal 620 that activates the burst oscillator 502 within the oscillator circuit 500.
- the burst oscillator 502 of the oscillator circuit 500 may generate a high speed clock signal (oscillator signal) 506, and the counter 504 of the oscillator circuit 500 may keep track of a number of selected transitions (e.g., falling edges) of the oscillator signal 506.
- a first selected transition 622 of SCL clock signal 606 immediately following detection of the event 610 causes the output of flip flop 624 to go high, thereby initiating storage of a value 626 at the output of the oscillator & counter circuit 500 in a latch 628.
- This value is shown as C1.
- the value of C1 represents a delay, in the form of a number of selected transitions of the oscillator signal 506, between detection of the event 610 and the first selected transition 622 of SCL clock signal 606 following the detection of the event 610.
- a next selected transition 630 of SCL clock signal 606 following the first selected transition 622 causes the output of flip flop 632 to go high. As a result, this initiates storage of a new value 626 at the output of the oscillator & counter circuit 500 in a latch 634.
- This value is shown as C2.
- the value of C2 represents a delay, in the form of a number of selected transitions of the oscillator signal 506, between detection of the event 610 and the second selected transition 630 of SCL clock signal 606 following the first selected transition 622.
- information about an elapsed time between the Time Sync Marker and detection of the event 610 may be based on the stored values C0, C1 and C2.
- T0 represents the time stamp 224.
- the information about the time stamp of the event 610 may be communicated via the interface 228 of the slave device 204 to a master device 202 when SDA bus 206 is available.
- the time stamp value T0 defined by equation (1) may be also stored in a delay register 638 before being communicated to the master device 202.
- the delay register 638 may keep the time stamp value T0 until SDA bus 206 becomes available.
- FIG. 7 is an example diagram 700 of capturing and reading time of events by a master device 702 from multiple slave devices 704 and 706, in accordance with embodiments of the present disclosure.
- the master device 702 may correspond to the master device 202 shown in FIG. 2
- each of the slave devices 704 and 706 may correspond to the slave device 204 shown in FIG. 2 .
- the master device 702 may broadcast a Time Sync CCC 708 to the slave devices 704, 706.
- the slave devices 704, 706 may track time delays 710, 712 between a Time Sync Marker (not shown in FIG. 7 ) generated when Sync CCC 708 is detected at the slave devices 704, 706 and detection of an event at each slave device.
- a time delay represented as a number of selected transitions of SCL clock signal (not shown in FIG. 7 ) tracked at each slave device is latched, i.e., the event is time-stamped in each slave device and stored in a delay register.
- the slave device 704 may store the tracked delay 710 as the time stamp of the event 714 into the delay register 718; the slave device 706 may store the tracked delay 712 as the time stamp of the event 716 into the delay register 720.
- the delay register 718 of the slave device 704 and the delay register 720 of the slave device 706 may correspond to the delay register 638 illustrated in FIG. 6 .
- a slave device 204 shown in FIG. 2 may need to wait for a bus free condition on SDA bus 206 before a slave device can initiate an interrupt to a master device 202 shown in FIG. 2 .
- slave devices 704, 706 may need to wait until traffic 722 on SDA bus is finished. Then, the slave device 706 may initiate an in-band interrupt (IBI) 724 signaling to the master device 702 that the time stamp 712 of the event 716 is available to be read by the master device 702.
- IBI in-band interrupt
- the master device 702 may send a request 726 via SDA bus to the slave device 706 requesting to read information about the time stamp 712 of the event 716 that is stored in the delay register 720 of the slave device 706.
- the slave device 706 may read 728 the time stamp 712 from the delay register 720 and provide, via SDA bus, information about the time stamp 712 of the event 716 to the master device 702.
- the master device 702 may initiate another read 730 from the delay register 720 of the slave device 704 that stores information about the time stamp 710 of the event 714.
- the information about the time stamp 710 of the event 714 may be then provided, via SDA bus, to the master device 702.
- the slave device 706 may have a higher priority than the slave device 704.
- the slave device 704 may also initiate IBI, in this case there is no opportunity for the slave device 704 to do so because the master device 702 decides to read the time stamp 710 of the event 714 automatically in response to the IBI 724 received from the slave device 706.
- SCL clock signal (not shown in FIG. 7 ) may toggle continuously before and after the detected events 714, 716, thus providing a continuous time base for the slave devices 704, 706 to reference.
- FIG. 8 is an example diagram 800 of capturing and reading time of events by a master device 802 and a monitor device 808 from multiple slave devices 804 and 806, in accordance with embodiments of the present disclosure.
- the monitor device 808 may be interfaced via SDA bus and SCL bus with the slave devices 804 and 806. Unlike the master device 802, the monitor device 808 does not issue any commands nor generates/controls any clock signals. Instead, the monitor device 808 may simply monitor traffic on SDA bus and collect corresponding information communicated on the SDA bus by the master device 802 and/or the slave devices 804, 806.
- the master device 802 may correspond to the master device 202 from FIG. 2
- each slave device 804, 806 may correspond to the slave device 204 from FIG. 2 .
- the master device 802 may broadcast Time Sync CCC 810 to the slave devices 804, 806 that track time delays 812 and 814 between a Time Sync Marker (not shown in FIG. 8 ) generated when Sync CCC 810 is detected at the slave devices 804, 806 and detection of an event at each slave device.
- Sync CCC 810 may be also detected by the monitor device 808.
- an event 816 is detected at the slave device 804 and an event 818 is detected at the slave device 806, a time delay tracked at each slave device is latched, i.e., the event is time-stamped in each slave device and stored in a delay register. As illustrated in FIG.
- the slave device 804 may store the tracked delay 812 between the Time Sync Marker and detection of the event 816 into a delay register 820; the slave device 806 may store the tracked delay 814 between the Time Sync Marker and the event 818 into the delay register 822.
- the delay register 820 of the slave device 804 and the delay register 822 of the slave device 806 may correspond to the delay register 638 illustrated in FIG. 6 .
- other traffic 824 may be provided on SDA bus by the master device 802.
- the same traffic 824 may be also monitored by the monitor device 808.
- each slave device may need to wait for a bus free condition on SDA bus before the slave device can initiate an interrupt to the master device.
- the slave devices 804, 806 may need to wait until traffic 824 on SDA bus is finished.
- the slave device 806 may initiate IBI signaling 826 via SDA bus that the time stamp 814 of the event 818 is available to be read.
- the same interrupt 826 sent via SDA bus may be received by both the master device 802 and the monitor device 808.
- the master device 802 may provide, to the slave device 806, a request 828 with an address of the slave device 806 requesting to read information about the time stamp 814 of the event 818 stored in the delay register 822 of the slave device 806.
- the request 828 comprising the address of the slave device 806 may be also received by the monitor device 808.
- the slave device 806 may read 830 the time stamp 814 from the delay register 822 and provide, via SDA bus, information about the time stamp 814 of the event 818 to the master device 802.
- the monitor device 808 may also obtain the time stamp 814 of the event 818.
- the master device 802 may initiate, by sending a request 832 with an address of the slave device 804, another read 834 from the delay register 820 that stores information about the time stamp 812 of the event 816.
- the address 832 of the slave device 804 may be also received by the monitor device 808 that monitors all traffic on SDA bus.
- the information about the time stamp 812 of the event 816 may be then provided, via SDA bus, to the master device 802 and the monitor device 808.
- the master device 802 Upon reception of the time stamp data 812 and 814 from the slave devices 804 and 806, respectively, the master device 802 calculates time of the events 816 and 818 referenced to a global system reference clock signal, i.e., SCL clock signal (not shown in FIG. 8 ) generated and controlled by the master device 802, as discussed in more detail herein in relation to FIG. 2 and FIG. 12 .
- SCL clock signal not shown in FIG. 8
- the master device 802 is not capable of processing the time stamp data 812, 814, i.e., the master device 802 does not support converting the time stamp data 812, 814 into actual times of the events referenced to a global system reference clock signal.
- the monitor device 808 can be configured to handle processing of the time stamp data 812, 814 received from the slave devices 804, 806, thus allowing usage of a master device that does not support time-stamping.
- the master device 802 may still control SDA bus and SCL bus, as well as handle reads/writes/interrupts from/to the slave devices 804, 806, as discussed above. However, the master device 802 does not handle the intricacies of time-stamping.
- the monitor device 808 is configured to convert the received time stamp data 812, 814 into times of the events 816, 818 referenced to a global system reference clock signal.
- the monitor device 808 is configured to keep track of selected transitions of SCL clock signal and time the transitions of SCL clock signal to its own accurate time base, in the same way that the master device 802 would have done so, as discussed in more detail in relation to FIG. 2 and FIG. 12 .
- the master device 802 When the slave device 806 initiates IBI 826 by pulling down SDA bus during a bus-idle state after the traffic 824 is finished, the master device 802 responds by toggling SCL clock signal and initiates read-back of the time stamp information 814 from the slave device by sending the request 828. However, the master device 802 may ignore the received time stamp information 814. Instead, the master device 802 may rely on the monitor device 808 to also read the same time stamp data 814 and use the time stamp 814 to calculate an actual time of the event 818 detected at the slave device 806. Similarly, the monitor device 808 utilizes the time stamp 812 received from the slave device 804 and calculates a time of the event 816 detected at the slave device 804. At a later time, the monitor device 808 may send information about times of the events 816, 818 to the master device 802.
- the slave device 806 may have a higher priority than the slave device 804.
- the slave device 804 may also initiate IBI, in this case there is no opportunity for the slave device 804 to do so because the master device 802 decides to read the time stamp 812 of the event 816 automatically in response to IBI 826 received from the slave device 806.
- SCL clock signal (not shown in FIG. 8 ) may toggle continuously before and after the detected events 816, 818, thus providing a continuous time base for the slave devices 804, 806 to reference.
- FIG. 9 is an example schematic of circuitry 900 for implementation of time-stamping at a slave device, such as the slave device 204 shown in FIG. 2 without the oscillator circuit 500 from FIG. 5 shown as a part of the time-stamping circuitry 600 in FIG. 6 , in accordance with embodiments of the present disclosure.
- the circuitry 900 may be a part of the Time Tracking/Trigger Control circuit 214 of the slave device 204 shown in FIG. 2 .
- a sync pulse 402 present at a reset line 902 may be generated when (Time) Sync CCC is detected, i.e., when a rising edge of pulse 406 shown in FIG. 4 is detected at an input 904.
- a falling edge of the sync pulse 402 may represent the Time Sync Marker that aligns with a selected transition 410 of SCL clock signal 906 during 'T' bit of a Time Stamp Sync command (e.g., SDR Time Sync command 210 broadcast from the master device 202 shown in FIG. 2 , Time Stamp Sync command 300 shown in FIG. 3 ) following detection of Sync CCC at the input 904.
- the sync pulse present at the reset line 902 may reset a counter 908 to all zeroes.
- the counter 908 may correspond to the counter 414 of the circuitry 400 shown in FIG. 4 .
- the counter 908 may be configured to increment on every selected transition of SCL clock signal 906, and may provide a uniform time reference across all slave devices while SCL clock signal 906 may be generated and controlled by a master device.
- an event 910 may be time stamped based at least in part on a value 912 of the counter 908.
- the value 912 representing a number of selected transitions of SCL clock signal 906 between the Time Sync Marker and a last selected transition of SCL clock signal 906 prior to detection of the event 910 may be stored in a latch 914.
- the value C0 representing the number of selected transitions of SCL clock signal 906 between the Time Sync Marker and detection of the event 910 is stored in the latch 914.
- a master device 202 illustrated in FIG. 2 may translate, by the real time calculation unit 256, a value of C0+1 and a value of C0+2 into a system reference time for each value, i.e., into real times T1 and T2, respectively.
- the value of C0+1 represents a number of selected transitions of SCL clock signal 906 between the Time Sync Marker and a first selected transition of SCL clock signal 906 following the event 910
- the value of C0+2 represents a number of selected transitions of SCL clock signal 906 between the Time Sync Marker and a second selected transition of SCL clock signal 906 following the event 910.
- the master device 202 may then determine, along with T1 and T2, a system reference (real) time T of the event 910.
- both values of C1 and C2 are set to zeroes, and the real time T of the event 910 may be determined only based on the value of C0+1, i.e., the real time T of the event 910 may be equal to T1.
- multiple slave devices can initiate simultaneous operations (e.g., measurements) based on Time Sync triggering controlled by a master device via SDA bus. Based on this approach, additional communication channels between the master device and the slave devices can be eliminated.
- Embodiments of the present disclosure support usage of a time synchronization command broadcast by the master device that can start a timer at each slave device that triggers an event (e.g., measurement) at the end of a pre-determined time period.
- a time delay for a triggering event at each slave device can be set by a command communicated by the master device via SDA bus that may precede the time synchronization command.
- FIG. 10 is an example schematic of circuitry 1000 for implementation of delayed triggering at a slave device 204 illustrated in FIG. 2 , in accordance with embodiments of the present disclosure.
- the circuitry 1000 may be a part of the Time Tracking/Trigger Control circuit 214 of the slave device 204 shown in FIG. 2 .
- a master device 202 illustrated in FIG. 2 may control an exact time of a trigger generated at each slave device 204.
- a flip flop 1040 generates a sync pulse on a reset line 1002 when (Time) Sync CCC is detected at an input 1004, i.e., when the time synchronization command is detected.
- a falling edge of the sync pulse may represent a Time Sync Marker 1006 that aligns with a selected transition of SCL clock signal 1008 during 'T' bit of the time synchronization command (e.g., SDR Time Sync command 210 broadcast from the master device 202 shown in FIG. 2 ) following detection of the time synchronization command at the input 1004.
- the sync pulse present at the reset line 1002 may reset a counter 1010 to all zeroes.
- the counter 1010 may correspond to the counter 414 of the circuitry 400 shown in FIG. 4 .
- the counter 1010 increments on every selected transition of SCL clock signal 1010, and may provide a uniform time reference across all slave devices 204, wherein SCL clock signal 1008 may be generated and controlled by the master device 202.
- the circuit 1000 illustrated in FIG. 10 may be generally configured to track a number of selected transitions of SCL clock signal 1008 after the time synchronization command is detected and to generate a trigger signal responsive to the number of selected transitions of SCL clock signal 1008 reaching a delay setting indicated by delay setting information 1012, which can be provided by the master device 202 into a delay register 1014.
- the delay setting information 1012 may comprise coarse delay setting information 1016 and fine delay setting information 1018 that may be set in a command communicated by a the master device 202 via SDA bus prior to broadcasting Time Sync command.
- the coarse delay setting information 1016 indicates a trigger delay in the form of a number of selected transitions of SCL clock signal 1008 that are to occur between the Time Sync Marker 1006 and generation of the trigger signal.
- a comparator 1020 may be configured to compare the coarse delay setting information 1016 and a value 1022 of the counter 1010 representing a number of selected transitions of SCL clock signal 1008 occurred after the Time Sync Marker 1006. When the value 1022 of the counter 1010 is equal to the coarse delay setting information 1016 and a tracked number of selected transitions of SCL clock signal 1008 reaches the coarse delay setting information 1016, the output of the comparator 1024 becomes a logical '1'.
- flip flop 1050 causes enable signal 1026 to become logical '1' and enable operation of an oscillator and counter circuit 1028.
- the oscillator and counter circuit 1028 can be used in conjunction with the counter 1010 and the comparator 1024 to provide finer resolution for delayed triggering.
- the oscillator and counter circuit 1028 may correspond to the oscillator circuit 500 illustrated in FIG. 5 , which comprises the burst oscillator 502 and the counter 504.
- the oscillator and counter circuit 1028 When enabled by the enable signal 1026, the oscillator and counter circuit 1028 internally generates a burst oscillator signal 1030 with a frequency higher than a frequency of SCL clock signal 1008.
- the burst oscillator within the oscillator and counter circuit 1028 may generate the burst oscillator signal 1030, whereas the counter within the oscillator and counter circuit 1028 may keep track of a number of selected transitions of the burst oscillator signal 1030.
- the fine delay setting information 1018 indicates a trigger delay in the form of a number of selected transitions of the burst oscillator signal 1030 that are to occur between the enable signal 1026 and generation of the trigger signal.
- the 10 may correspond to the delayed trigger signal 238 generated by the Time Tracking/Trigger Control circuit 214 of the slave device 204 shown in FIG. 2 .
- the delayed trigger signal 238 may initiate operation of the transducer 240 coupled to the slave device 204 at an exact time instant controlled by the master device 202.
- FIG. 11 is an example diagram 1100 of controlling time of events at multiple slave devices by a master device, in accordance with embodiments of the present disclosure.
- a master device 1102 may provide to slave devices 1104 and 1106 delay setting information, i.e., delay setting information 1108 may be stored at a delay register 1110 of the slave device 1104, and delay setting information 1112 may be stored at a delay register 1114 of the slave device 1106.
- the delay register 1110 of the slave device 1104 and the delay register 1114 of the slave device 1106 may correspond to the delay register 1014 shown in FIG. 10 .
- delay setting information 1108 and 1112 may be communicated via SDA bus to the slave devices 1104 and 1106 via SDR commands sent from the master device 1102.
- the master device 1102 may correspond to the master device 202 from FIG. 2
- each slave device 1104, 1106 may correspond to the slave device 204 from FIG. 2 .
- the master device 1102 may broadcast via SDA bus a time synchronization command, Sync CCC 1116.
- a Time Sync Marker (not shown in FIG. 11 ) may be generated at each slave device, i.e., the slave devices 1104 and 1106 may be synchronized by clearing their respective counters.
- the slave devices 1104 and 1106 may track reference time that may be provided by the master device 1102 via SCL clock signal.
- the slave device 1104 may generate a trigger in the form of a trigger event 1118, which may be delayed by a specific reference time 1120 from the Time Sync Marker.
- the slave device 1106 may generate a trigger in the form of a trigger event 1122, which may be delayed by a specific reference time 1124 from the Time Sync Marker.
- a master device 202 illustrated in FIG. 2 may track system reference time, starting from Time Sync Marker indicated by a time synchronization command, in order to convert a time stamp of an event detected at a slave device 204 into a system (real) time that is referenced to a global clock signal being generated and controlled by the master device 202.
- FIG. 12 is an example schematic of circuitry 1200 implemented at the master device 202 for supporting time stamping, in accordance with embodiments of the present disclosure.
- the circuitry 1200 illustrated in FIG. 12 may correspond to the time tracking circuit 234 of the master device 202 shown in FIG. 2 .
- Flip flop 1202 generates a sync pulse on reset line 1204 when a Sync CCC broadcast is indicated by a signal at input 1206 having a high logic level.
- a falling edge of the sync pulse may represent a Time Sync Marker that aligns with a selected transition of SCL clock signal 1208 during 'T' bit of a time synchronization command detected at the input 1206.
- the sync pulse present at the reset line 1204 may reset a counter 1210 to all zeroes.
- the counter 1210 may correspond to the counter circuit 248 of the master device 202 shown in FIG. 2 .
- the counter 1210 increments on every selected transition of SCL clock signal 1208, and may provide a uniform time reference between the master device and all slave devices.
- SCL clock signal 1208 may be derived from a reference clock by the clock generator 260 from FIG. 2 and controlled by the master device 202.
- frequency changes of SCL clock signal 1208 may be stamped using a value 1212 of the counter 1210.
- a change of frequency (COF) signal 1214 that indicates a change of frequency of SCL clock signal 1208 becomes logical '1'
- the value 1212 of the counter 1210 may be stored into a latch 1216, indicated as value C0 in FIG. 12 .
- the value of C0 represents a number of selected transitions of SCL clock signal 1208 between the Time Sync Marker and a last selected transition of SCL clock signal 1208 prior to a first change of frequency of SCL clock signal 1208.
- the value C0 stored into the latch 1216 in FIG. 12 may correspond to the SCL count C0 stored in the latch 250 of the master device 202 upon COF signal 252 goes high.
- a register or look-up table 1218 may store information related to different periods associated with different frequencies of SCL clock signal 1208. For example, as illustrated in FIG. 12 , bits T(1,0) may encode duration of a period when a frequency of SCL clock signal 1208 is 12 MHz; bits T(0,1) may encode duration of a period when a frequency of SCL clock signal 1208 is 1 MHz; and bits T(0,0) may encode duration of a period when a frequency of SCL clock signal 1208 is 400 KHz.
- a value 1220 encoded by bits T(0:m) at the output of the register 1218 may be used in conjunction with the value of C0 stored in the latch 1216 to provide the relationship between a number of selected transitions of SCL clock signal 1208 and real time reference.
- COF signal 1214 that indicates a change of frequency of SCL clock signal 1208 becomes logical '1' the value 1220 encoded by bits T(0:m) at the output of the register 1218 may be stored into a latch 1222, indicated as value C1. Therefore, the value of C1 may represent a period of SCL clock signal 1208 prior to a change of frequency of SCL clock signal 1208.
- the latched values of C0 and C1 may provide information about system time reference between the Time Sync Marker and COF.
- a next selected transition of SCL clock signal 1208 may cause a flip flop 1224 to produce an interrupt (INT) signal 1226 initiating storage of the values C0 and C1 into a cache or register file.
- INT interrupt
- Clear signal 1228 may be pulsed, which may reset the latches 1216 and 1222, i.e., the latched values C0 and C1 are cleared after being stored into the cache or register file based on the INT signal 1226.
- the values of C0 and C1 stored into the cache or register file may correspond to CNT_1 and T1 values stored in the register file 254 of the master device 202 shown in FIG. 2 upon COF signal 252 goes high.
- the circuitry 1200 may continue to track a number of selected transitions of SCL clock signal 1208 following the first change of frequency of SCL clock signal 1208 until a next change of frequency of SCL clock signal 1208.
- the latched values C0 and C1 in FIG. 12 may provide information about reference time between the Time Sync Marker and that next change of frequency of SCL clock signal 1208 indicated by COF signal 1214. In this way, the master device 202 in FIG.
- SCL clock signal 1208 generated and controlled by the master device 202 starting at the Time Sync Marker, and utilize this reference time information to correlate it with a time stamp of an event detected at a slave device 204 for calculation of real time referenced to SCL clock signal 1208 of occurrence of the event detected at the slave device 204.
- the master device 202 stores a time of the Time Sync Marker and counts by the counter 1210 each selected transition of SCL clock signal 1208.
- the master device 202 stores, in the latches 1222 and 1216, a measure 1220 representing a frequency of SCL clock signal 1208 (i.e., value C1) and a count 1212 of selected transitions of SCL clock signal 1208 at which a frequency change of SCL clock signal 1208 occurs indicated by COF signal 1214 (i.e., value C0).
- COF signal 1214 i.e., value C0
- the stored values of C0 and C1 may be transferred from the latches 1216, 1222 into the cache or register file.
- the values of C0 and C1 transferred into the cache or register file may correspond to CNT_i and Ti values, respectively, which are stored in the register file 254 of the master device 202 each time when COF signal 252 goes high, providing reference time information.
- the master device 202 may receive, via SDA bus 206, the time stamp 224 of the event 222 detected at the slave device 204.
- the master device 202 may use reference time information stored in the register file 254, i.e., CNT i and Ti values, to reconstruct a time instant of any selected transition of SCL clock signal without actually storing the time of each such transition.
- the master device 202 When the master device 202 receives the SCL clock signal count or the time stamp 224 of the event 222 detected at the slave device 204, the master device 202 correlates, at the real time calculation unit 256, the time stamp 224 and the reference time information of the register file 254 to determine the exact time instant 258 of the event 222 with respect to the system reference clock.
- FIG. 13 is a diagram 1300 illustrating a method performed at a master device 202 illustrated in FIG. 2 for time stamping changes in SCL clock signal, which may be performed by the circuitry 1200 in FIG. 12 , in accordance with embodiments of the present disclosure.
- SCL clock signal 1302 driving SCL bus may change its frequency, which may be controlled by the master device 202.
- SCL clock signal 1302 may have no transitions, which corresponds to bus free condition.
- SCL clock signal 1302 is not periodic for a certain period of time during bus free condition, whereas SCL clock signal 1302 may become periodic again, as illustrated in FIG. 13 .
- SCL clock signal 1302 may become periodic again, as illustrated in FIG. 13 .
- the master device 202 may time stamp a last selected transition of SCL clock signal 1302 prior to a change of frequency of SCL clock signal 1302.
- a selected last transition 1304 related to a prior clock frequency 1306 of SCL clock signal 1302 may be time-stamped relative to a Time Sync Marker (not shown).
- a last selected transition of SCL clock signal 1302 for a next clock frequency 1308 is also time-stamped, i.e., a last high-to-low transition 1310 of SCL clock signal 1302 before bus free condition 1312 is time-stamped.
- the time stamp 1310 together with the time stamp 1304 indicates time between two consecutive changes of frequency of SCL clock signal 1302.
- bus free condition 1312 when SCL clock signal 1302 is not periodic can be also considered as a change of frequency of SCL clock signal 1302 as the frequency of SCL clock signal 1302 actually changes from non-zero frequency 1308 to zero.
- a high-to-low transition 1314 of SCL clock signal 1302 when transitioning from bus free condition 1312 to a new clock frequency 1316 is also time-stamped.
- the time stamp 1314 together with the time stamp 1310 indicates duration of the bus free condition 1312.
- a master device 202 illustrated in FIG. 2 can use the time-stamped selected transitions of SCL clock signal 1302 (e.g., the time-stamped transitions 1304, 1310, 1314, and so on) to determine a system reference time of any time-stamped event a slave device 204 had detected.
- the time stamps 1304, 1310, 1314 may correspond to the values CNT_i stored in the register file 254 of the master device 202.
- the master device 204 may correlate the time-stamp 224 of the event 222 detected at the slave device 204 with the time-stamped transitions 1304, 1310, 1314 of SCL clock signal including information about periods Ti of SCL clock signal, and determine by the real time calculation circuit 256 a system reference time 258 of the event.
- Embodiments of the present disclosure relate to a method for translation of a system time base at a master device to a local time base at a slave device for time stamping and delayed triggering.
- a master device 202 may be configured to generate a reference SCL clock signal 208 that is also available at one or more slave devices 204.
- the reference SCL clock signal 208 may have a certain resolution and may be translatable into a system time.
- the master device 202 may then provide an indication of synchronization in the form of Time Sync commands 210 and 300 shown in FIG. 2 and FIG. 3 on SDA bus 206.
- the master device 202 may also set a reference point on SDA bus 206, which can correspond to a selected transition of reference SCL clock signal 208 during Time Sync command.
- the reference point provided by the master device 202 may be received at each slave device 204 as Time Sync Marker aligned with a selected transition of reference SCL clock signal 208.
- each slave device 204 may track an amount of time that has passed in a local time reference.
- an indication of the amount of local time that has passed when the event was detected can be loaded into a register and/or can be send to SDA bus 206.
- each slave device 204 may generate a trigger signal at a time instant directly controlled by the master device 202 and referenced based on the system time base.
- Embodiments of the present disclosure further relate to a method for translation of a local time base at a slave device to a system time base at a master device for time stamping.
- One or more slave devices 204 may monitor for occurrence of an event.
- the occurrence of the event can be marked in a local time base, and time stamp of the event can be latched at the slave device 204.
- each slave device 204 may receive from the master device 202 via SDA bus 206 a reference point signal in a form of Time Sync Marker.
- the Time Sync Marker may be based on a reference clock, such as SCL clock signal 208, generated and controlled at the master device 202, and may be therefore translatable into a system-wide time base.
- a latency can be determined between a time when the Time Sync Marker is received at that slave device 204 and a time when the occurrence of the event is detected in the local time base. The latency corresponds to the time of the event in the local time base and can be reported to the master device 202.
- the master device 202 may determine respective times in the system-wide time base of occurrence of each of the events at slave devices 204.
- FIG. 14 is a flow chart illustrating a method 1400 for time stamping that may be performed at a master device 202 illustrated in FIG. 2 , in accordance with embodiments of the present disclosure.
- Operations of the method 1400 may begin by the master device 202 generating 1402 a clock signal (e.g., SCL clock signal 208) and a synchronization command, such as Time Sync command 210.
- a clock signal e.g., SCL clock signal 208
- a synchronization command such as Time Sync command 210.
- the master device 202 transmits 1404 the clock signal and the synchronization command via the communication link, such as the communication link 205 illustrated in FIG. 2 that comprises SCL line 208 and SDA line 206.
- the master device 202 receives 1406 timestamp information (e.g., time stamp 224) via the communication link, the timestamp information indicative of a number of selected transitions of the clock signal that elapse between the synchronization command and a time instant when an event is detected at the slave device (e.g., the event 222 detected at the slave device 204).
- timestamp information e.g., time stamp 224
- the timestamp information indicative of a number of selected transitions of the clock signal that elapse between the synchronization command and a time instant when an event is detected at the slave device (e.g., the event 222 detected at the slave device 204).
- the Time Tracking circuit 234 of the master device 202 tracks 1408 counts of selected transitions of the clock signal between the synchronization command and frequency changes of the clock signal occurring after the synchronization command.
- the real time calculation unit 256 of the master device 202 determines 1410 a time of the event detected at the slave device based on the timestamp information and the counts of the selected transitions of the clock signal.
- FIG. 15 is a flow chart illustrating a method 1500 for delayed triggering that may be performed at a slave device 204 illustrated in FIG. 2 , in accordance with embodiments of the present disclosure.
- Operations of the method 1500 may begin by the slave device 204 receiving 1502, via a communication link that carries a clock signal (e.g., SCL clock signal 208), a synchronization command (e.g., Time Sync command 210) and delay setting information that may be provided by the SDR command 210 generated by the master device 202 prior to the Time Sync command.
- a communication link may correspond to the communication link 205 that comprises SDA line 206 and SCL line 208.
- the Time Tracking/Trigger Control circuit 214 of the slave device 202 shown in more detail as the circuitry 1000 in FIG. 10 , tracks 1504 a number of selected transitions of the clock signal (e.g., falling edges of SCL clock signal 208) after the synchronization command.
- the slave device 204 generates 1506 a trigger signal, such as the delayed trigger 238, responsive to the number of selected transitions reaching a delay setting indicated by the delay setting information.
- FIG. 16 is a flow chart illustrating a method 1600 for delayed triggering that may be performed at a master device 202 illustrated in FIG. 2 , in accordance with embodiments of the present disclosure.
- Operations of the method 1600 may begin by the master device 202 transmitting 1602, via a communication link, a clock signal (e.g., SCL clock signal 208) and a synchronization command (e.g., Time Sync command 210).
- a clock signal e.g., SCL clock signal 208
- a synchronization command e.g., Time Sync command 210.
- the communication link may correspond to the communication link 205 that comprises SDA line 206 and SCL line 208.
- the master device 202 transmits 1604 delay setting information indicating a number of selected transitions of the clock signal that are to occur between the synchronization command and generation of a trigger signal (e.g., the delayed trigger 238) at one or more slave devices 204 coupled to the communication link.
- the delay setting information may comprise coarse and fine delay setting information located in the SDR command 210 generated by the master device 202 prior to the synchronization command.
- a software module is implemented with a computer program product comprising a computer-readable medium containing computer program code, which can be executed by a computer processor for performing any or all of the steps, operations, or processes described.
- Embodiments of the disclosure may also relate to an apparatus for performing the operations herein.
- This apparatus may be specially constructed for the required purposes, and/or it may comprise a general-purpose computing device selectively activated or reconfigured by a computer program stored in the computer.
- a computer program may be stored in a non-transitory, tangible computer readable storage medium, or any type of media suitable for storing electronic instructions, which may be coupled to a computer system bus.
- any computing systems referred to in the specification may include a single processor or may be architectures employing multiple processor designs for increased computing capability.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Information Transfer Systems (AREA)
- Bus Control (AREA)
Description
- The present disclosure generally relates to a low-speed bus message protocol, and more particularly relates to methods and circuitry for low-speed bus time stamping and triggering.
- Inter-Integrated Circuit (I2C) interface is typically used for attaching lower-speed peripheral Integrated Circuits (ICs) to higher-speed processors and microcontrollers. Lower-speed peripheral ICs are commonly referred to as slave devices, whereas a higher-speed processor or microcontroller is commonly referred to as a master device. Often, a slave device can be coupled to a peripheral device such as a sensor, a gyroscope, a compass, a microphone, and the like. The slave device can be configured to monitor and/or control operations of the peripheral device coupled to the slave device.
- In I2C message protocol, a simultaneous operation by two or more slave devices can utilize a common trigger signal (e.g., generated by a master device), which is independent of an I2C low-speed serial bus. Similarly, in order to determine when an event occurred (e.g., measurement performed by a peripheral device coupled to a slave device), each slave device uses a dedicated line feeding back to the master device for signaling to the master device a time when the event occurs. For each slave device, the master device can capture a state of a real time clock (i.e., time of event, or timestamp of event) when the master device receives an event marker signal from the slave device. The disadvantage of this approach is a number of additional communication lines (i.e., board traces) between the master device and the slave devices, and additional signal pins that are required.
-
US 2015/134996 A1 describes a method for synchronizing a first sensor clock of a first sensor. The exemplary method comprises: correcting the first sensor clock for a first time, transferring data from the first sensor, and correcting the first sensor clock for a second time, wherein a time interval between two corrections of the first sensor clock is selected such that the first sensor clock is sufficiently aligned with a processor clock of a processor over the time interval. - Certain embodiments of the present disclosure provide a system in accordance with
claim 1. The system generally includes a master device coupled to a communication link, the master device to transmit, via the communication link, a clock signal and a synchronization command, and one or more slave devices coupled to the communication link, each slave device to track a number of selected transitions of the clock signal between detection of the synchronization command at the slave device and detection of an event at the slave device, and generate information about an elapsed time between the detection of the synchronization command and the detection of the event by at least counting the number of selected transitions of the clock signal, and wherein the master device to obtain the information about the elapsed time and derive a time the event was detected at the slave device based on the information. - Certain embodiments of the present disclosure provide a method in accordance with claim 15. Preferable embodiments of the system and the method may include the additional features in accordance with one or more of the dependent claims.
-
-
FIG. 1 is a schematic diagram that illustrates I3C master device interfaced with multiple slave devices via I3C based communication link, in accordance with embodiments of the present disclosure. -
FIG. 2 is a schematic diagram of a system comprising a master device interfaced with a slave device via I3C based communication link for enabling time stamping and delayed triggering, in accordance with embodiments of the present disclosure. -
FIG. 3 illustrates an example time stamp synchronization command and waveforms of signals driving I3C serial buses in relation to the time stamp synchronization command, in accordance with embodiments of the present disclosure. -
FIG. 4 is an example schematic of circuitry for implementing time synchronization at a slave device, in accordance with embodiments of the present disclosure. -
FIG. 5 is an example schematic of an oscillator circuit that may be implemented at a slave device for improving resolution of time synchronization, in accordance with embodiments of the present disclosure. -
FIG. 6 is an example schematic of circuitry for implementation of time-stamping that may be implemented at a slave device, in accordance with embodiments of the present disclosure. -
FIG. 7 is an example diagram of capturing and reading time of events by a master device from multiple slave devices, in accordance with embodiments of the present disclosure. -
FIG. 8 is an example diagram of capturing and reading time of events by a master device and/or a monitor device from multiple slave devices, in accordance with embodiments of the present disclosure. -
FIG. 9 is an example schematic of circuitry for implementation of time-stamping at a slave device without an oscillator circuit (e.g., the oscillator circuit fromFIG. 5 ), in accordance with embodiments of the present disclosure. -
FIG. 10 is an example schematic of circuitry for implementation of delayed triggering at a slave device, in accordance with embodiments of the present disclosure. -
FIG. 11 is an example diagram of controlling time of events by a master device at multiple slave devices, in accordance with embodiments of the present disclosure. -
FIG. 12 is an example schematic of circuitry that may be implemented at a master device for supporting time stamping, in accordance with embodiments of the present disclosure. -
FIG. 13 is a diagram illustrating a method performed at a master device for time stamping changes in a reference clock signal, in accordance with embodiments of the present disclosure. -
FIG. 14 is a flow chart illustrating a method for time stamping that may be performed at a master device, in accordance with embodiments of the present disclosure. -
FIG. 15 is a flow chart illustrating a method for delayed triggering that may be performed at a slave device, in accordance with embodiments of the present disclosure. -
FIG. 16 is a flow chart illustrating a method for delayed triggering that may be performed at a master device, in accordance with embodiments of the present disclosure. - The figures depict embodiments of the present disclosure for purposes of illustration only. One skilled in the art will readily recognize from the following description that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles, or benefits touted, of the disclosure described herein.
- Embodiments of the present disclosure relate to synchronizing multiple slave devices operating in conjunction with a master device in accordance with a messaging protocol, such as the I3C message protocol, which is an enhanced version of the Inter-Integrated Circuit (I2C) message protocol. Synchronization of multiple slave devices presented herein can provide accurate time stamping of events detected at the slave devices, as well as efficient initiation of delayed triggered events at the multiple slave devices.
- Certain embodiments of the present disclosure support initiating simultaneous readings/operations of peripheral devices coupled to the slave devices. For example, methods and circuitry presented herein can synchronize measurements between a gyroscope and a magnetic compass (that are coupled to a pair of slave devices), while both the gyroscope and the magnetic compass are located on a rotating object. The methods and circuitry presented in this disclosure can also initiate delay triggered events on multiple slave devices, which can be useful for tomography.
- In accordance with embodiments of the present disclosure, multiple slave devices can initiate simultaneous operations (e.g., measurements) via 13C time synchronization triggering, as discussed in more detail below. In this way, the need for side channels to synchronize events can be eliminated. There is no concern for time units or local clock signals since all slave devices can be triggered simultaneously. More generally, embodiments of the present disclosure support usage of a time synchronization command that starts a timer at each slave device that triggers an event at an end of a pre-determined time period. A time delay for a triggering event at each slave device can be set by a directed command that may precede the time synchronization command.
- In the illustrative embodiment of the present disclosure, cell-phone based tomography can be considered. Each slave device may drive one transducer of an array of transducers (e.g., located at a back of a cellular phone), wherein the transducer generates an acoustic pulse (e.g., based on a trigger signal from the slave device) at the end of the aforementioned individual time delay interval (e.g., to control phase for beam-forming). Shortly thereafter, each transducer may receive a reflected waveform, wherein each feature of the reflected waveform (e.g., that is within a preset time aperture and within a present magnitude/derivative/second derivative limits, as defined by an earlier command) can be time-stamped, which is recorded in a register at the slave device. The master device may then poll each slave device and read back the stored time-stamped data. For example, after a certain number of triggering/time-stamping operations, there is sufficient operation to make an image of an interior of abdomen (or some other internal organ).
- In accordance with embodiments of the present disclosure, independent clock signals and counter circuits in different slave devices can be synchronized that are used to time-stamp their readings. In this way, events from different sensors can be accurately correlated in time. For example, a plurality of measurements produced by an array of I3C microphones can be correlated to determine a direction from which a sound (e.g., "clap") originates, wherein each microphone in the array can have its own clock signal.
- Embodiments of the present disclosure support utilizing a new common command code (CCC) serial bus command. i.e., "Time Sync" command for time synchronization. In some embodiments, a master device may issue Time Sync CCC to synchronize all slave devices to a particular selected transition (e.g., falling edge) of a clock signal driving a Serial Clock Line (SCL) bus. Each slave device may be configured to count all selected transitions of SCL signal after Time Sync CCC is detected, and may use selected transitions of SCL clock signal as time markers for time-stamping events. The master device may count all selected transitions of SCL clock signal after detecting Time Sync CCC while also monitoring a period of transitions of SCL clock signal against a (stable) time base. The master device may also monitor bus traffic for time-stamp data, collect the time-stamp data and perform calculations to determine timing of events (e.g., sensor measurements) detected at the slave devices against the time base. In other embodiments a monitor device separate from the master device may perform the counting of SCL transitions and collection of time stamped data.
- Embodiments of the present disclosure facilitate accurate time-stamping and triggering. In one or more embodiments, for time-stamping, a slave device may monitor a sensor and record a time (count) that a sensed event occurs. In one or more other embodiments, for triggering, a master device may issue a command for all slave devices in a group to initiate certain operations at a precise time (count). It should be noted that this may be initiation of a time-delay after which an action occurs, wherein the time-delay may be preset to different delay values on a per slave device basis.
-
FIG. 1 is a schematic diagram 100 that illustrates amaster device 102 interfaced withmultiple slave devices 104, in accordance with embodiments of the present disclosure. In one or more embodiments, eachslave device 104 may be a lower-speed peripheral integrated circuit (IC), whereas themaster device 102 may be a higher-speed processor or microcontroller. In an embodiment, themaster device 102 may be coupled to a realtime clock source 106 that generates aclock signal 108 for themaster device 102. In another embodiment, themaster device 102 may comprise an internal clock signal source for generating a clock signal. - As illustrated in
FIG. 1 , themaster device 102 may be interfaced with theslave devices 104 viacommunication link 110. In some embodiments, thecommunication link 110 is a two wire communication link that comprises a serial data line (SDA)bus 112 andSCL bus 114.SDA bus 112 is a single wire bus that may be employed to carry commands and/or data between themaster device 102 and theslave devices 104 using single ended signals in accordance with a communication protocol such as I3C.SCL bus 114 is a single wire bus that may be utilized to carry a single-ended clock signal (e.g., the clock signal 108) that may be generated and/or controlled by themaster device 102.Clock signal 108 is used as a timing reference for transmitting and receiving commands and/or data on theSDA bus 112. Eachslave device 104 may be coupled to a peripheral device (e.g., transducer, microphone, sensor, and the like) controlled by thatslave device 104. - For some embodiments, as discussed in more detail below, the
master device 102 may issue a time synchronization command viaSDA bus 112 to synchronize local counts of selected transitions of clock signals (e.g., falling edges of clock signals) indifferent slave devices 104 in order to accurately time-stamp readings (events) from devices (e.g., sensors) coupled to theslave devices 104. The time-stamped events locally stored at eachslave device 104 may be provided (e.g., via SDA bus 112) to themaster device 102 for calculation of a real time occurrence of each event, wherein a global real time can be accurately tracked by themaster device 102 based on transitions of the clock signal 108 (e.g., signal carried by SCL bus 114). In this way, events (e.g., measurements) from different sensors coupled todifferent slave devices 104 can be accurately correlated in time at themaster device 102. - For some other embodiments, as discussed in more detail below,
multiple slave devices 104 can initiate synchronized operations (e.g., measurements) via time synchronization triggering controlled by the master device 102 (e.g., by sending an appropriate command via SDA bus 112). Thus, the need for side communication channels between themaster device 102 and theslave devices 104 for synchronization of operations (events) can be eliminated. -
FIG. 2 is a schematic diagram of asystem 200 comprising amaster device 202 interfaced with aslave device 204 via acommunication link 205, which may enable time stamping and delayed triggering, in accordance with embodiments of the present disclosure. For some embodiments, themaster device 202 may correspond to themaster device 102 shown inFIG. 1 , and theslave device 204 may correspond to any of theslave devices 104 shown inFIG. 1 . Although oneslave device 204 is illustrated inFIG. 2 , embodiments of the present disclosure support interfacingmultiple slave devices 204 to themaster device 202. As illustrated inFIG. 2 , thecommunication link 205 may compriseSDA bus 206 andSCL bus 208. As further illustrated inFIG. 2 , themaster device 202 and theslave device 204 may both driveSDA bus 206, whereas only themaster device 202 may provide and control a clock signal that may be carried by SCL bus 208 (hereinafter referred as SCL clock signal 208). Theslave device 204 may communicate with themaster device 202 viaSDA bus 206, and theslave device 204 may utilizeSCL clock signal 208 for time-stamping of an event detected by theslave device 204 and/or for synchronized delayed triggering, as discussed in more detail below. - In some embodiments, the
master device 204 may broadcast via SDA bus 206 a Single Data Rate (SDR) command 210 to theslave device 204. In one or more embodiments, theSDR command 210 may comprise a Time Sync CCC. Upon decoding of the SDR command 210 (e.g., by decode logic 212), theslave device 204 may operate in accordance with the decodedSDR command 210. In an embodiment, Time Sync CCC may be detected at a Time Tracking/Trigger Control circuit 214. Based on the detected Time Sync CCC, a Time Sync Marker (not shown) may be generated by the Time Tracking/Trigger Control circuit 214 for start of time synchronization and time tracking until an event occurs and is detected, as discussed in more detail below. As illustrated inFIG. 2 , theslave device 204 may be coupled to asensor 216 that generates asensor output signal 218 indicative of a measurement of an environmental property. Anevent detector circuit 220 detects occurrence of an event from thesensor output signal 218, and generates anevent detection signal 222 that switches from a low logic level to a high logic level when the event is detected. - In some embodiments, the Time Tracking/
Trigger Control circuit 214 may be configured to time-stamp occurrence of the event (e.g., sensor measurement) 222 with reference to the start of time synchronization, which may be indicated by the Time Sync Marker (not shown). As discussed in more detail below, the Time Tracking/Trigger Control circuit 214 may perform time-stamping of theevent 222 based at least in part on selected transitions of SCL clock signal 208 (i.e., reference clock signal) that may be generated and controlled by themaster device 202. The Time Tracking/Trigger Control circuit 214 may store atime stamp 224 of theevent 222. As illustrated inFIG. 2 and discussed in more detail below, acommunication logic 226 may read a value of thetime stamp 224 and provide thetime stamp value 224 to SDA bus 206 (e.g., whenSDA bus 206 is free from other traffic). As further illustrated inFIG. 2 , thecommunication logic 226 and thedecode logic 212 represent aninterface 228 that couples theslave device 204 toSDA bus 206. - In some embodiments, prior to broadcasting the
SDR command 210 with Time Sync CCC, themaster device 202 may communicate (e.g., via SDA bus 206) other SDR command(s) to theslave device 204 with delay setting information that determines a time delay for generating a trigger signal by theslave device 204. As illustrated inFIG. 2 , a triggerdelay setting circuit 230 generatesdelay setting information 232, which indicates a trigger delay in the form of a number of selected transitions ofSCL clock signal 208 that are to occur between theSDR command 210 with the Time Sync CCC and generation of the trigger signal at theslave device 204. In an embodiment, the triggerdelay setting circuit 230 generatesdelay setting information 232 based on expected frequency changes ofSCL clock signal 208 that are to occur after theSDR command 210 with the Time Sync CCC. Information about the expected frequency changes ofSCL clock signal 208 are known at themaster device 202. Anencoder 234 of a masterdevice communication interface 236 encodes thedelay setting information 232 within theSDR command 210. TheSDR command 210 with the encodeddelay setting information 232 is then broadcast viaSDA bus 206 to one ormore slave devices 204 to initiate delayed trigger. As further illustrated inFIG. 2 , once thedecode logic 212 of theslave device 204 decodes the delay setting information provided by themaster device 202 within the SDR command 210 (e.g., coarse and fine delay settings) followed by the detection of Time Sync CCC encoded in anotherSDR command 210, the Time Tracking/Trigger Control circuit 214 may be configured to generate a delayedtrigger signal 238 with a time delay determined based on the provided delay setting information, as discussed in more detail below. In an embodiment, the delayedtrigger signal 238 may initiate operation (e.g., measurement) of a peripheral device coupled to theslave device 204, e.g., operation of anoutput transducer 240 coupled to theslave device 204. - In some embodiments, a time tracking circuit 242 of the
master device 202 illustrated inFIG. 2 may be configured to track real time starting from a Time Sync Marker generated uponSync signal 244. Theencoder 234 encodes Sync signal 244 to generate theSDR command 210 with Time Sync CCC, which may be then broadcast viaSDA bus 206 to one ormore slave devices 204 to initiate time synchronization. Sync CCC broadcast 246 (i.e., Time Sync CCC) may be also detected within the Time Tracking circuit 242, which may then generate the Time Sync Marker that indicates a start of tracking a system reference time at themaster device 202 based on tracking a number of selected transitions ofSLC clock signal 208. - In some embodiments, a
counter circuit 248 within the Time Tracking circuit 242 may be configured to keep track of the number of selected transitions (e.g., falling edges) ofSCL clock signal 208. For each frequency ofSCL clock signal 208, a number of selected transitions of SCL signal 208 (e.g., denoted inFIG. 2 as SCL count C0) may be saved into alatch 250, which may be controlled by a change of frequency (COF)signal 252. As discussed in more detail below, SCL count C0 may represent a number of selected transitions ofSCL clock signal 208 between the Time Sync Marker and a last selected transition (e.g., falling edge) ofSCL clock signal 208 prior to a change of frequency ofSCL clock signal 208. After every change of frequency ofSCL clock signal 208, an updated SCL count C0 may be stored in thelatch 250, which is controlled byCOF signal 252. The updated SCL count C0 may indicate a number of selected transitions ofSCL clock signal 208 between the Time Sync Marker and a last selected transition ofSCL clock signal 208 prior to a change of frequency ofSCL clock signal 208. Upon every change of frequency ofSCL clock signal 208 and based oncorresponding COF signal 252, a previous (old) value of SCL count C0 may be also saved in a register file (e.g., look-up table) 254. Thus, theregister file 254 may include different values of SCL count C0 (e.g., values CNT_1, CNT_2, ..., CNT_N) that correspond to N different frequencies ofSCL clock signal 208. Each value CNT_i stored in theregister file 254 may be also associated with a value Ti that encodes a period of each frequency ofSCL clock signal 208. Therefore, values of CNT_i and Ti (i=1, ..., N) stored in theregister file 254 may provide information about a system reference time from the Time Sync Marker. - In some embodiments, the
master device 202 may receive, viaSDA bus 206, information about thetime stamp 224 of theevent 222 detected at theslave device 204. Themaster device 202 may use information stored in theregister file 254 about the system reference time tracked from initiation of the Time Sync Marker to correlate it with the time stamp 224 (e.g., at real time calculation circuit 256) to determine an exact global (system)time 258 of occurrence of theevent 222. Thecalculated time 258 represents a global time that is measured based on selected transitions ofSCL clock signal 208 starting from initiation of the Time Sync Marker at themaster device 202. In an embodiment,SCL clock signal 208 may be generated at themaster device 202 by anadjustable clock generator 260, which may provide a frequency ofSCL clock signal 208 based on indication 262 (e.g., indication Ti) about a desired period ofSCL clock signal 208. - As discussed above, embodiments of the present disclosure support adding a new Time Stamp Sync CCC broadcast command into a message protocol. The
master device 202 may issue Time Stamp Sync command viaSDA bus 206 to synchronize one ormore slave devices 204 coupled toSDA bus 206 to a particular selected transition (e.g., falling edge) of a clock signal driving SCL bus.FIG. 3 illustrates an example TimeStamp Sync command 300 and waveforms of signals driving SDA and SCL buses in relation to the TimeStamp Sync command 300, in accordance with embodiments of the present disclosure. TimeStamp Sync command 300 may be initiated by themaster device 202 and broadcast to onemore slave devices 204 viaSDA bus 206. As illustrated inFIG. 3 , astart portion 302 of TimeStamp Sync command 300 may be followed by aBroadcast portion 304 indicated with value 0x7E). Towards the end of theBroadcast portion 304, the master device may signal a write operation ('W') to the slave device(s), wherein at least one slave device may respond to the write operation ('W') on SDA bus with an Acknowledgement (ACK), to acknowledge reception of theBroadcast portion 304 of TimeStamp Sync command 300. - As illustrated in
FIG. 3 , SDRcommand CCC portion 306 of TimeStamp Sync command 300 may follow theBroadcast portion 304. Command code 0x28 corresponds to a Time Stamp Sync command. A portion 308 (e.g., 'T' bit) may be associated with aspecific signal waveform 310 on SDA bus. During 'T' bit of TimeStamp Sync command 300, on a first selected transition (e.g., rising edge) of SCL clock signal, theslave device 204 may detectTime Sync CCC 312. The next selected transition (e.g., falling edge) of SCL clock signal may represent aTime Sync Marker 314, which is also detected at theslave device 204. As discussed in more detail below, theTime Sync Marker 314 may represent a time instant when synchronization of one ormore slave devices 204 with a system reference time base produced by themaster device 202 starts. As further illustrated inFIG. 3 , TimeStamp Sync command 300 may end with aportion 316 that initiates reading of data from theslave devices 204 via SDA bus. - In some embodiments, as discussed in more detail below, the
Time Sync Marker 314 provides a means for multiple slave devices to synchronize for timestamping events. TheTime Sync Marker 314 also allows multiple slave devices to initiate simultaneous operations (e.g., measurements) via Time Sync Triggering. As a result, the need for side channels between a master device and slave devices to synchronize events can be eliminated. It should be noted that in the triggering case there is no concern for time units or local clocks since all slave devices are triggered simultaneously. - In some other embodiments, time-stamping of an event detected at a slave device may be supported based on the
Time Sync Marker 314. As discussed in more detail below, a control circuit within the slave device may be initialized based on theTime Sync Marker 314, and may be configured to track a number of selected transitions of SCL clock signal. Once an event is detected, the number of tracked selected transitions of SCL clock signal may be saved in a slave device's local memory to be read back by a master device at a later time. The master device, which generates and controls the SCL clock signal, may also keep track of a number of selected transitions of the SCL clock signal, and may correlate its count with the saved time stamp count read back from the slave device in order to determine a global system time of occurrence of the event. -
FIG. 4 is an example schematic ofcircuitry 400 for implementing time synchronization at a slave device, such asslave device 204, in accordance with embodiments of the present disclosure. In some embodiments, thecircuitry 400 may be a part of the Time Tracking/Trigger Control circuit 214 illustrated inFIG. 2 . Aflip flop 420 outputs async pulse 402 ontoreset line 404 when (Time) Sync CCC is detected, i.e., when the rising edge ofpulse 406 is detected. Referring back toFIG. 2 , Sync CCC Detectedpulse 406 may be generated by thedecode logic 212 of theslave device 204 upon detection of atime synchronization command 210. A selected transition of thesync pulse 402, which is fallingedge 408 as shown inFIG. 4 , may represent the Time Sync Marker. Referring back toFIG. 3 , theTime Sync Marker 314 may align with a selected transition of SCL clock signal during the 'T' bit of TimeStamp Sync command 300 following the detection of Time Sync CCC. Thus, as illustrated inFIG. 4 , the Time Sync Marker may align with a selectedtransition 410 ofSCL clock signal 412 following the rising edge of thepulse 406 indicating detection of Sync CCC. - In some embodiments, the
sync pulse 402 present at thereset line 404 may reset acounter 414 to all zeroes, as illustrated bywaveforms 416 at the output of thecounter 414. Thecounter 414, after being reset to all zeroes, increments on every selected transition (e.g., on every falling edge) ofSCL clock signal 412. It can be noted that the approach presented herein and illustrated inFIG. 4 , which is based on thesync pulse 402 and the Time Sync Marker aligned with a selected transition of SCL clock signal (which can be controlled by a master device) provides a uniform time reference across all slave devices comprising thecircuitry 400 shown inFIG. 4 . - In some embodiments, a burst oscillator may be employed at a slave device to improve resolution of time-stamping and delayed triggering.
FIG. 5 is an example schematic of anoscillator circuit 500 that may be implemented at aslave device 204 for improving resolution of time synchronization, in accordance with embodiments of the present disclosure. In one or more embodiments, theoscillator circuit 500 may be a part of the Time Tracking/Trigger Control circuit 214 of theslave device 204 shown inFIG. 2 . - As illustrated in
FIG. 5 , theoscillator circuit 500 may comprise aburst oscillator 502 and acounter 504. Theburst oscillator 502 includes several serially connected inverters that generate a highspeed clock signal 506 when enablesignal 508 is at a high logic level. A frequency of the highspeed clock signal 506 is higher than a frequency of the SCL clock signal. Upon initiation by areset signal 510, thecounter 504 starts counting selected transitions of the highspeed clock signal 506. Output F(0) of theburst oscillator 502 and m bit outputs F(1:m) of thecounter 504 form anoutput 512 of theoscillator circuit 500. In one or more embodiments, theburst oscillator 502 may be configured to operate for a limited amount of time sufficient to make a certain number of measurements (e.g., one or two measurements) following detection of an event. Thus, theburst oscillator 502 consumes a limited amount of power. - In one embodiment, certain type of sensors (e.g., accelerometers, gyros) coupled to slave devices inherently have a relatively stable time base, and may use this time base to provide a clock signal that may be utilized to improve resolution of time-stamping and delayed triggering. Other sensors may not have stable time base and need to employ a local oscillator for generating a local clock signal. In an embodiment, the local oscillator at a slave device may be based on Phase Locked Loop (PLL) device that uses SCL clock signal as a reference clock to generate a synchronized and stable local clock of a higher frequency than SCL clock signal. However, this approach has the drawback of consuming continuous power and large silicon area.
-
FIG. 6 is an example schematic ofcircuitry 600 for implementation of time-stamping at aslave device 204 in accordance with embodiments of the present disclosure. Thecircuitry 600 may be a part of the Time Tracking/Trigger Control circuit 214 of theslave device 204 shown inFIG. 2 . As illustrated inFIG. 6 , thecircuitry 600 may comprise thecircuitry 400 fromFIG. 4 and theoscillator circuit 500 fromFIG. 5 . In some embodiments, thecircuitry 600 may be configured to implement a time stamp at aslave device 204, and theoscillator circuit 500 is utilized to increase resolution of the time stamp when compared to using only counts of selected transitions of SCL clock signal for the time stamp. - As discussed above with reference to the
circuitry 400 illustrated inFIG. 4 , a sync pulse (e.g., thesync pulse 402 shown inFIG. 4 ) present at areset line 602 may be generated when (Time) Sync CCC is detected, i.e., when a rising edge ofpulse 406 shown inFIG. 4 is detected at aninput 604. A falling edge of the sync pulse (e.g., thesync pulse 402 shown inFIG. 4 ) may represent the Time Sync Marker that aligns with a selected transition (e.g., fallingedge 410 shown inFIG. 4 ) ofSCL clock signal 606 during 'T' bit of Time Stamp Sync command (e.g., SDRTime Sync command 210 broadcast from themaster device 202 shown inFIG. 2 , Time Stamp Sync command 300 shown inFIG. 3 ) following the detection of Sync CCC at theinput 604. The sync pulse present at thereset line 602 may reset acounter 608 to all zeroes. In an embodiment, thecounter 608 may be thesame counter 414 of thecircuitry 400 shown inFIG. 4 . Thecounter 608 may be configured to increment on every selected transition (e.g., falling edge) ofSCL clock signal 606, and may provide a uniform time reference across all slave devices (e.g.,slave devices 104 illustrated inFIG. 1 ,multiple slave devices 204 shown inFIG. 2 ), whereinSCL clock signal 606 may be generated and controlled by a master device (e.g., themaster device 102 shown inFIG. 1 , themaster device 202 shown inFIG. 2 ). - In some embodiments, an
event 610 may be time stamped based at least in part on avalue 612 of thecounter 608. Upon detecting occurrence of theevent 610, thevalue 612 representing a number of selected transitions ofSCL clock signal 606 between the Time Sync Marker and a last selectedtransition 614 ofSCL clock signal 606 prior to detection of theevent 610 may be stored in a latch 616 (e.g., the value C0 shown inFIG. 6 may be stored in the latch 616). - In some embodiments, as discussed, the
oscillator circuit 500 may be used in conjunction with thecounter 608 to provide finer resolution for time-stamping. Theoscillator circuit 500 comprising aburst oscillator 502 fromFIG. 5 may be configured to generate a periodic oscillator signal having a frequency higher than a frequency ofSCL clock signal 606. As illustrated inFIG. 6 , upon detection of theevent 610,flip flop 618 generates an enablesignal 620 that activates theburst oscillator 502 within theoscillator circuit 500. Upon the activation based on the enable signal 620, theburst oscillator 502 of theoscillator circuit 500 may generate a high speed clock signal (oscillator signal) 506, and thecounter 504 of theoscillator circuit 500 may keep track of a number of selected transitions (e.g., falling edges) of theoscillator signal 506. - In one or more embodiments, a first selected
transition 622 ofSCL clock signal 606 immediately following detection of theevent 610 causes the output offlip flop 624 to go high, thereby initiating storage of avalue 626 at the output of the oscillator &counter circuit 500 in alatch 628. This value is shown as C1. The value of C1 represents a delay, in the form of a number of selected transitions of theoscillator signal 506, between detection of theevent 610 and the first selectedtransition 622 ofSCL clock signal 606 following the detection of theevent 610. - A next selected
transition 630 ofSCL clock signal 606 following the first selectedtransition 622 causes the output offlip flop 632 to go high. As a result, this initiates storage of anew value 626 at the output of the oscillator &counter circuit 500 in a latch 634. This value is shown as C2. The value of C2 represents a delay, in the form of a number of selected transitions of theoscillator signal 506, between detection of theevent 610 and the second selectedtransition 630 ofSCL clock signal 606 following the first selectedtransition 622. - In some embodiments, information about an elapsed time between the Time Sync Marker and detection of the event 610 (i.e., time stamp of the event 610) may be based on the stored values C0, C1 and C2. In one or more embodiments, the
time stamp 224 fromFIG. 2 may be calculated at aslave device 204 by a timestamp calculation circuit 636 shown inFIG. 6 as:time stamp 224. The information about the time stamp of theevent 610 may be communicated via theinterface 228 of theslave device 204 to amaster device 202 whenSDA bus 206 is available. In an embodiment, as illustrated inFIG. 6 , the time stamp value T0 defined by equation (1) may be also stored in adelay register 638 before being communicated to themaster device 202. Thedelay register 638 may keep the time stamp value T0 untilSDA bus 206 becomes available. -
FIG. 7 is an example diagram 700 of capturing and reading time of events by amaster device 702 frommultiple slave devices master device 702 may correspond to themaster device 202 shown inFIG. 2 , and each of theslave devices slave device 204 shown inFIG. 2 . As illustrated inFIG. 7 , themaster device 702 may broadcast aTime Sync CCC 708 to theslave devices slave devices time delays FIG. 7 ) generated whenSync CCC 708 is detected at theslave devices event 714 is detected at theslave device 704 and anevent 716 is detected at theslave device 706, a time delay represented as a number of selected transitions of SCL clock signal (not shown inFIG. 7 ) tracked at each slave device is latched, i.e., the event is time-stamped in each slave device and stored in a delay register. As illustrated inFIG. 7 , theslave device 704 may store the trackeddelay 710 as the time stamp of theevent 714 into thedelay register 718; theslave device 706 may store the trackeddelay 712 as the time stamp of theevent 716 into thedelay register 720. In one or more embodiments, thedelay register 718 of theslave device 704 and thedelay register 720 of theslave device 706 may correspond to thedelay register 638 illustrated inFIG. 6 . - In some embodiments, a
slave device 204 shown inFIG. 2 may need to wait for a bus free condition onSDA bus 206 before a slave device can initiate an interrupt to amaster device 202 shown inFIG. 2 . As illustrated inFIG. 7 ,slave devices traffic 722 on SDA bus is finished. Then, theslave device 706 may initiate an in-band interrupt (IBI) 724 signaling to themaster device 702 that thetime stamp 712 of theevent 716 is available to be read by themaster device 702. Upon reception of theIBI 724, themaster device 702 may send arequest 726 via SDA bus to theslave device 706 requesting to read information about thetime stamp 712 of theevent 716 that is stored in thedelay register 720 of theslave device 706. Upon reception of therequest 726, theslave device 706 may read 728 thetime stamp 712 from thedelay register 720 and provide, via SDA bus, information about thetime stamp 712 of theevent 716 to themaster device 702. After that, themaster device 702 may initiate another read 730 from thedelay register 720 of theslave device 704 that stores information about thetime stamp 710 of theevent 714. The information about thetime stamp 710 of theevent 714 may be then provided, via SDA bus, to themaster device 702. - In the illustrative embodiment shown in
FIG. 7 , theslave device 706 may have a higher priority than theslave device 704. Although theslave device 704 may also initiate IBI, in this case there is no opportunity for theslave device 704 to do so because themaster device 702 decides to read thetime stamp 710 of theevent 714 automatically in response to theIBI 724 received from theslave device 706. It should be also noted that because of thetraffic 722 followingSync CCC 708, SCL clock signal (not shown inFIG. 7 ) may toggle continuously before and after the detectedevents slave devices -
FIG. 8 is an example diagram 800 of capturing and reading time of events by amaster device 802 and amonitor device 808 frommultiple slave devices monitor device 808 may be interfaced via SDA bus and SCL bus with theslave devices master device 802, themonitor device 808 does not issue any commands nor generates/controls any clock signals. Instead, themonitor device 808 may simply monitor traffic on SDA bus and collect corresponding information communicated on the SDA bus by themaster device 802 and/or theslave devices master device 802 may correspond to themaster device 202 fromFIG. 2 , and eachslave device slave device 204 fromFIG. 2 . - As illustrated in
FIG. 8 , themaster device 802 may broadcastTime Sync CCC 810 to theslave devices track time delays FIG. 8 ) generated whenSync CCC 810 is detected at theslave devices Sync CCC 810 may be also detected by themonitor device 808. When anevent 816 is detected at theslave device 804 and anevent 818 is detected at theslave device 806, a time delay tracked at each slave device is latched, i.e., the event is time-stamped in each slave device and stored in a delay register. As illustrated inFIG. 8 , theslave device 804 may store the trackeddelay 812 between the Time Sync Marker and detection of theevent 816 into adelay register 820; theslave device 806 may store the trackeddelay 814 between the Time Sync Marker and theevent 818 into thedelay register 822. In one or more embodiments, thedelay register 820 of theslave device 804 and thedelay register 822 of theslave device 806 may correspond to thedelay register 638 illustrated inFIG. 6 . - As further illustrated in
FIG. 8 ,other traffic 824 may be provided on SDA bus by themaster device 802. Thesame traffic 824 may be also monitored by themonitor device 808. In some embodiments, each slave device may need to wait for a bus free condition on SDA bus before the slave device can initiate an interrupt to the master device. As illustrated inFIG. 8 , theslave devices traffic 824 on SDA bus is finished. Then, theslave device 806 may initiate IBI signaling 826 via SDA bus that thetime stamp 814 of theevent 818 is available to be read. The same interrupt 826 sent via SDA bus may be received by both themaster device 802 and themonitor device 808. Upon reception of the interrupt 826, themaster device 802 may provide, to theslave device 806, arequest 828 with an address of theslave device 806 requesting to read information about thetime stamp 814 of theevent 818 stored in thedelay register 822 of theslave device 806. Therequest 828 comprising the address of theslave device 806 may be also received by themonitor device 808. - Upon reception of the
request 828, theslave device 806 may read 830 thetime stamp 814 from thedelay register 822 and provide, via SDA bus, information about thetime stamp 814 of theevent 818 to themaster device 802. At the same time, since the information about thetime stamp 814 of theevent 818 is available at SDA bus, themonitor device 808 may also obtain thetime stamp 814 of theevent 818. After that, themaster device 802 may initiate, by sending arequest 832 with an address of theslave device 804, another read 834 from thedelay register 820 that stores information about thetime stamp 812 of theevent 816. Theaddress 832 of theslave device 804 may be also received by themonitor device 808 that monitors all traffic on SDA bus. The information about thetime stamp 812 of theevent 816 may be then provided, via SDA bus, to themaster device 802 and themonitor device 808. Upon reception of thetime stamp data slave devices master device 802 calculates time of theevents FIG. 8 ) generated and controlled by themaster device 802, as discussed in more detail herein in relation toFIG. 2 andFIG. 12 . - In some embodiments, the
master device 802 is not capable of processing thetime stamp data master device 802 does not support converting thetime stamp data monitor device 808 can be configured to handle processing of thetime stamp data slave devices master device 802 may still control SDA bus and SCL bus, as well as handle reads/writes/interrupts from/to theslave devices master device 802 does not handle the intricacies of time-stamping. Instead, themonitor device 808 is configured to convert the receivedtime stamp data events monitor device 808 is configured to keep track of selected transitions of SCL clock signal and time the transitions of SCL clock signal to its own accurate time base, in the same way that themaster device 802 would have done so, as discussed in more detail in relation toFIG. 2 andFIG. 12 . - When the
slave device 806initiates IBI 826 by pulling down SDA bus during a bus-idle state after thetraffic 824 is finished, themaster device 802 responds by toggling SCL clock signal and initiates read-back of thetime stamp information 814 from the slave device by sending therequest 828. However, themaster device 802 may ignore the receivedtime stamp information 814. Instead, themaster device 802 may rely on themonitor device 808 to also read the sametime stamp data 814 and use thetime stamp 814 to calculate an actual time of theevent 818 detected at theslave device 806. Similarly, themonitor device 808 utilizes thetime stamp 812 received from theslave device 804 and calculates a time of theevent 816 detected at theslave device 804. At a later time, themonitor device 808 may send information about times of theevents master device 802. - In the illustrative embodiment shown in
FIG. 8 , theslave device 806 may have a higher priority than theslave device 804. Although theslave device 804 may also initiate IBI, in this case there is no opportunity for theslave device 804 to do so because themaster device 802 decides to read thetime stamp 812 of theevent 816 automatically in response toIBI 826 received from theslave device 806. It should be noted that because of thetraffic 824 followingSync CCC 810, SCL clock signal (not shown inFIG. 8 ) may toggle continuously before and after the detectedevents slave devices -
FIG. 9 is an example schematic ofcircuitry 900 for implementation of time-stamping at a slave device, such as theslave device 204 shown inFIG. 2 without theoscillator circuit 500 fromFIG. 5 shown as a part of the time-stampingcircuitry 600 inFIG. 6 , in accordance with embodiments of the present disclosure. Thecircuitry 900 may be a part of the Time Tracking/Trigger Control circuit 214 of theslave device 204 shown inFIG. 2 . - As discussed above with reference to the
circuitry 400 illustrated inFIG. 4 , async pulse 402 present at areset line 902 may be generated when (Time) Sync CCC is detected, i.e., when a rising edge ofpulse 406 shown inFIG. 4 is detected at aninput 904. A falling edge of thesync pulse 402 may represent the Time Sync Marker that aligns with a selectedtransition 410 ofSCL clock signal 906 during 'T' bit of a Time Stamp Sync command (e.g., SDRTime Sync command 210 broadcast from themaster device 202 shown inFIG. 2 , Time Stamp Sync command 300 shown inFIG. 3 ) following detection of Sync CCC at theinput 904. The sync pulse present at thereset line 902 may reset acounter 908 to all zeroes. Thecounter 908 may correspond to thecounter 414 of thecircuitry 400 shown inFIG. 4 . Thecounter 908 may be configured to increment on every selected transition ofSCL clock signal 906, and may provide a uniform time reference across all slave devices whileSCL clock signal 906 may be generated and controlled by a master device. - In some embodiments, an
event 910 may be time stamped based at least in part on avalue 912 of thecounter 908. Upon detection of theevent 910, thevalue 912 representing a number of selected transitions ofSCL clock signal 906 between the Time Sync Marker and a last selected transition ofSCL clock signal 906 prior to detection of theevent 910 may be stored in alatch 914. As illustrated inFIG. 9 , the value C0 representing the number of selected transitions ofSCL clock signal 906 between the Time Sync Marker and detection of theevent 910 is stored in thelatch 914. - Since the
oscillator circuit 500 comprising theburst oscillator 502 fromFIG. 5 is not included in thecircuitry 900 illustrated inFIG. 9 , values of C1 and C2 associated with finer resolution of time-stamping are place-holders and set to zero. After reading time-stamp data 224 given by the value of C0 stored in thelatch 914 associated with the time of theevent 910, amaster device 202 illustrated inFIG. 2 may translate, by the realtime calculation unit 256, a value of C0+1 and a value of C0+2 into a system reference time for each value, i.e., into real times T1 and T2, respectively. In some embodiments, the value of C0+1 represents a number of selected transitions ofSCL clock signal 906 between the Time Sync Marker and a first selected transition ofSCL clock signal 906 following theevent 910, and the value of C0+2 represents a number of selected transitions ofSCL clock signal 906 between the Time Sync Marker and a second selected transition ofSCL clock signal 906 following theevent 910. Themaster device 202 may then determine, along with T1 and T2, a system reference (real) time T of theevent 910. Hence,FIG. 9 , both values of C1 and C2 are set to zeroes, and the real time T of theevent 910 may be determined only based on the value of C0+1, i.e., the real time T of theevent 910 may be equal to T1. - In accordance with embodiments of the present disclosure, as discussed above, multiple slave devices can initiate simultaneous operations (e.g., measurements) based on Time Sync triggering controlled by a master device via SDA bus. Based on this approach, additional communication channels between the master device and the slave devices can be eliminated. Embodiments of the present disclosure support usage of a time synchronization command broadcast by the master device that can start a timer at each slave device that triggers an event (e.g., measurement) at the end of a pre-determined time period. In one or more embodiments, a time delay for a triggering event at each slave device can be set by a command communicated by the master device via SDA bus that may precede the time synchronization command.
-
FIG. 10 is an example schematic ofcircuitry 1000 for implementation of delayed triggering at aslave device 204 illustrated inFIG. 2 , in accordance with embodiments of the present disclosure. Thecircuitry 1000 may be a part of the Time Tracking/Trigger Control circuit 214 of theslave device 204 shown inFIG. 2 . In some embodiments, amaster device 202 illustrated inFIG. 2 may control an exact time of a trigger generated at eachslave device 204. - A
flip flop 1040 generates a sync pulse on areset line 1002 when (Time) Sync CCC is detected at aninput 1004, i.e., when the time synchronization command is detected. A falling edge of the sync pulse may represent aTime Sync Marker 1006 that aligns with a selected transition ofSCL clock signal 1008 during 'T' bit of the time synchronization command (e.g., SDRTime Sync command 210 broadcast from themaster device 202 shown inFIG. 2 ) following detection of the time synchronization command at theinput 1004. The sync pulse present at thereset line 1002 may reset acounter 1010 to all zeroes. In an embodiment, thecounter 1010 may correspond to thecounter 414 of thecircuitry 400 shown inFIG. 4 . Thecounter 1010 increments on every selected transition ofSCL clock signal 1010, and may provide a uniform time reference across allslave devices 204, whereinSCL clock signal 1008 may be generated and controlled by themaster device 202. - The
circuit 1000 illustrated inFIG. 10 may be generally configured to track a number of selected transitions ofSCL clock signal 1008 after the time synchronization command is detected and to generate a trigger signal responsive to the number of selected transitions ofSCL clock signal 1008 reaching a delay setting indicated bydelay setting information 1012, which can be provided by themaster device 202 into adelay register 1014. In some embodiments, thedelay setting information 1012 may comprise coarsedelay setting information 1016 and finedelay setting information 1018 that may be set in a command communicated by a themaster device 202 via SDA bus prior to broadcasting Time Sync command. The coarsedelay setting information 1016 indicates a trigger delay in the form of a number of selected transitions ofSCL clock signal 1008 that are to occur between theTime Sync Marker 1006 and generation of the trigger signal. As illustrated inFIG. 10 , a comparator 1020 may be configured to compare the coarsedelay setting information 1016 and a value 1022 of thecounter 1010 representing a number of selected transitions ofSCL clock signal 1008 occurred after theTime Sync Marker 1006. When the value 1022 of thecounter 1010 is equal to the coarsedelay setting information 1016 and a tracked number of selected transitions ofSCL clock signal 1008 reaches the coarsedelay setting information 1016, the output of thecomparator 1024 becomes a logical '1'. As a result,flip flop 1050 causes enablesignal 1026 to become logical '1' and enable operation of an oscillator andcounter circuit 1028. The oscillator andcounter circuit 1028 can be used in conjunction with thecounter 1010 and thecomparator 1024 to provide finer resolution for delayed triggering. - For some embodiments, the oscillator and
counter circuit 1028 may correspond to theoscillator circuit 500 illustrated inFIG. 5 , which comprises theburst oscillator 502 and thecounter 504. When enabled by theenable signal 1026, the oscillator andcounter circuit 1028 internally generates aburst oscillator signal 1030 with a frequency higher than a frequency ofSCL clock signal 1008. As illustrated inFIG. 10 , upon activation of the oscillator andcounter circuit 1028 by theenable signal 1026, the burst oscillator within the oscillator andcounter circuit 1028 may generate theburst oscillator signal 1030, whereas the counter within the oscillator andcounter circuit 1028 may keep track of a number of selected transitions of theburst oscillator signal 1030. The finedelay setting information 1018 indicates a trigger delay in the form of a number of selected transitions of theburst oscillator signal 1030 that are to occur between theenable signal 1026 and generation of the trigger signal. Once the number of selected transitions of theburst oscillator signal 1030 represented by asignal 1032 at the output of the oscillator andcounter circuit 1028 reaches the fine delay setting 1018, acomparator 1034 causes the logic level of thetrigger signal 1036 to become a logical "1". Thetrigger signal 1036 switches logic states at an exact time instant controlled by themaster device 202 based on coarse and fine delay setting information. Thetrigger signal 1036 generated by thecircuitry 1000 illustrated inFIG. 10 may correspond to the delayedtrigger signal 238 generated by the Time Tracking/Trigger Control circuit 214 of theslave device 204 shown inFIG. 2 . The delayedtrigger signal 238 may initiate operation of thetransducer 240 coupled to theslave device 204 at an exact time instant controlled by themaster device 202. -
FIG. 11 is an example diagram 1100 of controlling time of events at multiple slave devices by a master device, in accordance with embodiments of the present disclosure. As illustrated inFIG. 11 , amaster device 1102 may provide toslave devices delay setting information 1108 may be stored at adelay register 1110 of theslave device 1104, anddelay setting information 1112 may be stored at adelay register 1114 of theslave device 1106. Thedelay register 1110 of theslave device 1104 and thedelay register 1114 of theslave device 1106 may correspond to thedelay register 1014 shown inFIG. 10 . In some embodiments, as discussed,delay setting information slave devices master device 1102. Themaster device 1102 may correspond to themaster device 202 fromFIG. 2 , and eachslave device slave device 204 fromFIG. 2 . - As further illustrated in
FIG. 11 , following communication ofdelay setting information master device 1102 may broadcast via SDA bus a time synchronization command,Sync CCC 1116. Upon detection ofSync CCC 1116 at theslave devices FIG. 11 ) may be generated at each slave device, i.e., theslave devices slave devices master device 1102 via SCL clock signal. When the tracked time at theslave device 1104 reaches thedelay setting information 1108, theslave device 1104 may generate a trigger in the form of atrigger event 1118, which may be delayed by a specific reference time 1120 from the Time Sync Marker. Similarly, when the tracked time at theslave device 1106 reaches thedelay setting information 1112, theslave device 1106 may generate a trigger in the form of atrigger event 1122, which may be delayed by a specific reference time 1124 from the Time Sync Marker. - In some embodiments, as discussed, a
master device 202 illustrated inFIG. 2 may track system reference time, starting from Time Sync Marker indicated by a time synchronization command, in order to convert a time stamp of an event detected at aslave device 204 into a system (real) time that is referenced to a global clock signal being generated and controlled by themaster device 202.FIG. 12 is an example schematic ofcircuitry 1200 implemented at themaster device 202 for supporting time stamping, in accordance with embodiments of the present disclosure. Thecircuitry 1200 illustrated inFIG. 12 may correspond to thetime tracking circuit 234 of themaster device 202 shown inFIG. 2 . -
Flip flop 1202 generates a sync pulse onreset line 1204 when a Sync CCC broadcast is indicated by a signal atinput 1206 having a high logic level. A falling edge of the sync pulse may represent a Time Sync Marker that aligns with a selected transition ofSCL clock signal 1208 during 'T' bit of a time synchronization command detected at theinput 1206. The sync pulse present at thereset line 1204 may reset acounter 1210 to all zeroes. Thecounter 1210 may correspond to thecounter circuit 248 of themaster device 202 shown inFIG. 2 . Thecounter 1210 increments on every selected transition ofSCL clock signal 1208, and may provide a uniform time reference between the master device and all slave devices. In an embodiment, when the master device controls SCL bus (e.g., as in SDR and Dual Data Rate (DDR) modes),SCL clock signal 1208 may be derived from a reference clock by theclock generator 260 fromFIG. 2 and controlled by themaster device 202. - In some embodiments, frequency changes of
SCL clock signal 1208 may be stamped using avalue 1212 of thecounter 1210. Once a change of frequency (COF)signal 1214 that indicates a change of frequency ofSCL clock signal 1208 becomes logical '1', thevalue 1212 of thecounter 1210 may be stored into alatch 1216, indicated as value C0 inFIG. 12 . In an embodiment, the value of C0 represents a number of selected transitions ofSCL clock signal 1208 between the Time Sync Marker and a last selected transition ofSCL clock signal 1208 prior to a first change of frequency ofSCL clock signal 1208. Referring back toFIG. 2 , the value C0 stored into thelatch 1216 inFIG. 12 may correspond to the SCL count C0 stored in thelatch 250 of themaster device 202 upon COF signal 252 goes high. - In some embodiments, a register or look-up table 1218 may store information related to different periods associated with different frequencies of
SCL clock signal 1208. For example, as illustrated inFIG. 12 , bits T(1,0) may encode duration of a period when a frequency ofSCL clock signal 1208 is 12 MHz; bits T(0,1) may encode duration of a period when a frequency ofSCL clock signal 1208 is 1 MHz; and bits T(0,0) may encode duration of a period when a frequency ofSCL clock signal 1208 is 400 KHz. Avalue 1220 encoded by bits T(0:m) at the output of theregister 1218 may be used in conjunction with the value of C0 stored in thelatch 1216 to provide the relationship between a number of selected transitions ofSCL clock signal 1208 and real time reference. OnceCOF signal 1214 that indicates a change of frequency ofSCL clock signal 1208 becomes logical '1', thevalue 1220 encoded by bits T(0:m) at the output of theregister 1218 may be stored into alatch 1222, indicated as value C1. Therefore, the value of C1 may represent a period ofSCL clock signal 1208 prior to a change of frequency ofSCL clock signal 1208. The latched values of C0 and C1 may provide information about system time reference between the Time Sync Marker and COF. - In some embodiments, as illustrated in
FIG. 12 , when thevalue 1212 indicating a number of selected transitions ofSCL clock signal 1208 between the Time Sync Marker and a change of frequency ofSCL clock signal 1208 and thevalue 1220 representing encoded period of a frequency ofSCL clock signal 1208 prior to the change of frequency are stored as values C0 and C1 respectively, a next selected transition ofSCL clock signal 1208 may cause aflip flop 1224 to produce an interrupt (INT) signal 1226 initiating storage of the values C0 and C1 into a cache or register file. After that,Clear signal 1228 may be pulsed, which may reset thelatches INT signal 1226. Referring back toFIG. 2 , the values of C0 and C1 stored into the cache or register file may correspond to CNT_1 and T1 values stored in theregister file 254 of themaster device 202 shown inFIG. 2 upon COF signal 252 goes high. - Referring back to
FIG. 12 , after thelatches circuitry 1200 may continue to track a number of selected transitions ofSCL clock signal 1208 following the first change of frequency ofSCL clock signal 1208 until a next change of frequency ofSCL clock signal 1208. The latched values C0 and C1 inFIG. 12 may provide information about reference time between the Time Sync Marker and that next change of frequency ofSCL clock signal 1208 indicated byCOF signal 1214. In this way, themaster device 202 inFIG. 2 can track reference time based onSCL clock signal 1208 generated and controlled by themaster device 202 starting at the Time Sync Marker, and utilize this reference time information to correlate it with a time stamp of an event detected at aslave device 204 for calculation of real time referenced toSCL clock signal 1208 of occurrence of the event detected at theslave device 204. - Starting from the time of synchronization represented by the Time Sync Marker, the
master device 202 stores a time of the Time Sync Marker and counts by thecounter 1210 each selected transition ofSCL clock signal 1208. Themaster device 202 stores, in thelatches measure 1220 representing a frequency of SCL clock signal 1208 (i.e., value C1) and acount 1212 of selected transitions ofSCL clock signal 1208 at which a frequency change ofSCL clock signal 1208 occurs indicated by COF signal 1214 (i.e., value C0). UponINT 1226 initiated byCOF signal 1214, the stored values of C0 and C1 may be transferred from thelatches FIG. 2 , the values of C0 and C1 transferred into the cache or register file may correspond to CNT_i and Ti values, respectively, which are stored in theregister file 254 of themaster device 202 each time when COF signal 252 goes high, providing reference time information. In some embodiments, as discussed, themaster device 202 may receive, viaSDA bus 206, thetime stamp 224 of theevent 222 detected at theslave device 204. Themaster device 202 may use reference time information stored in theregister file 254, i.e., CNT i and Ti values, to reconstruct a time instant of any selected transition of SCL clock signal without actually storing the time of each such transition. When themaster device 202 receives the SCL clock signal count or thetime stamp 224 of theevent 222 detected at theslave device 204, themaster device 202 correlates, at the realtime calculation unit 256, thetime stamp 224 and the reference time information of theregister file 254 to determine theexact time instant 258 of theevent 222 with respect to the system reference clock. -
FIG. 13 is a diagram 1300 illustrating a method performed at amaster device 202 illustrated inFIG. 2 for time stamping changes in SCL clock signal, which may be performed by thecircuitry 1200 inFIG. 12 , in accordance with embodiments of the present disclosure. As illustrated inFIG. 13 ,SCL clock signal 1302 driving SCL bus may change its frequency, which may be controlled by themaster device 202. Furthermore, for some period of time,SCL clock signal 1302 may have no transitions, which corresponds to bus free condition. Thus,SCL clock signal 1302 is not periodic for a certain period of time during bus free condition, whereasSCL clock signal 1302 may become periodic again, as illustrated inFIG. 13 . As discussed above in relation to thecircuitry 1200 illustrated inFIG. 12 , themaster device 202 may time stamp a last selected transition ofSCL clock signal 1302 prior to a change of frequency ofSCL clock signal 1302. As illustrated inFIG. 13 , a selectedlast transition 1304 related to aprior clock frequency 1306 ofSCL clock signal 1302 may be time-stamped relative to a Time Sync Marker (not shown). After that, a last selected transition ofSCL clock signal 1302 for anext clock frequency 1308 is also time-stamped, i.e., a last high-to-low transition 1310 ofSCL clock signal 1302 before busfree condition 1312 is time-stamped. Thetime stamp 1310 together with thetime stamp 1304 indicates time between two consecutive changes of frequency ofSCL clock signal 1302. It should be noted that busfree condition 1312 whenSCL clock signal 1302 is not periodic can be also considered as a change of frequency ofSCL clock signal 1302 as the frequency ofSCL clock signal 1302 actually changes fromnon-zero frequency 1308 to zero. Thus, a high-to-low transition 1314 ofSCL clock signal 1302 when transitioning from busfree condition 1312 to anew clock frequency 1316 is also time-stamped. Thetime stamp 1314 together with thetime stamp 1310 indicates duration of the busfree condition 1312. - In some embodiments, as discussed, a
master device 202 illustrated inFIG. 2 can use the time-stamped selected transitions of SCL clock signal 1302 (e.g., the time-stampedtransitions slave device 204 had detected. Thetime stamps register file 254 of themaster device 202. Themaster device 204 may correlate the time-stamp 224 of theevent 222 detected at theslave device 204 with the time-stampedtransitions system reference time 258 of the event. - Embodiments of the present disclosure relate to a method for translation of a system time base at a master device to a local time base at a slave device for time stamping and delayed triggering. Referring back to
FIG. 2 , amaster device 202 may be configured to generate a referenceSCL clock signal 208 that is also available at one ormore slave devices 204. In one or more embodiments, the referenceSCL clock signal 208 may have a certain resolution and may be translatable into a system time. Themaster device 202 may then provide an indication of synchronization in the form of Time Sync commands 210 and 300 shown inFIG. 2 andFIG. 3 onSDA bus 206. By providing the indication of synchronization, themaster device 202 may also set a reference point onSDA bus 206, which can correspond to a selected transition of referenceSCL clock signal 208 during Time Sync command. The reference point provided by themaster device 202 may be received at eachslave device 204 as Time Sync Marker aligned with a selected transition of referenceSCL clock signal 208. In some embodiments, as discussed, in response to receiving the reference point, eachslave device 204 may track an amount of time that has passed in a local time reference. In response to detecting an event at thatslave device 204, an indication of the amount of local time that has passed when the event was detected can be loaded into a register and/or can be send toSDA bus 206. In addition, based on the reference point provided by themaster device 202 and the referenceSCL clock signal 208, eachslave device 204 may generate a trigger signal at a time instant directly controlled by themaster device 202 and referenced based on the system time base. - Embodiments of the present disclosure further relate to a method for translation of a local time base at a slave device to a system time base at a master device for time stamping. One or
more slave devices 204 may monitor for occurrence of an event. At eachslave device 204, as discussed, the occurrence of the event can be marked in a local time base, and time stamp of the event can be latched at theslave device 204. Before starting monitoring for occurrence of an event, eachslave device 204 may receive from themaster device 202 via SDA bus 206 a reference point signal in a form of Time Sync Marker. The Time Sync Marker may be based on a reference clock, such asSCL clock signal 208, generated and controlled at themaster device 202, and may be therefore translatable into a system-wide time base. At eachslave device 204, a latency can be determined between a time when the Time Sync Marker is received at thatslave device 204 and a time when the occurrence of the event is detected in the local time base. The latency corresponds to the time of the event in the local time base and can be reported to themaster device 202. In some embodiments, as discussed, themaster device 202 may determine respective times in the system-wide time base of occurrence of each of the events atslave devices 204. -
FIG. 14 is a flow chart illustrating amethod 1400 for time stamping that may be performed at amaster device 202 illustrated inFIG. 2 , in accordance with embodiments of the present disclosure. - Operations of the
method 1400 may begin by themaster device 202 generating 1402 a clock signal (e.g., SCL clock signal 208) and a synchronization command, such asTime Sync command 210. - The
master device 202 transmits 1404 the clock signal and the synchronization command via the communication link, such as thecommunication link 205 illustrated inFIG. 2 that comprisesSCL line 208 andSDA line 206. - The
master device 202 receives 1406 timestamp information (e.g., time stamp 224) via the communication link, the timestamp information indicative of a number of selected transitions of the clock signal that elapse between the synchronization command and a time instant when an event is detected at the slave device (e.g., theevent 222 detected at the slave device 204). - The
Time Tracking circuit 234 of themaster device 202, shown in more detail as thecircuitry 1200 inFIG. 12 ,tracks 1408 counts of selected transitions of the clock signal between the synchronization command and frequency changes of the clock signal occurring after the synchronization command. - The real
time calculation unit 256 of themaster device 202 determines 1410 a time of the event detected at the slave device based on the timestamp information and the counts of the selected transitions of the clock signal. -
FIG. 15 is a flow chart illustrating amethod 1500 for delayed triggering that may be performed at aslave device 204 illustrated inFIG. 2 , in accordance with embodiments of the present disclosure. - Operations of the
method 1500 may begin by theslave device 204 receiving 1502, via a communication link that carries a clock signal (e.g., SCL clock signal 208), a synchronization command (e.g., Time Sync command 210) and delay setting information that may be provided by theSDR command 210 generated by themaster device 202 prior to the Time Sync command. In some embodiments, as discussed, the communication link may correspond to thecommunication link 205 that comprisesSDA line 206 andSCL line 208. - The Time Tracking/
Trigger Control circuit 214 of theslave device 202, shown in more detail as thecircuitry 1000 inFIG. 10 , tracks 1504 a number of selected transitions of the clock signal (e.g., falling edges of SCL clock signal 208) after the synchronization command. - The
slave device 204 generates 1506 a trigger signal, such as the delayedtrigger 238, responsive to the number of selected transitions reaching a delay setting indicated by the delay setting information. -
FIG. 16 is a flow chart illustrating amethod 1600 for delayed triggering that may be performed at amaster device 202 illustrated inFIG. 2 , in accordance with embodiments of the present disclosure. - Operations of the
method 1600 may begin by themaster device 202 transmitting 1602, via a communication link, a clock signal (e.g., SCL clock signal 208) and a synchronization command (e.g., Time Sync command 210). In some embodiments, as discussed, the communication link may correspond to thecommunication link 205 that comprisesSDA line 206 andSCL line 208. - The
master device 202 transmits 1604 delay setting information indicating a number of selected transitions of the clock signal that are to occur between the synchronization command and generation of a trigger signal (e.g., the delayed trigger 238) at one ormore slave devices 204 coupled to the communication link. In some embodiments, as discussed, the delay setting information may comprise coarse and fine delay setting information located in theSDR command 210 generated by themaster device 202 prior to the synchronization command. - The foregoing description of the embodiments of the disclosure has been presented for the purpose of illustration; it is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Persons skilled in the relevant art can appreciate that many modifications and variations are possible in light of the above disclosure.
- Some portions of this description describe the embodiments of the disclosure in terms of algorithms and symbolic representations of operations on information. These algorithmic descriptions and representations are commonly used by those skilled in the data processing arts to convey the substance of their work effectively to others skilled in the art. These operations, while described functionally, computationally, or logically, are understood to be implemented by computer programs or equivalent electrical circuits, microcode, or the like. Furthermore, it has also proven convenient at times, to refer to these arrangements of operations as modules, without loss of generality. The described operations and their associated modules may be embodied in software, firmware, hardware, or any combinations thereof.
- Any of the steps, operations, or processes described herein may be performed or implemented with one or more hardware or software modules, alone or in combination with other devices. In one embodiment, a software module is implemented with a computer program product comprising a computer-readable medium containing computer program code, which can be executed by a computer processor for performing any or all of the steps, operations, or processes described.
- Embodiments of the disclosure may also relate to an apparatus for performing the operations herein. This apparatus may be specially constructed for the required purposes, and/or it may comprise a general-purpose computing device selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a non-transitory, tangible computer readable storage medium, or any type of media suitable for storing electronic instructions, which may be coupled to a computer system bus. Furthermore, any computing systems referred to in the specification may include a single processor or may be architectures employing multiple processor designs for increased computing capability.
- Finally, the language used in the specification has been principally selected for readability and instructional purposes, and it may not have been selected to delineate or circumscribe the inventive subject matter. It is therefore intended that the scope of the disclosure be limited not by this detailed description, but rather by any claims that issue on an application based hereon. Accordingly, the disclosure of the embodiments is intended to be illustrative, but not limiting, of the scope of the disclosure, which is set forth in the following claims.
Claims (15)
- A system (200) comprising:a master device (102, 202) coupled to a communication link (110, 205), the master device (102, 202) to transmit, via the communication link (110, 205), a clock signal (108, 208) and a synchronization command (210); andone or more slave devices (104, 204) coupled to the communication link (110, 205), characterized in that each slave device (104, 204) to:track a number of selected transitions of the clock signal (108, 208) between detection of the synchronization command (210) at the slave device (104, 204) and detection of an event (222) at the slave device (104, 204), andgenerate information about an elapsed time (224) between the detection of the synchronization command (210) and the detection of the event (222) by at least counting the number of selected transitions of the clock signal (108, 208),the master device (102, 202) to:obtain the information about the elapsed time (224), andderive a time (258) the event (222) was detected at the slave device (104, 204) based on the information (224).
- The system (200) of claim 1, wherein the master device (102, 202) is to receive the information about the elapsed time (224), and to determine the time (258) the event (222) was detected at the slave device (104, 204) based on the received information about the elapsed time (224) and numbers of selected transitions of the clock signal (108, 208) occurring between frequency changes of the clock signal (108, 208) that are tracked at the master device (102, 202).
- The system (200) of claim 1, wherein the communication link (110, 205) comprises a single clock line (208) that carries the clock signal (108, 208) and a single data line (206) that carries the synchronization command (210).
- The system (200) of claim 1, wherein:the one or more slave devices (104, 204) comprise a plurality of slave devices (104),each slave device (104, 204) of the plurality of slave devices (104) is coupled to a corresponding sensor (216), and the event (222) detected at a slave device (204) corresponds to detection of physical phenomena by the corresponding sensor (216).
- The system (200) of claim 1, wherein:each slave device (104, 204) comprises an oscillator circuit (500) to generate an oscillator signal (506) having a frequency higher than a frequency of the clock signal (108, 208, 606), andeach slave device (104, 204) is to count a number of selected transitions of the oscillator signal (506) occurring after the event (222) is detected at the slave device (104, 204) and to generate the information about the elapsed time (224) based on the number of selected transitions of the oscillator signal (506).
- The system (200) of claim 1, wherein:the slave device (104, 204, 706) is to generate an interrupt (724) responsive to detection of the event (222, 716) at the slave device (104, 204, 706);the master device (102, 202, 702) is to generate, responsive to the interrupt (724), a request (726) for reading the information about the elapsed time (224, 712) from a register (720) of the slave device (104, 204, 706);the slave device (104, 204, 706) is to generate, in response to the request (726), the information about the elapsed time (224, 712) for the master device (102, 202, 702); andthe master device (102, 202, 702) is to store, in a register of the master device (102, 202, 702), the information about the elapsed time (224, 712) obtained from the slave device (104, 204, 706) via the communication link (110, 205).
- The system (200) of claim 1, wherein:the slave device (104, 204, 806) is to generate an interrupt (826) responsive to detection of the event (222, 818) at the slave device (104, 204, 806);the master device (102, 202, 802) is to generate, responsive to the interrupt (826), a request (828) for reading the information about the elapsed time (224, 814) from a register (830) of the slave device (104, 204, 806) and to generate another request (832) for reading other timestamp information (224, 812) from a register (834) of another slave device (104, 204, 804) of the one or more slave devices (104);the slave device (104, 204, 806) is to generate, in response to the request (828), the information about the elapsed time (224, 814) for the master device (102, 202, 802);the another slave device (104, 204, 804) is to generate, in response to the another request (832), the other timestamp information (224, 812) for the master device (102, 202, 802);the master device (102, 202, 802) is to store, in a register of the master device (102, 202, 802), the information about the elapsed time (224, 814) obtained via the communication link (110, 205) from the slave device (104, 204, 806); andthe master device (102, 202, 802) is to store, in another register of the master device (102, 202, 802), the other timestamp information (224, 812) obtained via the communication link (110, 205) from the another slave device (104, 204, 804).
- The system (200) of claim 7, further comprising:
a monitor device (808) coupled to the communication link (110, 205), the monitor device to (808):receive the information about the elapsed time (224, 814) and store the information about the elapsed time (224, 814) into a register of the monitor device (808);receive the other timestamp information (224, 812) and store the other timestamp information (224, 812) into another register of the monitor device (808); andsend the information about the elapsed time (224, 814) and the other timestamp information (224, 812) to the master device (102, 202, 802). - The system (200) of claim 1, wherein the master device (102, 202) comprises:an interface circuit (236) for coupling to the communication link (110, 205), the interface circuit (236) to:transmit, via the communication link (110, 205), the clock signal (108, 208) and the synchronization command (210); andreceive, via the communication link (110, 205), timestamp information (224) indicative of the number of selected transitions of the clock signal (108, 208) that elapse between the synchronization command (210) and a time instant when the event (222) is detected at that slave device (104, 204);a time tracking circuit (242) to track counts of selected transitions of the clock signal (108, 208) between the synchronization command (210) and frequency changes of the clock signal (108, 208) occurring after the synchronization command (210); anda time calculation circuit (256) to determine the time (258) of the event (222) detected at that slave device (104, 204) based on the timestamp information (224) and the counts of the selected transitions of the clock signal (108, 208).
- The system (200) of claim 9, wherein:the time tracking circuit (242) is to count a first number of selected transitions of the clock signal (108, 208) between the synchronization command (210) and a first frequency change of the clock signal (108, 208) and to count a second number of selected transitions of the clock signal (108, 208) between the synchronization command (210) and a second frequency change of the clock signal (108, 208), andthe time calculation circuit (256) is to determine the time (258) of the event (222) based on the first count of selected transitions of the clock signal (108, 208) and the second count of selected transitions of the clock signal (108, 208).
- The system (200) of claim 10, wherein:the time tracking circuit (242) is to store information about a period of the clock signal (108, 208) prior to the first frequency change of the clock signal (108, 208) and to store information about a second period of the clock signal (108, 208) prior to the second frequency change of the clock signal (108, 208), andthe time calculation circuit (256) is to determine the time (258) of the event (222) further based on the first period of the clock signal (108, 208) and the second period of the clock signal (108, 208).
- The system (200) of claim 9, wherein the communication link (110, 205) comprises a single wire clock line (208) that carries the clock signal (108, 208) and a single wire data line (206) that carries the synchronization command (210), and the interface circuit (236) is configured to couple to the single wire clock line (208) and the single wire data line (206).
- The system (200) of claim 9, wherein the interface circuit (236) is to:receive, via the communication link (110, 205), an interrupt (724) from that slave device (104, 204, 706);transmit, via the communication link (110, 205) in response to the received interrupt (724), a request (726) for reading the timestamp information (224, 712) from a register (728) of that slave device (104, 204, 706); andstore, in a register of the master device (102, 202, 702), the timestamp information (224, 712) obtained via the communication link (110, 205).
- The system (200) of claim 9, wherein the interface circuit (236) is to:receive, via the communication link (110, 205), an interrupt (826) from that slave device (104, 204, 806);transmit, via the communication link (110, 205) in response to the received interrupt (826), a request (828) for reading the timestamp information (224, 814) from a register (830) of that slave device (104, 204, 806) and another request (832) for reading other timestamp information (224, 812) from a register (834) of another slave device (104, 204, 804) of the one or more slave devices (104);receive, via the communication link (110, 205), the timestamp information (224, 814) from that slave device (104, 204, 806) responsive to the request (828) and the other timestamp information (224, 812) from the another slave device (104, 204, 804) responsive to the another request (832);store, in a register of the master device (102, 202, 802), the timestamp information (224, 814) obtained via the communication link (110, 205); andstore, in another register of the master device (102, 202, 802), the other timestamp information (224, 812) obtained via the communication link (110, 205).
- A method (1400) comprising:transmitting (1404), by a master device (102, 202) via a communication link (110, 205), the clock signal (108, 208) and a synchronization command (210);tracking (1408), by each slave device (104, 204) of one or more slave devices (104, 204) coupled to the communication link (110, 205), a number of selected transitions of the clock signal (108, 208) between detection of the synchronization command (210) at the slave device (104, 204) and detection of an event (222) at the slave device (104, 204);generating, by each slave device (104, 204) of the one or more slave devices (104, 204), information about an elapsed time (224) between the detection of the synchronization command (210) and the detection of the event (222) by at least counting the number of selected transitions of the clock signal (108, 208);obtaining, by the master device (102, 202), the information about the elapsed time (224); andderiving, by the master device (102, 202), a time (258) the event (222) was detected at the slave device (104, 204) based on the information (224).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP20150677.1A EP3657344B1 (en) | 2015-07-20 | 2016-07-18 | Low-speed bus time stamp methods and circuitry |
Applications Claiming Priority (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201562194733P | 2015-07-20 | 2015-07-20 | |
US201562208041P | 2015-08-21 | 2015-08-21 | |
US201562209999P | 2015-08-26 | 2015-08-26 | |
US201562217180P | 2015-09-11 | 2015-09-11 | |
PCT/US2016/042827 WO2017015222A1 (en) | 2015-07-20 | 2016-07-18 | Low-speed bus time stamp methods and circuitry |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP20150677.1A Division EP3657344B1 (en) | 2015-07-20 | 2016-07-18 | Low-speed bus time stamp methods and circuitry |
EP20150677.1A Division-Into EP3657344B1 (en) | 2015-07-20 | 2016-07-18 | Low-speed bus time stamp methods and circuitry |
Publications (3)
Publication Number | Publication Date |
---|---|
EP3326073A1 EP3326073A1 (en) | 2018-05-30 |
EP3326073A4 EP3326073A4 (en) | 2019-03-20 |
EP3326073B1 true EP3326073B1 (en) | 2020-04-08 |
Family
ID=57834566
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP20150677.1A Active EP3657344B1 (en) | 2015-07-20 | 2016-07-18 | Low-speed bus time stamp methods and circuitry |
EP16828374.5A Active EP3326073B1 (en) | 2015-07-20 | 2016-07-18 | Low-speed bus time stamp methods and circuitry |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP20150677.1A Active EP3657344B1 (en) | 2015-07-20 | 2016-07-18 | Low-speed bus time stamp methods and circuitry |
Country Status (6)
Country | Link |
---|---|
US (2) | US10466738B2 (en) |
EP (2) | EP3657344B1 (en) |
JP (2) | JP6449518B2 (en) |
KR (1) | KR101912135B1 (en) |
CN (2) | CN107851081B (en) |
WO (1) | WO2017015222A1 (en) |
Families Citing this family (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6846111B2 (en) * | 2016-02-26 | 2021-03-24 | オムロン株式会社 | Master device, slave device, information processing device, event log collection system, master device control method, slave device control method, and control program |
US10872055B2 (en) * | 2016-08-02 | 2020-12-22 | Qualcomm Incorporated | Triple-data-rate technique for a synchronous link |
US20180224887A1 (en) * | 2017-02-06 | 2018-08-09 | Qualcomm Incorporated | Apparatus and method for asynchronous event timestamping |
US20180285292A1 (en) * | 2017-03-28 | 2018-10-04 | Qualcomm Incorporated | System and method of sending data via additional secondary data lines on a bus |
DE102017209132A1 (en) * | 2017-05-31 | 2018-12-06 | Robert Bosch Gmbh | Sensor data processing means |
US10863469B2 (en) * | 2017-10-11 | 2020-12-08 | Google Llc | System and method for accurate timestamping of virtual reality controller data |
TWI654521B (en) * | 2018-04-26 | 2019-03-21 | 技嘉科技股份有限公司 | Lighting fake card module |
US10969821B2 (en) * | 2018-05-29 | 2021-04-06 | Xilinx, Inc. | Latency synchronization across clock domains |
GB201810478D0 (en) * | 2018-06-26 | 2018-08-08 | Nordic Semiconductor Asa | Precision timing between systems |
EP4310516A3 (en) * | 2018-06-28 | 2024-04-24 | Synaptec Limited | Methods and apparatus for making a time-synchronised phasor measurement |
US11249536B2 (en) * | 2018-12-17 | 2022-02-15 | Qualcomm Incorporated | Reducing power consumption of communication interfaces by clock frequency scaling and adaptive interleaving of polling |
US10824188B2 (en) * | 2019-01-14 | 2020-11-03 | Groq, Inc. | Multichip timing synchronization circuits and methods |
WO2020217286A1 (en) * | 2019-04-22 | 2020-10-29 | 三菱電機株式会社 | Time synchronization system, master device, slave device, and program |
US10606794B1 (en) * | 2019-05-14 | 2020-03-31 | Infineon Technologies Ag | Clock signal monitor for slave device on a master-slave bus |
GB2586496A (en) * | 2019-08-21 | 2021-02-24 | Univ Oxford Innovation Ltd | Method and apparatus for synchronisation and data transmission |
AT522764B1 (en) * | 2019-08-29 | 2021-01-15 | Plasser & Theurer Export Von Bahnbaumaschinen Gmbh | Method and measuring vehicle for determining the actual position of a track |
EP3839695A1 (en) * | 2019-12-19 | 2021-06-23 | Microsoft Technology Licensing, LLC | Method and apparatus for synchronizing two systems |
US11405173B2 (en) * | 2020-01-30 | 2022-08-02 | Roku, Inc. | Receiver for high precision synchronization in a shared medium |
US10999176B1 (en) * | 2020-02-16 | 2021-05-04 | Mellanox Technologies Tlv Ltd. | Burst score |
KR20230069192A (en) * | 2020-10-12 | 2023-05-18 | 바이에리쉐 모토렌 베르케 악티엔게젤샤프트 | Verification of time synchronization |
US11513994B2 (en) * | 2021-01-14 | 2022-11-29 | Qualcomm Incorporated | Timed-trigger synchronization enhancement |
CN113009248A (en) * | 2021-02-08 | 2021-06-22 | 天津云遥宇航科技有限公司 | Test method, test equipment and test system |
TWI748892B (en) * | 2021-03-08 | 2021-12-01 | 瑞昱半導體股份有限公司 | Clock synchronization system and method for operating a clock synchronization system |
JP7621146B2 (en) * | 2021-03-18 | 2025-01-24 | ローム株式会社 | Power System |
US11625064B2 (en) * | 2021-08-16 | 2023-04-11 | Qualcomm Incorporated | Systems and methods for sleep clock edge-based global counter synchronization in a chiplet system |
CN114114210B (en) * | 2021-11-25 | 2022-08-26 | 武汉市聚芯微电子有限责任公司 | Timestamp data read-write circuit and ranging system |
EP4258124A1 (en) | 2022-04-08 | 2023-10-11 | Melexis Technologies SA | Synchronous electronic circuit devices |
US11929750B2 (en) * | 2022-08-05 | 2024-03-12 | Ams-Osram Ag | Device with clock terminal and method for operating a device |
CN117155530B (en) * | 2023-09-19 | 2024-09-24 | 成都立思方信息技术有限公司 | Trigger synchronization precision improving method of cascade trigger system |
Family Cites Families (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4986183A (en) * | 1989-10-24 | 1991-01-22 | Atlas Powder Company | Method and apparatus for calibration of electronic delay detonation circuits |
US6512990B1 (en) * | 2000-01-05 | 2003-01-28 | Agilent Technologies, Inc. | Distributed trigger node |
JP2001267890A (en) | 2000-03-22 | 2001-09-28 | Hitachi Ltd | Clock generation device, bus interface control device, and information processing device |
US20030084360A1 (en) * | 2001-08-21 | 2003-05-01 | Grant David Alexander | Method of synchronizing and phase staggering two or more sampled data systems |
US6759911B2 (en) * | 2001-11-19 | 2004-07-06 | Mcron Technology, Inc. | Delay-locked loop circuit and method using a ring oscillator and counter-based delay |
US6687185B1 (en) * | 2002-08-29 | 2004-02-03 | Micron Technology, Inc. | Method and apparatus for setting and compensating read latency in a high speed DRAM |
US6727740B2 (en) * | 2002-08-29 | 2004-04-27 | Micron Technology, Inc. | Synchronous mirror delay (SMD) circuit and method including a ring oscillator for timing coarse and fine delay intervals |
DE10333934A1 (en) * | 2003-07-25 | 2005-02-17 | Robert Bosch Gmbh | Synchronization of data processing units |
US7660963B2 (en) * | 2004-06-14 | 2010-02-09 | Nxp B.V. | Interface device for debugging and/or tracing a computer system comprising one or multiple masters and one or multiple slaves working together |
GB2424093B (en) * | 2005-03-08 | 2007-01-17 | Elan Digital Systems Ltd | Instrument and communications controller for instrument |
US7170819B2 (en) * | 2005-05-04 | 2007-01-30 | Infineon Technologies Ag | Integrated semiconductor memory device for synchronizing a signal with a clock signal |
US7461190B2 (en) * | 2005-08-11 | 2008-12-02 | P.A. Semi, Inc. | Non-blocking address switch with shallow per agent queues |
US7558156B2 (en) * | 2006-01-06 | 2009-07-07 | Agilent Technologies, Inc. | Acoustic location and enhancement |
DE102008062865B4 (en) * | 2008-05-30 | 2016-09-22 | Continental Teves Ag & Co. Ohg | Serial peripheral interface interface with reduced number of connection lines |
JP5166203B2 (en) * | 2008-10-24 | 2013-03-21 | 株式会社日立製作所 | Sensor network system, sensor node, and base station |
US8224602B2 (en) * | 2008-11-11 | 2012-07-17 | Nxp B.V. | Automatic on-demand prescale calibration across multiple devices with independent oscillators over an I2C Bus interface |
JP5458719B2 (en) * | 2009-07-24 | 2014-04-02 | 日本電気株式会社 | Clock synchronization system, communication apparatus, method and program |
CN102035639B (en) * | 2009-09-30 | 2014-09-17 | 华为技术有限公司 | Time synchronization method, device and system |
US8205017B2 (en) * | 2009-11-17 | 2012-06-19 | Aptina Imaging Corporation | Systems and methods for addressing and synchronizing multiple devices |
JP5430469B2 (en) | 2010-03-31 | 2014-02-26 | 三菱電機株式会社 | Master device, slave device, time synchronization method, and program |
US8868960B2 (en) * | 2010-07-02 | 2014-10-21 | International Business Machines Corporation | Synchronous clock stop in a multi nodal computer system |
US8731002B2 (en) | 2011-03-25 | 2014-05-20 | Invensense, Inc. | Synchronization, re-synchronization, addressing, and serialized signal processing for daisy-chained communication devices |
US10439848B2 (en) * | 2011-10-07 | 2019-10-08 | Audinate Pty Limited | Systems, methods, and devices for networking over high impedance cabling |
DE102012207138A1 (en) * | 2012-04-27 | 2013-10-31 | Robert Bosch Gmbh | Sensor time synchronization |
US20140003564A1 (en) * | 2012-06-27 | 2014-01-02 | Broadcom Corporation | Multichip synchronization system |
US9960873B2 (en) * | 2013-02-22 | 2018-05-01 | Telefonaktiebolaget Lm Ericsson (Publ) | Time synchronous pluggable transceiver |
US9292036B2 (en) * | 2013-05-24 | 2016-03-22 | Arm Limited | Data processing apparatus and method for communicating between a master device and an asynchronous slave device via an interface |
US9436214B2 (en) * | 2013-11-12 | 2016-09-06 | Qualcomm Incorporated | System and methods of reducing energy consumption by synchronizing sensors |
US20170041688A1 (en) * | 2013-11-12 | 2017-02-09 | Qualcomm Incorporated | Apparatus and methods for timestamping in a system synchronizing controller and sensors |
JP6018040B2 (en) | 2013-12-26 | 2016-11-02 | Necプラットフォームズ株式会社 | Clock supply system, clock buffer group and control method |
CN104155640B (en) * | 2014-08-15 | 2016-08-17 | 中国科学院上海技术物理研究所 | A kind of laser radar echo Full wave shape harvester possessing sampled point timi requirement |
US10764026B2 (en) * | 2015-07-20 | 2020-09-01 | Lattice Semiconductor Corporation | Acoustic gesture recognition systems and methods |
CN109891843B (en) * | 2016-09-08 | 2022-03-08 | 美国莱迪思半导体公司 | Computer-implemented method and system for executing computer-implemented method |
US20180224887A1 (en) * | 2017-02-06 | 2018-08-09 | Qualcomm Incorporated | Apparatus and method for asynchronous event timestamping |
-
2016
- 2016-07-18 EP EP20150677.1A patent/EP3657344B1/en active Active
- 2016-07-18 JP JP2018502805A patent/JP6449518B2/en active Active
- 2016-07-18 KR KR1020187005002A patent/KR101912135B1/en active Active
- 2016-07-18 CN CN201680043146.1A patent/CN107851081B/en active Active
- 2016-07-18 WO PCT/US2016/042827 patent/WO2017015222A1/en active Application Filing
- 2016-07-18 EP EP16828374.5A patent/EP3326073B1/en active Active
- 2016-07-18 US US15/742,850 patent/US10466738B2/en active Active
- 2016-07-18 CN CN202011556392.1A patent/CN112650355A/en active Pending
-
2018
- 2018-12-05 JP JP2018227937A patent/JP6731996B2/en active Active
-
2019
- 2019-09-24 US US16/581,715 patent/US10884452B2/en active Active
Non-Patent Citations (1)
Title |
---|
None * |
Also Published As
Publication number | Publication date |
---|---|
EP3326073A1 (en) | 2018-05-30 |
JP6731996B2 (en) | 2020-07-29 |
JP2019061709A (en) | 2019-04-18 |
JP6449518B2 (en) | 2019-01-09 |
CN112650355A (en) | 2021-04-13 |
WO2017015222A1 (en) | 2017-01-26 |
KR101912135B1 (en) | 2018-10-26 |
KR20180023024A (en) | 2018-03-06 |
JP2018523236A (en) | 2018-08-16 |
US10466738B2 (en) | 2019-11-05 |
CN107851081B (en) | 2021-01-15 |
US20200019209A1 (en) | 2020-01-16 |
US20180196465A1 (en) | 2018-07-12 |
EP3657344B1 (en) | 2024-04-10 |
EP3326073A4 (en) | 2019-03-20 |
CN107851081A (en) | 2018-03-27 |
EP3657344A1 (en) | 2020-05-27 |
US10884452B2 (en) | 2021-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10884452B2 (en) | Low-speed bus triggering methods and circuitry | |
US20170041127A1 (en) | Acoustic gesture recognition systems and methods | |
JP2018523236A5 (en) | ||
US10863469B2 (en) | System and method for accurate timestamping of virtual reality controller data | |
JP2008525761A5 (en) | ||
JP4354650B2 (en) | Tracking method and tracking system of distance fluctuation calculated from ultrasonic time of flight | |
KR20180074684A (en) | Apparatus and methods for synchronizing controllers and sensors | |
CN112865902A (en) | Data acquisition and time synchronization method and device, electronic equipment and storage medium | |
US20130346022A1 (en) | Physical quantity measuring apparatus and physical quantity measuring method | |
DE60015939D1 (en) | METHOD AND CIRCUIT TO RECEIVE DATA CLOCKED AT TWO ENDS | |
CN208780221U (en) | The timing update the system of sensor | |
TWI488047B (en) | One wire signal transmission apparatus and method | |
JP2009077042A5 (en) | ||
JP2010212763A (en) | Data reproduction device | |
JP4741937B2 (en) | Distance measuring system and distance measuring method | |
JP5383856B2 (en) | Transmitter circuit | |
JP2000138588A (en) | Pulse width signal converting circuit | |
JP3347987B2 (en) | Serial communication controller | |
TW200719154A (en) | USB apparatus | |
JP5195759B2 (en) | Object detection device | |
JP2003198519A (en) | Clock generating method and clock generator | |
KR101313273B1 (en) | Time stamping apparatus and method for network timing synchronization | |
JP2006266788A (en) | Radio altimeter | |
JP2010249560A (en) | Ultrasonic flow meter and flow measurement method | |
JP2006311326A (en) | Data transmitting circuit and method, data transmitter and data receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
17P | Request for examination filed |
Effective date: 20180112 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
AX | Request for extension of the european patent |
Extension state: BA ME |
|
DAV | Request for validation of the european patent (deleted) | ||
DAX | Request for extension of the european patent (deleted) | ||
A4 | Supplementary search report drawn up and despatched |
Effective date: 20190219 |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: G06F 13/42 20060101AFI20190213BHEP |
|
GRAP | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOSNIGR1 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: GRANT OF PATENT IS INTENDED |
|
INTG | Intention to grant announced |
Effective date: 20191111 |
|
GRAS | Grant fee paid |
Free format text: ORIGINAL CODE: EPIDOSNIGR3 |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE PATENT HAS BEEN GRANTED |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
REG | Reference to a national code |
Ref country code: CH Ref legal event code: EP Ref country code: AT Ref legal event code: REF Ref document number: 1255316 Country of ref document: AT Kind code of ref document: T Effective date: 20200415 |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R096 Ref document number: 602016033793 Country of ref document: DE |
|
REG | Reference to a national code |
Ref country code: IE Ref legal event code: FG4D |
|
REG | Reference to a national code |
Ref country code: NL Ref legal event code: MP Effective date: 20200408 |
|
REG | Reference to a national code |
Ref country code: LT Ref legal event code: MG4D |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: SE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: LT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: NL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: IS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200808 Ref country code: PT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200817 Ref country code: GR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200709 Ref country code: FI Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: NO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200708 |
|
REG | Reference to a national code |
Ref country code: AT Ref legal event code: MK05 Ref document number: 1255316 Country of ref document: AT Kind code of ref document: T Effective date: 20200408 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: LV Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: HR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: BG Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200708 Ref country code: RS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: AL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R097 Ref document number: 602016033793 Country of ref document: DE |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: CZ Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: RO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: IT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: ES Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: AT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: DK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: SM Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: EE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: SK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: MC Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: PL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 |
|
REG | Reference to a national code |
Ref country code: CH Ref legal event code: PL |
|
26N | No opposition filed |
Effective date: 20210112 |
|
REG | Reference to a national code |
Ref country code: BE Ref legal event code: MM Effective date: 20200731 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: CH Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20200731 Ref country code: LI Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20200731 Ref country code: LU Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20200718 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: BE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20200731 Ref country code: SI Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20200718 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: TR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: MT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 Ref country code: CY Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20200408 |
|
P01 | Opt-out of the competence of the unified patent court (upc) registered |
Effective date: 20230929 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20240729 Year of fee payment: 9 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: GB Payment date: 20240729 Year of fee payment: 9 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: FR Payment date: 20240725 Year of fee payment: 9 |