No output on opamp of PSoC4 CY8CKIT-042

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
NuVi_4267411
Level 1
Level 1
First like received First reply posted First question asked

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

0 Likes
1 Solution
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

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

View solution in original post

4 Replies
NoriTan
Employee
Employee
25 sign-ins 5 questions asked 10 sign-ins

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

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

0 Likes
lock attach
Attachments are accessible only for community members.
MotooTanaka
Level 9
Level 9
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

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)

002-opamp-config.JPG

So I tested this with my CY8CKIT-042

schematic

001-schematic.JPG

pins

003-pins.JPG

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.

IMG_4494.JPG

Oscilloscope wave form

Red: input signal

Yellow: output signal

IMG_4493.JPG

moto

Thnks to you too! I already thanked to Noriaki-san, but you deserve it too! I have attached proof of working:

IMG_20200925_120149.jpg

I used my oscilloscope calibration signal for testing

Top trace is input and bottom is output.

IMG_20200925_115604.jpg

Thanks again to both!

Nuno Vicente