how to talk through different clock domain?

Status
Not open for further replies.

liletian

Full Member level 6
Joined
Mar 5, 2008
Messages
337
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
3,790
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,
 

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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…