You are here

PSOC 4 Timer ISR.. | Cypress Semiconductor

PSOC 4 Timer ISR..

Summary: 3 Replies, Latest post by Ramesh B on 25 Apr 2016 12:32 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
markchin's picture
8 posts

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?





user_1377889's picture
9283 posts

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.



markchin's picture
8 posts

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.


Ramesh B's picture
Cypress Employee
36 posts


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


Ramesh B

Log in to post new comments.