Is there a way to get & set the Pin/port configuration via a raw text/csv/xml/any-non-binary-file.
alt. if there is some hidden way to script psoc creator to modify things like this?
Let's say tou need to setup 60+ something gpio's in sequence, doing this by point&click doesn't make sense, I'd rather to it programmatically.
There are certain registers which are used to configure the GPIOs. They are accessible by firmware during normal operation. Further details and register maps are in the PSoC 3 and PSoC 5LP Registers TRM documents that are available for free from the Cypress website-
Please see page #19 of this Application Note-
Hi & thanks!
What I'm after is how to do this in PSoC Creator.
Let's say if the "Pins" view would be represented as a plain text file as part of the project.
This way it would allow to auto-generate that from a netlist coming from the EDA software!
Vice versa, f done by hand in creator, it would be nice to get the list of netname, port&pin info as plain text as it would allow better version-control (Git, Svn etc) as line-by line changes would reveal the actual change between two project check-ins.
Great list for what to put in the .gitignore, but doesn't answer my question.
To clarify what I'm after:
This would greatly improve PSoC Creator and the abilities to collaborate efficiently on a project with several developers
Cypress, really need your help and solution to this. Working multiple people on a project makes the binary nature of psoc creators project files a struggle. Please consider separating the pins view to a plain text format.
This is not the official Cypress support, and nearly all of the people here are just Cypress users, not employees.
When you want to create an official support case, go to the Cypress home page (being logged in), 'My account' at the top right, then 'MyCases'. You usually get a fast response.
PSoC Creator 4.0 has new feature to optionally generate diff-able files for Schematic and Design-Wide Resource. This helps version-control's diff-tool to see the difference between versions PSoC Creator files. Please check link below and see if that is helpful.
However, I don't think there is a way to change the Schematic design by writing to files. If you still have concerns, please contact Cypress Support and file a support case for further assistance.
That's a great addition, but what we really would like is to read and modify the pins view in a plain-text format (or via script / API would also be ok).
How about adding a netlist format for the schematic and a simple mapping file format (like .yml or similar) for the function -> pins -> port editor.