Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > Program Conversion from PSoC1

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



Program Conversion from PSoC1
Moderator:
ANCY

Post Reply
Follow this topic



Program Conversion from PSoC1

Tinadf posted on 05 Mar 2012 2:59 PM PST
Member
3 Forum Posts

I am interested in converting a PSoC1 program to PSoC5.  What is the best method for doing this?  Do I need to start from scratch with the PSoC5 or is there a tool to aid in a conversion process?  Thanks.




Re: Program Conversion from PSoC1

Gautam Das posted on 05 Mar 2012 08:27 PM PST
Cypress Employee
742 Forum Posts

Hi Tinadf,

 

There is no tool to directly convert a PSoC1 project created in PSoC Designer to a PSoC Creator project for PSoC 5.

You'll have to recreate the project using PSOC Creator.

Having said that, there is no need to press the panick button, as creating project using PSoC Creator is fairly simple and intuitive. There are "Components" in PSoC Creator analogous to the "User Modules" available in PSoC Designer.

If you have a schematic or block diagram of the project which has to be implemented in PSoC 5, you can do it comfortably using PSoC Creator.



Re: Program Conversion from PSoC1

U2 posted on 05 Mar 2012 09:17 PM PST
Cypress Employee
589 Forum Posts

Converting  PSoC1 code to PSoC5 code should be fairly simple. If the code is written in C, then you can copy the code directly in to PSoC Creator environment and carefully replace the APIs and user modules. The API used for PSoC1 now need to be replaced with APIs for PSoC Creator for each component. 



Re: Program Conversion from PSoC1

Tinadf posted on 07 Mar 2012 11:42 AM PST
Member
3 Forum Posts

Thank you both for your input.  I do have the block diagram and am going to start making the move to PSoC5.  My biggest concern was that I would have to rewrite the code (which is in C) and that it would be difficult to find & configure equivalent compnents.  Again Thanks for the help.  It is much appreciated!!



Re: Program Conversion from PSoC1

Gautam Das posted on 07 Mar 2012 08:19 PM PST
Cypress Employee
742 Forum Posts

Hi Tinadf,

 

You can refer to the component catalog in Creator project for all the components available. The components can be configured as it was in the PSoC Designer project.

Once you place all the required components, you must "Build" the project. This will generate all the required C and Header files for the components placed. Then you can easily place the .c code from Designer project to Creator project with relevant changes in the APIs.



Re: Program Conversion from PSoC1

vgy posted on 11 Feb 2013 10:06 PM PST
Top Contributor
133 Forum Posts

Hi to all,

here i am attaching images of old components i.e designer 4.4, what are equiavalent blocks in Creator 2.0 for psoc 3 CY8CKIT-001 DVK Board.here i am implementing Pulse Oximeter.

Regards

PRP



Re: Program Conversion from PSoC1

vgy posted on 11 Feb 2013 10:08 PM PST
Top Contributor
133 Forum Posts

attached images



Re: Program Conversion from PSoC1

vgy posted on 11 Feb 2013 10:09 PM PST
Top Contributor
133 Forum Posts


Re: Program Conversion from PSoC1

vgy posted on 11 Feb 2013 10:09 PM PST
Top Contributor
133 Forum Posts


Re: Program Conversion from PSoC1

danaaknight posted on 11 Feb 2013 04:20 AM PST
Top Contributor
1773 Forum Posts

Oximeter1.jpg & Oximeter2.jpg

 

     All blocks have basic equivalents in PSOC 3/5, buffer, timer, UART

 

Oximeter3.jpg

 

     PGA has equivalent, LPF in PSOC 3/5 becomes a digital filter, you would use DMA

     to feed it from ADC, then followed by DAC to come back to analog. ADC has delsig

     equivalent in 3/5. Same for Buffer component. SCBLK, there is a mixer block in 3/5.

 

Regards, Dana.

 






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.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20