Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
LinkBack Thread Tools Display Modes
Old 3rd September 2004, 01:11 PM   (permalink)
Default PIC clock control ??

Hello,

http://www.bitscope.com/design/hardware/pdf/Bs11-1.PDF

Could anyone explain me what exactly happends in 74HC47?? (lower right).
The PIC supposely controls the clock behaviour through RB3 (the web says it is a 3 states I/O pin), but D is an output, isn't it? and Q is conected to inputs (it clocks the rest of integrated circuits).

Some light over here?
thanks.
patroclus is offline  
Old 3rd September 2004, 02:42 PM   (permalink)
Default Re: PIC clock control ??

Quote:
Originally Posted by patroclus
Hello,

http://www.bitscope.com/design/hardware/pdf/Bs11-1.PDF

Could anyone explain me what exactly happends in 74HC47?? (lower right).
The PIC supposely controls the clock behaviour through RB3 (the web says it is a 3 states I/O pin), but D is an output, isn't it? and Q is conected to inputs (it clocks the rest of integrated circuits).

Some light over here?
thanks.
The lower right chip is a 74AHC74 (not a 47), have you perhaps looked up the wrong number?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now  
Old 3rd September 2004, 03:14 PM   (permalink)
Default

Yes, 74AHC74. I made a mistake writing
Anyway, what does it really do?
patroclus is offline  
Old 3rd September 2004, 05:21 PM   (permalink)
Default Re: PIC clock control ??

Quote:
Originally Posted by patroclus
Hello,

http://www.bitscope.com/design/hardware/pdf/Bs11-1.PDF

Could anyone explain me what exactly happends in 74HC47?? (lower right).
The PIC supposely controls the clock behaviour through RB3 (the web says it is a 3 states I/O pin), but D is an output, isn't it? and Q is conected to inputs (it clocks the rest of integrated circuits).

Some light over here?
thanks.
OK,

This part is a "D" flip flop. The D is the input and it transfers that to Q on the rising edge of the clock (which is doubled). The part also provides NOT(Q) as well.

I believe the RB3 pin is used to turn off the clock or let it run. based on whether or not it is in high-Z or ground. The Q and not-Q are just doubled clocks running the other circuits. The way it works is this:

Assume Q is high, then not-q will be low. not-q is fed back to the D-input. When the next clock edge comes, it will transfer to the output q, so now q is low which means not-q is now high. This again gets fed back to the d input and the circuit toggles like this hereafter synchronous to the input clock(signal generated by that XOR).

To stop this behavior, pull RB3 low. So now, the feedback on the flip flop won't have any effect on the D input and on the next primary clock(the clock input ot the FF) the Q output will go low and Not-q will go high. They will sit at these levels (q clocks stopped) until RB3 goes back into 3-state (high-z) to enable the feedback behavior again.

So this flip flop just sort of buffers the doubled main clock with a stopping control feature implemented.

Which, by the way, this is not a good design practive to feedback on the flip flop like they do. I think it works well enough but there are better ways..
Optikon is offline  
Old 3rd September 2004, 07:42 PM   (permalink)
Default

Great, now I understand everything.
thank you

(by the way.. how could be done better? if it is more complicated then I preffer this way as it seems to work quite well up to 50 Mhz clocks).
patroclus is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 03:02 PM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker