- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How long would a voltage have to be below the detection threshold to trigger an interrupt?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DaGr,
I assume this is what you are looking for.
This is found in the PSoC5LP datasheet.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is that the time taken for the LVI monitor to respond to the event, or the duration of an event which would be neeeded to trigger the monitor? The latter is what i'm interested in.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DaGr,
This would be the maximum time to initiate a LV ISR event.
How much time it takes for you execute a mitigation strategy (write to registers, turn off/on power consuming peripherals, go to sleep, write to EEPROM ...) is up to you.
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry if this is already what you mean but i need to be 100% clear. By maximium time, do you mean the time for which the voltage being monitoted has to be below the threshold for it to be considered an event?
The time to respond to the event is much less important to me, i'm trying to track very brief drops, that's the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DaGr,
I'm not an Infineon employee so I don't have access to the internal structure of the LVI HW.
At best I can imagine some some propagation delay from comparator being used to watch for the LVI and prop delay in the interrupt resolution hardware that finds the interrupt vector to use.
Maybe someone from Infineon can be more instructive here.
I don't know your LVI requirements but I have three suggestions that you probably already considered.
- Use a higher LVI threshold to trigger for advanced warning to mitigate or warn.
- Make you HW more robust.
- You can have a multi-threshold scheme that does scaled mitigation. At the higher threshold, you can turn off some higher consuming peripherals. At the next lower, you can write to EEPROM. And so on ...
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the suggestions, 2 is probably where we'll be focusing for now.
In case anyone from Infineon does see this, the exact number i'm after is td on the timing diagram below.
Let's say te is the length of a low voltage event, td is the time taken for the LVI hardware to detect the event and ti the time after detection an interrupt will actually occur. For an intterupt to occur, it must be true that te > td. I'm interested in the value of td, namely the shortest value of te for which an interrupt would occur.
I think having had further look, the original number you pointed to in the datasheet probably was the answer I was looking for. The reason for my confusion is that i think "response time" is ambigous, and could refer to td, ti or td + ti.
In the PSoC 4 datasheet the same value of 1uS is given for Tmontrip or the "voltage monitor trip time" which makes me think it is td after all. If anyone could confirm this that would be great 🙂
Cheers again for your help.
Dan