Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/21/01 15:01
Read: times


 
#9516 - RE: Measuring frequency and phase angle
The chip I'm using is the ADuC812 microconverter.
I have now decided to write an interrupt service routine.
Basically what I want to do is when the square wave comes i on P3.4
I 'll start two timers and when the wave comes in on P3.5
I'll use an interrupt service routine to stop the timer1, store the value. When the first square wave has gone through one period I'll write another service routine to stop timer0 and store the value in timer0 and then start timer0 and timer1 again immediately.

List of 17 messages in thread
TopicAuthorDate
Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE: Measuring frequency and phase angle            01/01/70 00:00      
RE:measure time with interrupt            01/01/70 00:00      

Back to Subject List