electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

how can i detect the last edge in a switching digital signal


Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog IC Design & Layout -> how can i detect the last edge in a switching digital signal
Author Message
cdcnitw



Joined: 12 Oct 2007
Posts: 8


Post11 Nov 2008 14:42   

how can i detect the last edge in a switching digital signal


please help me how to detect a last edge in a switching digital signal;

say if i have a digital signal as follows

initially low level(0)
starts switching depending on some other signal with random freq(0101010101....)

the stops at high level (1) after some period

i need to detect the last edge of this switching signal

please help me how to do it
thanks
Back to top
omara007



Joined: 06 Jan 2003
Posts: 1283
Helped: 39
Location: Dubai


Post11 Nov 2008 14:49   

how can i detect the last edge in a switching digital signal


If you are expecting to have a final value of '1' for example, you can design a counter that counts clock cycles during '1' .. if the counter, say, reaches a specific large value like 10 or 20 (as you decide), then you can consider the circuit is no more switching and this '1' is the final value ..

same if the final value is expected to be zero ..
Back to top
cdcnitw



Joined: 12 Oct 2007
Posts: 8


Post12 Nov 2008 6:02   

Re: how can i detect the last edge in a switching digital si


thanks omara

but i need the time at which the last edge occurs...
Back to top
Google
AdSense
Google Adsense




Post12 Nov 2008 6:02   

Ads




Back to top
omara007



Joined: 06 Jan 2003
Posts: 1283
Helped: 39
Location: Dubai


Post12 Nov 2008 10:58   

how can i detect the last edge in a switching digital signal


you need to have a condition for the last edge .. how will you know that it's the last edge unless you monitor it for some time and you notice that it doesn't change !! ..
If you are going to do so, then you can easily know the time at which the last edge occurs by translating the counter counts (or the number of clock cycles involved) into time .. as easy as this.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog IC Design & Layout -> how can i detect the last edge in a switching digital signal
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
how can i detect the positive edge of a signal in verilog? (5)
to detect clock's rising edge and falling edge (3)
Can you give some advices how to learn the Digital Signal Pr (8)
how to detect lower edge of sine wave at 100Hz..? (5)
WHEN the voltage exceed THE EDGE how can strart time (2)
How close to the edge of the smith chart can you get ? (6)
How I can detect the 3 possible states in a bus RS485? (5)
Rising Edge Detection of digital signal (9)
How do I detect that a signal is a WIFI signal and not noise (2)
Edge Detect Circuit (2)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS