- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Community,
i got a sensor with an undefined pulse width, and i'm unsure if i have to stretch the pulse via hardware, so the PSoC5 will trigger an interrupt and wakup from sleep mode.
In the Datasheet for the Interrupt Component "cy_isr_v1_71.pdf" is mentioned that a pulse is converted to a period of "bus_clk". Is this also true for signals shorter than bus_clk?
Best regards,
Matthias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @mafi ,
The Interrupt Component's datasheet "cy_isr_v1_71.pdf" mentions that a pulse is converted to a period of "bus_clk". This means that the component expects a signal with a minimum duration of one clock cycle of the bus_clk. If the signal duration is shorter than the bus_clk, the component may not detect it as a valid interrupt event.
So, signals shorter than the bus_clk can be used as interrupt sources, but they need to have a duration of at least one clock cycle of the bus_clk for the interrupt component to detect them.
Best regards,
Rakesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Based on @Rakesh_Patrudu information, if you need to support a pulse width shorter than the bus_clk period, you may be able to increase the bus_clk frequency (reduce the bus_clk period) by increasing the base frequency from which the bus_clk is derived.
"Engineering is an Art. The Art of Compromise."