Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Can we change the configuration count from 4 to 6 in ADC_DelSig_v2_30 Component

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



Can we change the configuration count from 4 to 6 in ADC_DelSig_v2_30 Component
Moderator:
RKRM

Post Reply
Follow this topic



Can we change the configuration count from 4 to 6 in ADC_DelSig_v2_30 Component

Arpita posted on 25 Oct 2012 4:06 AM PST
Member
3 Forum Posts

 Hello,

ADC_DelSig_v2_30 component features mentions that it has "Up to four run-time ADC configurations".

Can we change this count from 4 to 6 configurations?

If yes how can we proceed with this change?

 

Regards,

Arpita Yadav 




Re: Can we change the configuration count from 4 to 6 in ADC_DelSig_v2_30 Component

Bob Marlowe posted on 25 Oct 2012 07:02 AM PST
Top Contributor
1768 Forum Posts

You may change all the parameters for the ADC with the helpl vof the APIs. The 4 different possible configurations are built-in into the component and not changeable by you. I would suggest you to check whether the APIs will cover your different settings.

 

Happy coding

Bob



Re: Can we change the configuration count from 4 to 6 in ADC_DelSig_v2_30 Component

Arpita posted on 25 Oct 2012 07:36 AM PST
Member
3 Forum Posts

Hello Bob,

 

Hey thanks for reply.

 

I have tried testing 4 combinations and they work perfectly.

We would like to have 6 configs. So is that doable?

What can i do to have 6 configs instead?

 

Regards,

Arpita Yadav



Re: Can we change the configuration count from 4 to 6 in ADC_DelSig_v2_30 Component

danaaknight posted on 25 Oct 2012 07:49 AM PST
Top Contributor
1773 Forum Posts

You could modify the component and create your own custom component

using the tool component author tool.

 

http://www.cypress.com/?rID=40547

 

http://www.cypress.com/?rID=49025

 

Regards, Dana.



Re: Can we change the configuration count from 4 to 6 in ADC_DelSig_v2_30 Component

danaaknight posted on 25 Oct 2012 07:55 AM PST
Top Contributor
1773 Forum Posts

Quick summary of training material -

PSoC Creator Component Development Training:
•PSoC Creator 110: Schematic Components
•PSoC Creator 111: Component Parameters
•PSoC Creator 112: Intro to Component API Generation
•PSoC Creator 113: PLD Based Verilog Components
•PSoC Creator 210: Intro to Datapath Components
•PSoC Creator 211: Datapath Computation
•PSoC Creator 212: Datapath FIFOs
•PSoC Creator 213: Multi-Byte Datapath Components
•PSoC Creator 214: Datapath API Generation
•PSoC Creator: Custom Components

Regards, Dana.



Re: Can we change the configuration count from 4 to 6 in ADC_DelSig_v2_30 Component

PSoC Rocks posted on 26 Oct 2012 10:07 PM PST
Top Contributor
128 Forum Posts

Hi Arpita,

 

It won't be that simple to change the customizers of the component. Instead, compile the project with one required configuration, copy the macros corresponding to this particular configuration from the header file and then use them in your main.c file or just add them in the original header file corresponding to 4 configs (you shouldn't generate the code as it will go away. so keep a copy of those macros at separate location) and while switching to the new configuration, do whatever component API is doing for other configs manually which would be relatively simple.

 



Re: Can we change the configuration count from 4 to 6 in ADC_DelSig_v2_30 Component

Arpita posted on 26 Oct 2012 03:25 AM PST
Member
3 Forum Posts

 Hello,

Thanks for the input. I will surely tryout the solution that you have mentioned to be put into main.c.

This seems to be simpler that modifying the component.

I will try out if this works and will keep you updated in the same.

 

If this doesnt work then i have no option left other than modifying the component.

 

Regards,

Arpita Yadav






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