Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Voltage reference

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Voltage reference
Moderator:
RKRM

Post Reply
Follow this topic



Voltage reference

fgd posted on 04 May 2011 8:17 AM PST
Member
2 Forum Posts

Hi

I'm trying this, an operational amplifier, in non inverting mode with two 10K external resistors, the gain is 2. The non inverting input is connected to the 1,024V voltage reference. The output is 3,68V and I don't understand why, I think it must be 2,08V (voltage reference value x 2). 

If I connect the voltage reference to an external pin and the non inverting input of the operational amplifier to another external pin and joint the two pins externally with a wire, it works perfectly.  Somebody can tell me why?

Im very new in Psoc programming, any comment is going to be usefull for me.

Thanks!!




Re: Voltage reference

Gautam Das posted on 05 May 2011 04:05 AM PST
Cypress Employee
742 Forum Posts

Hi fgd,

 

I tested with a project in the way similar to what you had mentioned.

The output was 3.29 V instead of 2.04V. This could be due to routing path taken by the Reference voltage to the non-inverting input terminal of the opamp.

However, when I used a VDAC instead of a internal reference voltage, the output was correct with a gain of 2, as expected.

 

The routing path selected by Creator can be found out by reading the .cyfitter file.



Re: Voltage reference

Gautam Das posted on 05 May 2011 05:38 AM PST
Cypress Employee
742 Forum Posts

Fgd,

 

I tried to modify the project so that the internal routing is changed.

For this, an analog pin was connected to the output of the buffer (voltage follower) connected to the 1.024V reference.

 

The output of Voltage follower is connected directly to the non-inverting input terminal of the opamp.

In this case, the output voltage is found to be 2.05V and the voltage at input of non-inverting input terminal is 1.024V.

Hence, when the routing is changed the output is as expected.

The snap shot is attached.



Re: Voltage reference

fgd posted on 06 May 2011 05:27 AM PST
Member
2 Forum Posts

Hi dasg

I tryed your last idea, I connected the follower directly to the voltage reference and add an analog pin to the follower input and it works!!

Thank you very much!






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20