Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 19, 2024, 12:20:36 00:20


Login with username, password and session length


Pages: [1]
Print
Author Topic: How to implement This  (Read 3416 times)
0 Members and 1 Guest are viewing this topic.
aamir
Hero Member
*****
Offline Offline

Posts: 505

Thank You
-Given: 37
-Receive: 229


« on: July 28, 2008, 06:37:57 06:37 »

I want to build circut with 8051 micro controller  which detects whether Clock signal is available  or not ie I want to detect Clock signal is

presetnt or not how to do this .
Logged
sam_des
Senior Member
****
Offline Offline

Posts: 253

Thank You
-Given: 124
-Receive: 146


« Reply #1 on: July 31, 2008, 08:11:12 08:11 »

Hello,

You can use one of the timer's counter mode with external trigger. Each transition on clock line will increament the timer count. You can also get frequency/duty cycle of clock signal. Use another timer or simply a soft-delay to time-out detection of clock.

e.g. Get the count in timer before you start your delay. Wait for delay to complete. Check the count again.  You can now decide whether clock signal is present or not.

Be sure to buffer the clock line before feeding to 8051 so that it will not get affected in any way.

regards,
sam_des
Logged

Never be afraid to do something new. Remember Amateurs built the Ark, Professionals built the Titanic !
Joe_jj
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 0
-Receive: 0


« Reply #2 on: August 01, 2008, 03:13:09 15:13 »

Is the frequency of clock signal constant? If yes,only soft delay is enough to solve ur prob.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC