Hi all,
I am new to 8051 microcontroller. Can anybody help me out how can i generate the time difference between two external events and get these values outside the controller??
Example, i want to start a timer at the occurance of First event and stop it when the same event occured second time. The time taken between the two event is of interest for me. I am using 89LPC932A
then you need to start with the so-called "bible" for the 8051 - links here: www.8052.com/.../120112
Then you will need to study the User Manual for the 89LPC932A - as it has some differences from the "classic" 8051 architecture...
And, of course, check-out the other supporting documentation on the NXP site, and examples on the Keil site...
See also: http://www.8052.com/tutorial
And: http://www.8052.com/faqs
And: http://www.keil.com/books/8051books.asp