PSoC6 OpAmp

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.
SaGa_4641021
Level 4
Level 4
50 questions asked 50 replies posted 100 sign-ins

Hi

I am trying to use the OpAmp in PSoC6 as a pre-amp for the ADC.

I would need to connect the resistor network. I am not sure how to connect R2 between the -ve input and the OpAmp output, then connect the OpAmp output to the ADC input.

Also, Should I use the analogue inputs on the PSoC for the OpAmp ? pins 10 are yellow in colour, while pin 9 is green !

SaGa_4641021_0-1648673887807.png

SaGa_4641021_1-1648673903617.png

 

 

0 Likes
1 Solution
DennisS_46
Employee
Employee
100 sign-ins 50 likes received 50 solutions authored

Passive parts are connected to external pins. Configure analog I/O to show external pin.
Configure opamp output drive as "output to pin."
Opamp outputs must be on green pins, this is the direct route with lower output resistance.
Inputs are move flexible, but green pins use less internal routing and have lower parasitics.
I built the project:

DennisS_46_0-1648676054522.png

It built nicely. Pins are:

DennisS_46_1-1648676135358.png

You have to lock them to have them show on schematic.

---- Dennis Seguine
PSoC Apps Engineer

View solution in original post

2 Replies
lock attach
Attachments are accessible only for community members.
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

SaGa,

I provided a new TopDesign that builds without error.  Just substitute this file in place of the one found in your TopDesign folder.

Sadly, the "green" wire indicates an improper connection inside the PSoC6.

Since the PSoC6 has no internal PGAs, you have to make ALL your resistor connections externally.   This means to have to allocate another analog pin from the GPIO to make the output (feedback connection) a shown below.

Len_CONSULTRON_0-1648676042558.png

 

Len
"Engineering is an Art. The Art of Compromise."
DennisS_46
Employee
Employee
100 sign-ins 50 likes received 50 solutions authored

Passive parts are connected to external pins. Configure analog I/O to show external pin.
Configure opamp output drive as "output to pin."
Opamp outputs must be on green pins, this is the direct route with lower output resistance.
Inputs are move flexible, but green pins use less internal routing and have lower parasitics.
I built the project:

DennisS_46_0-1648676054522.png

It built nicely. Pins are:

DennisS_46_1-1648676135358.png

You have to lock them to have them show on schematic.

---- Dennis Seguine
PSoC Apps Engineer