hello everybody,
I have two different frequency signal.
One is 100Hz, the other is 5kHz.
I have to get the two signal synchrously to do something.
Can anybody tell me how to do it?
I have tried to use DFF, but it needs plenty of DFF.
Best Regards.
I would like to capture two signal from RS232.
one of the sampling rate is 5KHz,the other is 100Hz.
I need to add the two data bit to bit.
cause the different sampling rate, the added result will be incorrect.
I tred to use delay element like D-filp flop, but it need lots of DFF.
I would like to know how can I get the two signal synchrously.
Best Regards.
if you can afford latency in your design why cant you try with memory which write at one frequency reads at other frequency.
in your case take two memories one for 5MHz,and one for 100Hz.
for 5Mhz memory both writing and readin will be at the same rate.
where as for 100Hz memory writin at 100Hz reading at 5Mhz.
since both memories reading at same frequency proceeding in your design will be easy.
Why don't you synthesise the second clock from the first so you'll get 2 synchronous signals. This is possible by dividing 100 Khz by 20 to have the low speed clock.