Announcements

Help us improve the Power & Sensing Selection Guide. Share feedback

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

cross mob
euggersh
Level 5
Level 5
5 sign-ins First solution authored 50 replies posted

I have a PSoC 5LP design with a SAR ADC.  My Vdda is 4.5V.  Here's my SAR ADC configuration:

euggersh_0-1681251165490.png

With the default settings of 5.0 for all of my voltages in the Operating Conditions section of the System options, this project builds with no issues.  But if I set the voltages correctly:

euggersh_1-1681251254506.png

I get the following error message from the fitter:

ADD: sdb.M0059: error: Error in component: ADC_P. Voltage Reference value must be between 0.8 V and Vdda (4.6 V).

Not sure what voltage reference value it's referring to, and I can't find any documentation about this error.

1 Solution
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

@euggersh ,

I believe I have your answer.

You selected "Input range: 0.0 +/- Vdda (Differential) -Input +/- Vdda".

Change it to ""Input range: 0.0 +/- Vdda/2 (Differential) -Input +/- Vdda/2".   No errors in the Application Build phase.

 

Len
"Engineering is an Art. The Art of Compromise."

View solution in original post

0 Likes
4 Replies
Len_CONSULTRON
Level 9
Level 9
Beta tester 500 solutions authored 1000 replies posted

@euggersh ,

I believe I have your answer.

You selected "Input range: 0.0 +/- Vdda (Differential) -Input +/- Vdda".

Change it to ""Input range: 0.0 +/- Vdda/2 (Differential) -Input +/- Vdda/2".   No errors in the Application Build phase.

 

Len
"Engineering is an Art. The Art of Compromise."
0 Likes

Even if that fixes it, I'm not clear on why my existing selection doesn't work, since it doesn't violate any of the requirements, as far as I can understand.

@euggersh ,

This is a good question.  Since your original Input Range selection yielded not errors when VDDa was 5.0V I don't see why 4.5V should yield an error.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes

@euggersh 

I created another project with your desired options.

This time it succeeded in the Application build phase without error.

Len
"Engineering is an Art. The Art of Compromise."
0 Likes