Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to talk through different clock domain?

Status
Not open for further replies.

liletian

Full Member level 6
Joined
Mar 5, 2008
Messages
338
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
3,801
Hi all

Can anyone explain how to talk through a fast clock clock domain (e.g. CPU) with slow clock domain (maybe memory)?

Also, how does the async interuupt work in the new clock domain?

Best regards,
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
14,941
Helped
4,876
Reputation
9,770
Reaction score
4,664
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
127,092
Normally by using 'wait states'. Something in the circuit (the memory address decoder perhaps) either controls the CPU clock speed so it drops when a slow device is selected or it tells the CPU to execute 'no operation' instructions to allow time for the slow device to respond. It depends on whether the CPU supports wait states, some do, some don't.

The interrupt depend on whether it is edge or level detected. If the CPU uses edge detection it may be necessary to externally sync the interrupt signal with the slow device or even use the wait/slow clock method of processing it.

So really, the answer to both questions is it is very dependant on the CPU type.

Brian.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top