Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Can't get 2 PGA's to compile in same project.

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



Can't get 2 PGA's to compile in same project.
Moderator:
RKRM

Post Reply
Follow this topic



Can't get 2 PGA's to compile in same project.

BigBru posted on 05 Aug 2012 7:53 PM PST
Member
3 Forum Posts

Hello forum folks,

I can't get 2 seperate PGA's to compile on my PSoC 3 project using Creator2. I get the message:

"Unable to find a solution for the analog routing. The analog side could not be routed due to congestion or other constraints."

Removing either one seems to clear the problem. I do not get a lack of ressources message.  What other blocks may be congesting the analog routing?

I am using 2 other op amps but removing one of those doesn't clear my problem.

I'm using a Cy8C3866Axi-040.

Hope my attachement's not too big. ( I say that all the time.)

Bruno




Re: Can't get 2 PGA's to compile in same project.

rahulram posted on 06 Aug 2012 11:17 PM PST
Cypress Employee
112 Forum Posts

 hi,

Use port 3 pins appropriately  for the Opamp_2. That will work. When u r using two opamps in the same quadrant, what happens is u r not able to use the AGL_4 line to feed to the DelSigma ADC. Change that to the right side quadrant,such that you can use the output of it to feed the delta sigma adc. This will now remove your routing problem. This is not the problem with PGA.

 



Re: Can't get 2 PGA's to compile in same project.

danaaknight posted on 06 Aug 2012 11:21 PM PST
Top Contributor
1773 Forum Posts

In Creator 2.1 there is an analog routing viewer, on the cydwr tab.

 

C:\Users\Nerdsrus\Desktop\Spweed Control\SpeedControlPSoC3Rev1.01.cydsn\SpeedControlPSoC3Rev1.01.cydwr

 

I do see the error, after quite a few clock binding errors. Still looking at project.

 

Regards, Dana.



Re: Can't get 2 PGA's to compile in same project.

rahulram posted on 06 Aug 2012 02:17 AM PST
Cypress Employee
112 Forum Posts

Hi people, i solved that problem. just change the port configs for the opamp_2. use port 3 which is in the other quadrant. There ll be no problem then.



Re: Can't get 2 PGA's to compile in same project.

BigBru posted on 06 Aug 2012 04:45 PM PST
Member
3 Forum Posts

Thank you rahulram and danaaknight, you guys are great, that was really fast response and solution.


I used R's solution with port 3 and it worked. Unfortunately, I actually wanted to mux my 2 op amps to the Del Sig ADC. Plus I had other intentions for one of the other OpAmps.


I tried to study through the Analog routing chapter of TRM and have come out baffled. I understood enough to figure out to hardwire all my OpAmp output routes externally to my mux inputs.


Thank you for the tip Dana concerning the analog routing viewer, I will upgrade to Creator 2.1.
What are clock binding errors, where do I see them, and what can I do about them?

Always wanting to learn more, I love these chips almost as much as kettle cooked ones.

Best regards, Bruno.



Re: Can't get 2 PGA's to compile in same project.

danaaknight posted on 06 Aug 2012 05:53 PM PST
Top Contributor
1773 Forum Posts

When you do a compile, select "view" menu item, then "other windows", then "notice" list.

In that view, you can double click an error marked with a red X, and it will show you on

schematic where the error is.

 

I do not know what the binding errors are, I myself need help on this. I did see antoher thread

where a clean and compile cleared all the errors.

 

Regards, Dana.



Re: Can't get 2 PGA's to compile in same project.

BigBru posted on 06 Aug 2012 06:09 PM PST
Member
3 Forum Posts

Notice list is also a tag at the far bottom below your output. I have been seeing a lot of stuff there but never bothered to clean up. Eventually I will put some more effort if ever I get stahled because of something there.

I'd like to attract attention to the front end of my project. I found that using an unsynchronized tachometer signal to trigger a capture input to a timer sometimes caused erroneous values which were followed by good values as if nothing had gone wrong on the previous capture. I tested whenever there was an erroneous value, read it again. this gave me a copy of the erroneous value. That means that the error occurs at capture time perhaps coincidental with the clock. The perfect fix is to place a D flip-flop clocked by the falling edge of the bus clock. That way the read and the capture always happen half clock cycles apart. It's now beautifully clean. I just want others to know this trick but don't know where to post it efficiently.

Thanks again, Regards,

Bruno






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