You are here

Software Development Models for PSoC 6 | Cypress Semiconductor

Software Development Models for PSoC 6

[re-printed from Cypress Developer Community - to learn more about PSoC 6 join the Cypress PSoC 6 EAP Community]

 

In Software Enablement for PSoC 6 – What to Expect I talked about what the Peripheral Driver Library (PDL) is. In PDL 3.0 – Designed for Flexibility I described the high-level design that supports multiple peripherals working on either core and operating on multiple data streams. You can use the PDL to take advantage of the power inherent in the PSoC 6 family, while simplifying software development.

There is an entirely different level of flexibility, and that's your choice of development tools. Until you get your hands on the PDL 3.0, this remains theoretical. But you’ll have some choices.

First, a tiny bit of background on the Cypress development tools. Then we’ll get back to PSoC 6.

Cypress provides PSoC Creator, an integrated design environment. If you aren’t familiar with PSoC Creator, let me describe it briefly. It enables the concurrent design of both the hardware system and the associated firmware. You drag components into a design, configure them and (when necessary) wire them together. You use a friendly UI to manage component configuration, pin assignments, system clocks, and interrupts. PSoC Creator is an expert system, and analyzes your design for conflicts or potential problems. Based on your design, PSoC Creator generates configuration and initialization code that you can use when writing the firmware. It supports iterative development – change the design, the generated code changes to match. PSoC Creator is free. It runs on the Windows OS.

PSoC Creator is a really good tool, and I thought that long before I joined the Cypress team. I have worked with code generators in one form or another for years, and I really like them. However, a fundamental principle that I subscribe to is, “your mileage may vary.” As much as I like PSoC Creator, you may not. We’re all about enablement, not about limits, and that includes your choice of IDE. This flexibility is designed into the PDL. We won’t make you change IDEs.

At a high level there are three paths you can take when you develop code using the PDL for PSoC 6.

Use PSoC Creator from beginning to end.

Use it for the system design, and as a development environment for your software. It includes a compiler and linker, a programmer to download the executable to the platform, and a debugger. It has all the features you would expect to find in a good IDE, like code browsing.

Use PSoC Creator generated code in your preferred IDE.

There are a couple of ways to do this. For supported IDEs (IAR Embedded Workbench and Keil µVision tools are on the list), PSoC Creator has defined an export/import process for project files. For any IDE, even if not “officially” supported, you can add PSoC Creator generated source files to the project file in your preferred IDE.

Use your preferred IDE from beginning to end.

While PSoC Creator can handle a lot of the system configuration for you (like clocks, setting up interrupts, and so forth), you absolutely can do this yourself. The PDL is, after all, a source code library. Just use the files you need. For example, the PDL includes code to manage the system and peripheral clocks. When PSoC Creator generates code to do this, it uses the PDL function API to get the work done. You can use the PDL source code directly, rather than the generated code.

When you use a third-party IDE from beginning to end, you lose access to only one PSoC feature. PSoC 6 devices have universal digital blocks (UDBs). A UDB contains programmable logic devices that enable you to build logic at the hardware level that links other hardware in your design, or to create a stand-alone block that performs a new function. If you want to develop a UDB, you must use PSoC Creator.

Of course, in the “real” world things can be a lot fuzzier. These three paths are real, but you can also find your personal sweet spot among these choices. For example perhaps you prefer to use snippets of code from the generated source files rather than complete files (a complex configuration structure perhaps). Or you like the PDL driver for one peripheral, but intend to create your own for another peripheral because of your unique requirements.

All of this is possible. The PDL is an enablement tool. You get all the source code. You can use it as you see fit.

Finally, you should be aware that choosing to use PSoC Creator components in your design presents some interesting benefits, and tradeoffs. I talk about that in a separate post, PSoC 6 Components and PDL Drivers.

Comments

aleealiyana_2599616's picture

While PSoC Creator can deal with a great deal of the framework arrangement for you (like tickers, setting up intrudes, et cetera), you completely can do this without anyone's help. The PDL is, all things considered, a source code library. Buy an Essay Simply utilize the documents you require. For instance, the PDL incorporates code to deal with the framework and fringe tickers. At the point when PSoC Creator produces code to do this, it utilizes the PDL work API to complete the work. You can utilize the PDL source code specifically, instead of the produced code.

Gal Ken's picture

I love the new site!! I know how much time, thought, and hard work it takes to bring a new site to fruition. You've done it, and beautifully! I'm raising my glass of tea to you in celebration of this enormous achievement!!! Hopefully, one day I'll have the pleasure to clink glasses with you personally!
color switch

 

sharpedward6_2584206's picture

This enabled a solitary stock keeping unit to convey a stunning mix of peripherals in light of the application and how the developer chosen to arrange the system online dissertation help uk. One outline may utilize a digital block for a timer another might utilize it as a custom serial interface.

SREH's picture

Attack of the killer chatbots! If either of those 2 posts above are real people I will eat my hat...

Quite ingenious really, it rewrote article sentences, 

Original:

"You can use the PDL source code directly, rather than the generated code."

Bot-esque:

"You can utilize the PDL source code specifically, instead of the produced code."

Original:

"When PSoC Creator generates code to do this, it uses the PDL function API to get the work done."

 Bot-esque:

"At the point when PSoC Creator produces code to do this, it utilizes the PDL work API to complete the work."

etc. etc.

If only they avoided embedding random links :D

alisondaewon_2642096's picture

A circulated design is the savviest framework for little to medium-scale picture chronicling and interchanges frameworks executions. In any case, the table shows a fascinating test to designer and implementers to make put away Do My Paper For Me image information, dispersed all during the system, seem, by all the books, to be built-in with a solitary get to point for clients.

allform templates's picture

PSoC Creator is a really good tool, and I thought that long before I joined the Cypress team. I have worked with code generators in one form or another for years, and I really like business plan template word. However, a fundamental principle that I subscribe to is, “your mileage may vary.” As much as I like PSoC Creator, you may not.

ellie7067_2660361's picture

While PSoC Creator can contract with a huge agreement of the framework bargain for you (like tickers, setting up encroach, et cetera), write my assignment, you wholly can do this with no anyone's help. A dispersed design is the savviest structure for little to medium-scale picture chronicle and interchange frameworks implementation. In any case, the table demonstrates a charming test to fashionable and implementers.

anishasaifi123_2794626's picture

Stunning articles and astonishing plan. Your blog area legitimizes Chandigarh Escort Services the greater part of the positive input it's been getting. 

 

Oswinorel_2660541's picture

What I observed to engage with kind of software, The executions will become necessary part of it, With in time its been important for the user to overcome the command to run operations of it, As association with web design company in UAE, Its help more efficiently to work with. Apart from it I personally prefer to use it at advance level.

dubaimonstersmarketing_2675591's picture

Well if you really want to learn development and go through a series of steps, first step is to go for a good website design company and do internship there. If you start small you can go big later on. Start with something that is consistent and later on it will give you enough value to develop your software.

buhatala1_2689821's picture

The true cause of Alzheimer’s is not really known in South Africa or the rest of the world. However Dr. Dale Bredesen an American doctor has been doing research on Alzheimer’s over the past 30 years and has come up with some remarkable results which will ultimately be able to heal this terrible disease. He has stated the following as posted below. smart watches in pakistan

buhatala1_2689821's picture

Outstanding bit of work! Clearly, it’s looking awesome. I’m dealing with organizations provide thesis provide online for learners. Since my essential potential is writing, I might want to thank you for discussing these concepts. maktaba ludhyanvi

buhatala1_2689821's picture

If you have a good handle on Greek mythology and ancient legends, you will better appreciate the many references to them in this story.  Either way, this is an engrossing work of literary fiction.  Bonus:  if you’re in a book club, this would be a very, very, VERY discussible choice for your group. IT Experts

adammilnejhon_2692776's picture

PSoC provides the nice platform for integration. And easy to use for the end user because of its friendly user interface. I have to interconnect my analog and digital devices at best essay writing service UK, so what type of  path do I need for integration.

taylorshaw151_2687531's picture

The site has been providing a lot of such interesting topics regarding PSoC. The codes offered here are very helpful in solving all the issues arising while operating. The detailed instructions along with the codes come pretty handy to clear any doubts while performing it. http://instantechsupport.com/

Games A10's picture

It is my first time I visit here. The way you create a website very thorough and good. This is very very impressive. I found so many entertaining stuff in your blog, especially its discussion. I will continually be coming on a regular basis you just read your posts.
a10, color switch, animal jam

 

chamiyamodal_2741421's picture

I have found this article totally interesting I am very glad to get this one also here. and Much obliged for your page! Your offer data it helped me a great deal! I appeal to God for you to be glad and fruitful in your life. Escorts Service in Delhi The information you have posted is to a great degree accommodating. The districts you have suggested was incredible. An obligation of appreciation is all together to share...  

zipzapp279_2743691's picture

Thanks for your personal marvelous posting!

I quite enjoyed reading it, you happen to be a great author.

I will make sure to bookmark your blog and will often come back in the future.
I want to encourage that you continue your great posts, have a nice weekend!

https://hdsongz.com , https://irupes.com , https://mastvdo.com

it_2763021's picture

There's a lot of dry maintaining services you can get, but that is definitely right for everyone? The first help selecting the proper service is to discover positive testimonials from acquaintances and web based. Next, buy some information within the various organisations you're pondering home maids dubai

renukachouhan2015_2765426's picture

thanks

designerdavid172_2769616's picture

"I have witnessed the steady growth of this industry for years. When I became part of the team for Rush Essay, I thought we would be writing academic content for students with below-average capacity. I was in for a surprise. We got orders from all types of students - lazy ones who only want to find an easier way out of a messy situation, as well as really smart young people who simply couldn't find the time to do their ow... essay writing service

designerdavid172_2769616's picture

There are so many added versions and services, which we have in store for you. If you want to know more about those, please feel free to give us a call. We are happy to provide you with the best help, as asked for from our side.
Brand Identity Design Services

anishasaifi123_2794626's picture

Well, somehow or another I got Call Girls in Delhi the chance to scrutinize loads of articles on your blog. It's dumbfounding aerocity escorts how fascinating it is for Escort in aerocity me to visit you much of the time. 

ANAND KUMAR_'s picture
ANAND KUMAR_'s picture
ANAND KUMAR_'s picture
ANAND KUMAR_'s picture
iammuneebqadar_2830521's picture

If you want to get in the top 10% of your niche, you need some serious work ethic. For instance, if can start with a small website design Auckland agency, then you can move forward and take that learning to the next level by starting your own. Once, you get the grip of things, then you can start to get the things done in real manner.

Jonathan David's picture

In light of your plan, PSoC Creator produces Essay Help design and introduction code that you can utilize when composing the firmware. It bolsters iterative advancement – changes the outline, the created code changes to coordinate. PSoC Creator is free. It keeps running on the Windows OS.

Mark petterson's picture

Cypress gives PSoC Creator, an incorporated UK Essay Writing Service outline condition. In the event that you aren't acquainted with PSoC Creator, let me portray it quickly. It empowers the simultaneous outline of both the equipment framework and the related firmware. You drag parts into a plan, arrange them and (when vital) wire them together. 

Thomas Johan's picture

You utilize a cordial UI to oversee part setup, stick assignments, framework timekeepers, and intrudes. PSoC Creator is a specialist framework and investigates your plan for clashes or potential issues.

UK Assignment Writing Service 

iampurnimasharma271_2880701's picture

keep sharing all unique information it is really helpful. and I also like to reading this type of valuable post

 Call Girls in Delhi

myselfmarybell_2880781's picture

Thanks for this sharing this type of info essential elemnet.. Thanks.GrabbestOffers.com

jhonessteve05_2895236's picture

You Article has given me the complete information for which i am doing quarries on Google check Hostgator Black Friday Sale 2017 which can save the maximum one on your custom domain name. thanks you so much. 

kumarraj01197_2887376's picture

Kolkata maintenance services work only by those girls who make cards for our firm criteria. We believe your corporate later, therefore we offer those girls who will leave long-lasting work in any public act.Female Escorts in Kolkata, Escorts Service in Kolkata, High Class Kolkata Escorts, Independent Kolkata Escorts Service, Call Girls in Kolkata, Independent Female Kolkata Escorts

ainsleyalexavier_2927531's picture

I have discovered this article thoroughly intriguing I am extremely happy to get this one additionally here. what's more, Much obliged for your page! Your offer information it helped me an incredible arrangement! I request to God for you to be happy and productive in your life. Buy Dissertation

edwardpeter0010_2927551's picture

The PDL is, all things considered, a source code library. Simply utilize the documents you require. For instance, the PDL incorporates code to deal with the framework and fringe tickers. At the point when PSoC Creator produces code to do this, it utilizes the PDL work API to complete the work. You can utilize the PDL source code specifically, instead of the created code.  Buy Dissertations Online

anastasiaamanda12_2927596's picture

This empowered a singular stock keeping unit to pass on a shocking blend of peripherals in light of the application and how the designer orchestrated the framework Buy a Dissertation. One blueprint may use a computerized obstruct for a clock another might use it as a custom serial interface.

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.