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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/12/03 20:42
Read: times


 
#60527 - RE: back to basics
Responding to: ???'s previous message
Andy wrote:
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.

I have been trying as hard as I can to make this thing to work. I do exactly everything you or anyone else posts in this forum.
well, if so why have you not posted that it works now.

Erik

PS what happened to my request for you to examine TCON and TMOD at entry and exit of the ISR which probably wouild have solved your problem.


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