- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to use timer 8 capture and terminal count isr in my code . how to to that. psoc designer 5.4 gives opportunity to either use capture isr or terminal isr. but is there any way to use both isr at once in firmware.
My psoc1 29666 is almost out of resources and i cant generate the pwm using the hardware digital block. I want to use capture isr and terminal count isr to toggle the output pin for desired pwm. pwm frequency is very low in few hz. so my firmware will handle. But i can see how to generate the two simultaneous isrs in firmware.
Solved! Go to Solution.
- Labels:
-
PSoC 1
-
PSoC 1 Device Programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not possible to raise interrupt on both Capture and Terminal Count events for TimerXX. The interrupt sources of Capture, Compare and Terminal Event are mutually exclusive in the hardware.
You can try routing the Terminal Count to a GPIO and setting the interrupt for GPIO and handling the Terminal Count via GPIO interrupt.
Best regards,
Sampath Selvaraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is not possible to raise interrupt on both Capture and Terminal Count events for TimerXX. The interrupt sources of Capture, Compare and Terminal Event are mutually exclusive in the hardware.
You can try routing the Terminal Count to a GPIO and setting the interrupt for GPIO and handling the Terminal Count via GPIO interrupt.
Best regards,
Sampath Selvaraj