3 Replies Latest reply on Apr 25, 2016 12:32 AM by rameshb_

    PSOC 4 Timer ISR..

      Hello, I am trying to run a timer isr routine but never get executed. Timer is is set up with a 100KHz clock, Terminal Count of 1000, and interrupt output connected to isr. ISR is set to LEVEL. Includes and code in the isr.c file
















      Code compile and programs but isr routine never gets called. What am I missing?

        • 1. Re: PSOC 4 Timer ISR..

          I cannot see your interrupt handler. Can you post your complete project, so that we all can have a look at all of your settings? To do so, use
          Creator->File->Create Workspace Bundle (minimal)
          and attach the resulting file.


          and better set your isr from "level" to "rising edge".


          When you get the handler called, do not forget to clear the interrupt in your timer by reading the status.





          • 2. Re: PSOC 4 Timer ISR..

            I ended up using an existing timer example and porting my code and design to it. Still not sure why my original design did not work with interrupts. I did everything from Cypress examples and documentation.



            • 3. Re: PSOC 4 Timer ISR..



              Could you please create the tech support case in cypress.com website and attach the complete project, so it will help us to debug the project?




              Ramesh B