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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/19/02 13:12
Read: times


 
#29373 - RE: measuring low pulses from an IR demodula
I know nothing about the 89c420 however on a standard 8052 you can measure pulse widths without using interrupts at all. If you invert your signal so that the duty cycle is high and connect it to either of the external interrupt pins the associated timer will only count while the following conditions are true:

TRx=1
INTx=1

provided you have set the appropriate GATEx bit in TMOD.

The measured period is controlled entirely by hardware and is therefore as accurate as can be achieved without having to worry about interrupt latency.

List of 14 messages in thread
TopicAuthorDate
measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demo            01/01/70 00:00      
RE: measuring low pulses from an IR demo            01/01/70 00:00      
RC5: Philips or Sony? - Charles            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      
RE: measuring low pulses from an IR demodula            01/01/70 00:00      

Back to Subject List