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

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

cross mob
Anonymous
Not applicable

 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 

0 Likes
6 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes
Anonymous
Not applicable

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

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

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.

0 Likes
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable

 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

0 Likes