Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > ADC problem

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



ADC problem
Moderator:
RKRM

Post Reply
Follow this topic



ADC problem

vgy posted on 21 Nov 2012 4:58 AM PST
Top Contributor
133 Forum Posts

 Hi to all,

              I am  doing work on blood glucose measurement with PSoC 3 , in that a current from test strip taken and converted to voltage and calibration if that interms of glucose.but as a sample i am giving current from IDAC component that is converted to voltage. this voltage i am giving to ADC to display it in volts , here upto PGA i am getting voltage but after giving to ADC i am getting Garbage value output on LCD.i think the problem here is with ADC ,can anyone help me regarding this.

thanks

PRP




Re: ADC problem

danaaknight posted on 21 Nov 2012 12:57 PM PST
Top Contributor
1773 Forum Posts

Post your project, and what is the signal look like, voltage level, before you process

with PSOC ?

 

Regards, Dana.



Re: ADC problem

rahulram posted on 22 Nov 2012 10:27 PM PST
Cypress Employee
112 Forum Posts

 hi,

So, you have a DC Signal from IDAC(Correct me if my assumption is wrong) and you put that in to ADC. Consider the following suggestions,

1. Make sure you choose the most optimised range in the ADC, preamplify the signal above the noise floor and choose the resolution as such. 

2. Make sure you wait for the end of conversion, before taking the value out of the ADC_DEC_SAMP_REG.(Use IsEndConversion() API)

3. If you are sure that the above mentioned points are satisfied for ADC, then the problem shall most probably be with the LCD Code that has been written.

 

Regards,

Rahulram



Re: ADC problem

vgy posted on 22 Nov 2012 11:07 PM PST
Top Contributor
133 Forum Posts

 hi Rahulram i have checked that , but i havent resolved my problem



Re: ADC problem

hli posted on 22 Nov 2012 07:57 AM PST
Top Contributor
675 Forum Posts

How do you define 'garbage values'? Does it just display random values? If you constrain the output of the IDAC, do you get what you expect?

Did you debug your code (breakpoint after you retrieve the values from the ADC) to see whether the problem is in the ADC or in the display code?






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: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20