- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying to move one of our designs from the PSoC4 platform to PSoC6 and having a lot of work. Many of the function call has changed names and
now the latest problem seems to be that using the Pins component with aliases for the pins will not any more generate #define macros
for referring to the pin.
Also the links from "Help->Support->*" seems to point to some nonexeisting site 😞
Deeply dissapointed with the many bugs in the PSoC6 components...
Solved! Go to Solution.
- Labels:
-
PSoC Creator Software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You will get this \GeneratedSource\cycfg_pins.h. file by following the steps which as follows:
Go to File->new -> ModusToolbox Application
and then select the Device .
then Import the ModusToolbox based CE project .
modus.mk is the project file to be imported or opened.
I did so and I was able to see the file as shown in this image below:
Note: Ensure that your psoc6pdl_Cortex-M4 file is opened.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please refer these Code Examples for GPIO usage in PSoC6, this will give an idea of all the possibility of usage available in PSoC6:
https://www.cypress.com/documentation/code-examples/ce220263-psoc-6-mcu-gpio-pins-example
https://www.cypress.com/documentation/code-examples/ce219521-psoc-6-mcu-gpio-interrupt
Thanks,
Ankita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From the document you pointed out:
The preferred read method for use with ModusToolbox is using #defines provided by the configuration tool pin names. Pin name
#defines are located in \\<ProjectName>_config\GeneratedSource\cycfg_pins.h.
The problem is the THERE IS NO SUCH FILE. Searched all the generated files for any kind of reference to
the ALIAS names I gave the pins, but with 0 result...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You will get this \GeneratedSource\cycfg_pins.h. file by following the steps which as follows:
Go to File->new -> ModusToolbox Application
and then select the Device .
then Import the ModusToolbox based CE project .
modus.mk is the project file to be imported or opened.
I did so and I was able to see the file as shown in this image below:
Note: Ensure that your psoc6pdl_Cortex-M4 file is opened.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have any Modus Toolbox in the File->new selection ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You should find something like this as highlighted
If you are unable to find so please try uninstalling and then installing ModusToolbox from this link:
https://www.cypress.com/products/modustoolbox-software-environment
Regards,
Ankita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
This blog can also be helpful in your query:
Thanks,
Ankita