This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Standard Timer interrupt in LPC3250

Hi

I am Unable to generate a interrupt for standard timers in LPC3250 . Are there any changes to make to lpc3250.s and configuration settings in the same lpc3250.s . I am using the keil compiler.
I am initialising the Timer clock in TIMCLK_CTRL1 and then
T0TCR=0x01;
T0CTCR=0x00;
TOMCR=0x03;

At this point of debuggig it is running continously without entering into Interrupt Service Routine.

I tried many different settings shown in web but invain

Parents
  • Hi

    Does keil uvision3 supports LPC3250 .During begining of the project it is not in the list of selected components shown by keil IDE.So i have copied the LPC325X.s file and Ram.ini file and changed some settings accordiing to uvision4 in debug options.For Flash testing it works fine but when i started working on timers the interrupts are not generated Is there any problem with keil uvision3 as i have the full licensed version where as for keiluv4 it is only a simple version

Reply
  • Hi

    Does keil uvision3 supports LPC3250 .During begining of the project it is not in the list of selected components shown by keil IDE.So i have copied the LPC325X.s file and Ram.ini file and changed some settings accordiing to uvision4 in debug options.For Flash testing it works fine but when i started working on timers the interrupts are not generated Is there any problem with keil uvision3 as i have the full licensed version where as for keiluv4 it is only a simple version

Children
  • So ... You have written code and it runs as long as you don't use timer interrupts.

    What part of the IDE do you think would cause a problem like this?

    If the compiler can produce code for the processor (which it can) and you can download code which executes correctly (which I think you've said you can) then, fundamentally, things are working.

    It is far more likely to be a problem with how you are configuring the timer and the interrupt controller.