Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 4 Forum Discussions

rrichards
Level 1
Level 1
First question asked Welcome!

Hello,

I am using the PSOC CYBLE-022001-00.  I have a timer interrupt that is programmed to interrupt every 250msec.  The interrupt service routine toggles a port pin that drives an led.  The program works fine in debug mode but in regular run mode the timer interrupt does not happen.  Any help would be greatly appreciated.

0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello @rrichards ,

Probably the 250ms is too less for the current to sufficiently light up the LED. How do you know the timer is not triggering? Is it solely based on the fact that the LED is not blinking? 

If so, then try increasing the timer delay to 500ms or more to see if the LED blinking is noticeable. If not, please refer to the Section Debugging Tips of the PSoC4 Interrupts AppNote here: https://www.cypress.com/file/127121/download

Please consider attaching the project if the issue persists. 

Regards,
Dheeraj

View solution in original post

0 Likes
1 Reply
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello @rrichards ,

Probably the 250ms is too less for the current to sufficiently light up the LED. How do you know the timer is not triggering? Is it solely based on the fact that the LED is not blinking? 

If so, then try increasing the timer delay to 500ms or more to see if the LED blinking is noticeable. If not, please refer to the Section Debugging Tips of the PSoC4 Interrupts AppNote here: https://www.cypress.com/file/127121/download

Please consider attaching the project if the issue persists. 

Regards,
Dheeraj

0 Likes