- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Labels:
-
PSoC general
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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