- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm developing a project involving the PSoC4 and using its internal op-amp.
But I can't get any output when setting the opamp to the correct pins. The board seems to get the input signal, but nothing is created on output, not even noise.
I have attached the schematic of the TopDesign and the pins setting.
Thanks for considering my question,
Nuno Vicente
Solved! Go to Solution.
- Labels:
-
PSoC 4 Architecture
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nuno,
Please let me confirm if you call the function Opamp_0_Start() in your initialization code.
The Opamp will work only after an initialization code is invoked.
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nuno,
Please let me confirm if you call the function Opamp_0_Start() in your initialization code.
The Opamp will work only after an initialization code is invoked.
Regards,
Noriaki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks! It did the trick!
Very helpful! I searched it for days and then finally decided to post here.Worth the effort!
Best regards,
Nuno Vicente
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think that Noriaki-san's suggestion is correct.
But one more thing we can make a mistake here is the configuration of Opamp
Mode: Follower (You've done this)
Output: Output to pin
Power/Bandwidth: High
Compensation Capacitance: High (I think this was default)
So I tested this with my CY8CKIT-042
schematic
pins
main.c
=========================
#include "project.h"
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
Opamp_0_Start() ;
for(;;)
{
/* Place your application code here. */
}
}
=========================
Test environment
I used my trusted FRDM-KL25Z's funcgen for the input source.
Oscilloscope wave form
Red: input signal
Yellow: output signal
moto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thnks to you too! I already thanked to Noriaki-san, but you deserve it too! I have attached proof of working:
I used my oscilloscope calibration signal for testing
Top trace is input and bottom is output.
Thanks again to both!
Nuno Vicente