- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a CY3210 Kit on order, will be here in a few days. I have looked at some getting started videos in preperation. My question , do you have to use the graphic part in PSoC designer to set up GPIO ports and Pins for I/O? And also to set up things like PWM and ADC. I am comparing Cypress to Atmel AVR, in the Atmel I would modify port registers and control registers for things like this. example DDRB=Ox08 = PORT B all inputs, or TCCR1A is timer counter control register 1A and you modify the bits . Hope this makes sence , that is my question.
Thanks
Alan
- Labels:
-
PSoC 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Almost all copmponents have API calls to registers to configure
the component. But in general one stays with the graphic
configuration due to ease, interrelationship of parameters, etc.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
...and additionally the configuration for pins are done (semi) graphical, too. This eases the switching to a different configuration, there is (mostly) no need for changing pin configurations programmatically.
...and: Welcome in the fascinating world of PSoCs!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
These might help -
http://www.cypress.com/?docID=48512 AN74170 PSoC® 1 Analog Structure and Configuration With PSoC Designer™
http://www.cypress.com/?rID=2901 AN2104 - PSoC® 1 - Dynamic Reconfiguration With PSoC® Designer™
And this is doc/video area for ap notes, training videos, forums...... -
http://www.cypress.com/?id=4&source=header
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One other thought, when you do register programming there is
a TRM (Technical Reference Manual) and another manual for
Registers. Because PSOC has much more programmability than
"normal" processors there is a burden to pay particular attention
to notes and foot notes associated with registers. Often the users,
myself included, do not read the fine print. The notes cover intera-
ctions with the HW and other registers and can give you unexpected
results if you do not read them.
The more control you get the greater burden to manage it well.
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I find the graphic configuration tools is easy to use. However, some times you need to understand the internal register to make changes on the fly while running the code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the advice I will stick with the Graphical interface. And thanks for the links. I am sure I will be back with more questions once I get the CY3210 Kit.
Alan