Discussion Forum

Time difference

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Vikas Saraswat
Posted
25-Nov-2009 10:44 GMT
Toolset
None
New! Time difference

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

Read-Only
Author
Andy Neil
Posted
25-Nov-2009 11:32 GMT
Toolset
C51
New! RE: I am new to 8051 microcontroller.

then you need to start with the so-called "bible" for the 8051 - links here: http://www.8052.com/faqs/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

Next Thread | Thread List | Previous Thread Start a Thread | Settings