- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Why not create a S/H driven by a comparator. Use a open drain output to discharge
cap to start a new cycle.
Or use a SC block. http://www.cypress.com/?rID=2899 AN2041
Or use DAC, Comparator in a control loop and do a binary search on
DAC to create the trip point for the Comparator.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are as many as 12 analog blocks on PSOC 1, that still not
enough ?
CY8C29466.....
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At its simplest a diode (schottky) and a cap form a peak detector. Use an open drain
output to discharge cap on reset command.
Or -
In this case the Vf of the diode essentially eliminated. Again open drain output can
effect reset (cap discharge) switch.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can make the opamp from an SC block per the method of AN2223. The problem is that the SC block inputs have finite input impedance, so this might load down your hold capacitor. This can be handled by using a PGA with gain of unity to buffer the B-input of the block. Instead of using P2.3 directly into the SC block, the inverting input is through P0.odd through a PGA in ACB00, then into the B input of the SC block in ASC10. The output isn't low impedance because of the diode, you might want to buffer it with another PGA placed in ACB01. This isn't blinding fast, the net opamp is about half of the speed of the venerable 741.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Certainly that would work. The prior approaches discussed all have tradeoffs,
this one would impact available MIPs which would be very dependent on
max frequency of waveform.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Consider posting your whole project, makes life easier to troubleshoot. We can't open just
the .cmx file by itself.
“File” Designer
“Archive Project”
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content