WO2014001765A1 - Data transfer between clock domains - Google Patents
Data transfer between clock domains Download PDFInfo
- Publication number
- WO2014001765A1 WO2014001765A1 PCT/GB2013/051608 GB2013051608W WO2014001765A1 WO 2014001765 A1 WO2014001765 A1 WO 2014001765A1 GB 2013051608 W GB2013051608 W GB 2013051608W WO 2014001765 A1 WO2014001765 A1 WO 2014001765A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- clock
- clock domain
- arrangement
- data signal
- frequency
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0008—Synchronisation information channels, e.g. clock distribution lines
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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 OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F5/00—Methods or arrangements for data conversion without changing the order or content of the data handled
- G06F5/06—Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4027—Coupling between buses using bus bridges
- G06F13/405—Coupling between buses using bus bridges where the bridge performs a synchronising function
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
- H04L27/2601—Multicarrier modulation systems
- H04L27/2647—Arrangements specific to the receiver only
- H04L27/2655—Synchronisation arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/707—Spread spectrum techniques using direct sequence modulation
- H04B1/7073—Synchronisation aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
- H04B1/7156—Arrangements for sequence synchronisation
Definitions
- the invention also provides a method of transferring a data signal from a first clock domain to a second clock domain in a digital system, wherein the first clock domain comprises a first clock having a frequency less than a frequency of a second clock in the second clock domain, the method comprising:
- the data signal is simply transferred from the first clock domain to the second clock domain but a check is carried out as to whether or not a clock transition occurred in the first clock within the predetermined period. If a transition is detected, the data signal from the first clock domain is transferred again to the second clock domain, otherwise the initial transfer of the signal is deemed to have been "safe", i.e. there is no risk of meta-stability.
- the first clock domain comprises a first bus
- the second clock domain comprises a second bus
- data is transferred from the first bus to the second bus, both initially and if a subsequent transfer is deemed necessary. It also means that embodiments of the invention do not need to introduce the latency associated with serial flip flops or other arrangements typically used to match clock domains in the prior art.
- the edge detector is, as mentioned above, conveniently clocked by the second clock.
- the detecting means is clocked by the second clock
- the frequency of the first clock is 32 kHz and the frequency of the second clock is 16 MHz.
- the arrangement simply generates a "safe" synchronisation signal in order to determine whether or not it needs to transfer the data again from the first clock domain to the second clock domain again. It therefore does not matter as to the state of the data signal, which can change during the predetermined period, i.e. it is the value of the data signal in the first clock domain at the end of, or at another time during, the predetermined period which is transferred to the second clock domain if there has been a transition in the first clock cycle, which will generally mean that the value of the data signal will have changed. If there is no transition in the first clock cycle during the predetermined period, the data signal remains that which was transferred initially as generally this will mean that the data signal has not changed value.
- the system is in a steady state until at 565 ns the initialisation signal, start_sync, changes from zero to one, thus triggering the start of the synchronisation process.
- the initialisation signal will be generated by the second clock domain (generally controlling a higher power peripheral device) when it exits a sleep mode in order to request transfer of the data from the first clock domain (generally a lower power timing circuit).
- the down counter 4 is clocked by the next rising edge of the second clock, ck fast, causing it to start counting down from three, i.e. at 625 ns the output, sync_cnt, from the down counter 4 changes to three. It is necessary for the down counter 4 to count down from three because the positive edge detector 2 takes two cycles of the second clock, ck fast, for a positive transition to be detected, i.e. for the necessary logic signals to be passed through its flip-flops.
- a load_bus_fast value of one which is fed to the selector input of the multiplexer 18 causes the data signal, which is now hC, in the first bus, bus_slow, to be fed to the D input of the flip-flop 20, such that on the next rising edge of the second clock, ck fast, the data signal hC is transferred to the second bus, busjast.
- the frequency of the first clock, ck slow is sufficiently low to ensure that the transfer of the data signal is completed before a further positive transition in the first clock will occur.
- sync_cnt from the down counter 4 has reached zero, which causes the value of the first output 8 from the decision node 6 to be one, indicating that the system is ready to receive a new initialisation signal, i.e. the signal, ready, is equal to one.
- the data signal stored in the flip-flop 20 is a valid and stable value which can then be used in the system as data synchronised to the second clock, ck fast, e.g. output to the second bus, busjast, at this rising edge of the second clock, ck fast, as described above.
- the second and third outputs 10, 12 from the decision node 6 are zero when the output, sync_cnt, from the down counter 4 is zero, so no new data signal can be transferred from the first bus, bus_slow, to the flip-flop 20 at this time.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Information Transfer Systems (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Manipulation Of Pulses (AREA)
Priority Applications (5)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US14/411,208 US9515812B2 (en) | 2012-06-27 | 2013-06-20 | Data transfer between clock domains |
| CN201380034642.7A CN104412222B (zh) | 2012-06-27 | 2013-06-20 | 用于时钟域之间数据传输的设备 |
| EP13731452.2A EP2847664B1 (en) | 2012-06-27 | 2013-06-20 | Data transfer between clock domains |
| KR1020157002135A KR20150037900A (ko) | 2012-06-27 | 2013-06-20 | 클록 도메인 사이의 데이터 전송 |
| JP2015519327A JP6192065B2 (ja) | 2012-06-27 | 2013-06-20 | クロック・ドメイン間のデータ転送 |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| GB1211425.2A GB2503473A (en) | 2012-06-27 | 2012-06-27 | Data transfer from lower frequency clock domain to higher frequency clock domain |
| GB1211425.2 | 2012-06-27 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014001765A1 true WO2014001765A1 (en) | 2014-01-03 |
Family
ID=46704315
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/GB2013/051608 Ceased WO2014001765A1 (en) | 2012-06-27 | 2013-06-20 | Data transfer between clock domains |
Country Status (8)
| Country | Link |
|---|---|
| US (1) | US9515812B2 (https=) |
| EP (1) | EP2847664B1 (https=) |
| JP (1) | JP6192065B2 (https=) |
| KR (1) | KR20150037900A (https=) |
| CN (1) | CN104412222B (https=) |
| GB (1) | GB2503473A (https=) |
| TW (1) | TWI604689B (https=) |
| WO (1) | WO2014001765A1 (https=) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9658852B2 (en) | 2014-07-23 | 2017-05-23 | International Business Machines Corporation | Updating of shadow registers in N:1 clock domain |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB201907717D0 (en) * | 2019-05-31 | 2019-07-17 | Nordic Semiconductor Asa | Apparatus and methods for dc-offset estimation |
| TWI740564B (zh) * | 2020-07-03 | 2021-09-21 | 鴻海精密工業股份有限公司 | 跨時鐘域信號傳輸方法、電路以及電子裝置 |
| GB202014083D0 (en) * | 2020-09-08 | 2020-10-21 | Nordic Semiconductor Asa | Clock domain crossing |
| CN114461009B (zh) * | 2022-01-07 | 2024-04-26 | 山东云海国创云计算装备产业创新中心有限公司 | 一种应用于fpga单比特信号自动识别时钟域转换的方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5150313A (en) * | 1990-04-12 | 1992-09-22 | Regents Of The University Of California | Parallel pulse processing and data acquisition for high speed, low error flow cytometry |
| EP0977109A1 (en) * | 1998-07-30 | 2000-02-02 | Siemens Information and Communication Networks Inc. | Method and apparatus for synchronizing data transfers in a logic circuit having plural clock domains |
| US6928574B1 (en) * | 2001-08-23 | 2005-08-09 | Hewlett-Packard Development Company, L.P. | System and method for transferring data from a lower frequency clock domain to a higher frequency clock domain |
| EP1950668A1 (en) * | 2007-01-23 | 2008-07-30 | Samsung Electronics Co., Ltd. | Controlling the timing of a state transition of a serial data line in an I2C Controller |
| US20090225915A1 (en) * | 2008-03-06 | 2009-09-10 | Mahmudul Hassan | Skew tolerant communication between ratioed synchronous clocks |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6112307A (en) * | 1993-12-30 | 2000-08-29 | Intel Corporation | Method and apparatus for translating signals between clock domains of different frequencies |
| US6359479B1 (en) * | 1998-08-04 | 2002-03-19 | Juniper Networks, Inc. | Synchronizing data transfers between two distinct clock domains |
| DE10128396B4 (de) * | 2001-06-12 | 2005-02-24 | Infineon Technologies Ag | Verfahren und Schaltungsanordnung zum Übertragen von Daten von ein mit einem ersten Takt betriebenes System an ein mit einem zweiten Takt betriebenes System |
| US7085952B2 (en) * | 2001-09-14 | 2006-08-01 | Medtronic, Inc. | Method and apparatus for writing data between fast and slow clock domains |
| JP4122204B2 (ja) * | 2002-09-27 | 2008-07-23 | 松下電器産業株式会社 | 同期回路 |
| US20040193931A1 (en) * | 2003-03-26 | 2004-09-30 | Akkerman Ryan L. | System and method for transferring data from a first clock domain to a second clock domain |
| JP2008544623A (ja) * | 2005-06-13 | 2008-12-04 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | クロック・ドメインを使ったデータ送信の方法および装置 |
| US7809972B2 (en) * | 2007-03-30 | 2010-10-05 | Arm Limited | Data processing apparatus and method for translating a signal between a first clock domain and a second clock domain |
| US8024597B2 (en) * | 2008-02-21 | 2011-09-20 | International Business Machines Corporation | Signal phase verification for systems incorporating two synchronous clock domains |
| US8089378B1 (en) * | 2009-02-18 | 2012-01-03 | Marvell Israel (M.I.S.L) Ltd. | Synchronous multi-clock protocol converter |
| JP5483172B2 (ja) * | 2009-10-19 | 2014-05-07 | 横河電機株式会社 | データ転送装置およびデータ転送方法 |
-
2012
- 2012-06-27 GB GB1211425.2A patent/GB2503473A/en not_active Withdrawn
-
2013
- 2013-06-18 TW TW102121535A patent/TWI604689B/zh not_active IP Right Cessation
- 2013-06-20 US US14/411,208 patent/US9515812B2/en active Active
- 2013-06-20 EP EP13731452.2A patent/EP2847664B1/en not_active Not-in-force
- 2013-06-20 WO PCT/GB2013/051608 patent/WO2014001765A1/en not_active Ceased
- 2013-06-20 KR KR1020157002135A patent/KR20150037900A/ko not_active Withdrawn
- 2013-06-20 JP JP2015519327A patent/JP6192065B2/ja not_active Expired - Fee Related
- 2013-06-20 CN CN201380034642.7A patent/CN104412222B/zh not_active Expired - Fee Related
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5150313A (en) * | 1990-04-12 | 1992-09-22 | Regents Of The University Of California | Parallel pulse processing and data acquisition for high speed, low error flow cytometry |
| EP0977109A1 (en) * | 1998-07-30 | 2000-02-02 | Siemens Information and Communication Networks Inc. | Method and apparatus for synchronizing data transfers in a logic circuit having plural clock domains |
| US6928574B1 (en) * | 2001-08-23 | 2005-08-09 | Hewlett-Packard Development Company, L.P. | System and method for transferring data from a lower frequency clock domain to a higher frequency clock domain |
| EP1950668A1 (en) * | 2007-01-23 | 2008-07-30 | Samsung Electronics Co., Ltd. | Controlling the timing of a state transition of a serial data line in an I2C Controller |
| US20090225915A1 (en) * | 2008-03-06 | 2009-09-10 | Mahmudul Hassan | Skew tolerant communication between ratioed synchronous clocks |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9658852B2 (en) | 2014-07-23 | 2017-05-23 | International Business Machines Corporation | Updating of shadow registers in N:1 clock domain |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104412222A (zh) | 2015-03-11 |
| JP6192065B2 (ja) | 2017-09-06 |
| CN104412222B (zh) | 2018-06-05 |
| TWI604689B (zh) | 2017-11-01 |
| TW201401763A (zh) | 2014-01-01 |
| JP2015522188A (ja) | 2015-08-03 |
| KR20150037900A (ko) | 2015-04-08 |
| EP2847664B1 (en) | 2018-04-18 |
| US20150139373A1 (en) | 2015-05-21 |
| EP2847664A1 (en) | 2015-03-18 |
| GB201211425D0 (en) | 2012-08-08 |
| US9515812B2 (en) | 2016-12-06 |
| GB2503473A (en) | 2014-01-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2847664B1 (en) | Data transfer between clock domains | |
| US10915485B2 (en) | Circuit for asynchronous data transfer | |
| US11372461B2 (en) | Circuitry for transferring data across reset domains | |
| US10114407B2 (en) | Data transfer between clock domains | |
| US12549167B2 (en) | Sampling signals | |
| US10055193B2 (en) | Data transfer between clock domains | |
| US20250199566A1 (en) | Reduced latency clock domain crossing circuit | |
| US6907538B1 (en) | Circuit and method for providing centralized synchronization for the transportation of data between devices in a different clock domains on a data bus | |
| US10146367B2 (en) | Synchronization method and touch signal processing system using the same | |
| US12019499B2 (en) | System and method to reduce power down entry and exit latency |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13731452 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2013731452 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 14411208 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2015519327 Country of ref document: JP Kind code of ref document: A |
|
| ENP | Entry into the national phase |
Ref document number: 20157002135 Country of ref document: KR Kind code of ref document: A |