- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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