Simple Getting Started Question

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

cross mob
Anonymous
Not applicable

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

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

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.

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

...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

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

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.

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

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.

0 Likes
Anonymous
Not applicable

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.

0 Likes
Anonymous
Not applicable

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

0 Likes