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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/11/03 23:35
Read: times


 
#60476 - RE: back to basics
Responding to: ???'s previous message
I went to Code Architect and generated the clock module for a CPU frequency of 7.3728MHz. I then went and generated the timer module, timer 0 periodic overflow with an overflow every 10ms.

In the main function I called both the osc and timer init functions and set EA = 1. I modified the timer 0 ISR to toggle pin P2.0 every 10th time the ISR is called.

Built. Ran. LED on the toggled pin flashes.

Test setup:

Online Code Architect
Keil C51 V7.01
Keil MCB900 board rev 2
89LPC932 rev G
Flash Magic 1.84
Windows XP ;)

Andy
ESAcademy - www.esacademy.com

List of 28 messages in thread
TopicAuthorDate
LPC932 Timer 0 Timer Mode            01/01/70 00:00      
   RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
      RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
         RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
      RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
         RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
            RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
               RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
                  RE: closer look            01/01/70 00:00      
                     RE: closer look            01/01/70 00:00      
                     RE: closer look            01/01/70 00:00      
                        RE: back to basics            01/01/70 00:00      
                           RE: back to basics            01/01/70 00:00      
                              RE: back to basics            01/01/70 00:00      
                                 RE: back to basics            01/01/70 00:00      
                                    RE: back to basics            01/01/70 00:00      
                                       RE: back to basics            01/01/70 00:00      
                                          RE: back to basics            01/01/70 00:00      
                                    Application Builder            01/01/70 00:00      
                  RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
                     RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
                        RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
                        RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
                           RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
                              RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
   RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
      RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      
         RE: LPC932 Timer 0 Timer Mode            01/01/70 00:00      

Back to Subject List