PSoC™ Creator & Designer Forum Discussions
Hi,
I'm implementing two custom components, both based on SPI, one use the SPI ( UDB version ) and the other use the SPI on PSoC4 devices ( based on SCB block ), i'm adding some custom parameter types to one of them, it's a little time consuming so i would like to know if this custom parameters are saved as text on the cysym file, if so i could copy that text from one custom component to the other and save time.
Also other problem i had, when creating the schematic implementation there's no way to update the custom component symbol, you can only generate it again, so i lost all the work i did before. Maybe it would be useful to add the option to update the component symbol based on the changes on the implementation.
Hope there's a way to solve this issues.
Thanks in advance 🙂
Carlos
Show LessThis is more of a "fundamental C" question, where we are using the PSOC5LP to accomplish our task. Here goes:
Problem statement:
We have a "special.c" file in PSOC creator, that has some of our special proprietary algorithms. We know they work on our PSOC5 development board through testing and debugging. We want to allow our customer to use the algorithms, but we do NOT want them to "see" the algorithms (I.E. the "special.c" file should be a "black box" to the customer). As a side note, this project's schematic (.cysch) and pin configurations are common information between the two of us (not secret).
In order to do this, we want to compile special.c into special.o (the object file), and then give this special.o file to the customer.
--> How do we create the external inputs/outputs in "special.c" so that the customer can see them, but not see the internals of special.c?
Show LessI used the Chinese language GB2312 coding fonts, but PSoc Creator does not seem to support GB2312 coding, I would like to ask you can change the coding method?
Show LessHi all,
I purchased a CY8CKit-059 and I want to make the kitprog psoc loading custom code. I downloaded and installed the files available under http://www.cypress.com/file/139876 but I found no kitprog_bootloader.hex as mentionned in the KitProg User Guide.
Do I have to generate it using bootloadable component?
Thanks in advance for your help.
Regards,
Herrmattoon
Show LessHello,
I'd like to use a bidirectional pin and change its direction from the code. This doesn't seem to be possible using the provided API. What's the easiest way to configure a bidirectional pin as input, and then change it to output?
I'm using a PSoC 5LP.
Thanks, Jacob
Show LessHello,
I don't understand how to do a thing I believe should be pretty straight-forward. Which component should I use to create a node that has a value that I can control from code?
For instance, let's say I want to control one of the inputs to an OR gate from code - how to do that?
I'm using an PSoC 5LP.
Thanks, Jacob
Show LessOver on the PSoC Sensei Blog, Brad has started posting about my implementation of an Integer Square Root Calculator using datapaths. Here is the component.
A quick overview:
8, 16, 24 & 32 bits.
In 32-bit mode, takes a 32-bit input and calculates a 16-bit square root in at most 114 clock cycles. Smaller widths are even faster.
CPU-mode for easy firmware interaction, DMA-mode for HW-controlled, CPU-free operation.
Even if you have no use for a hardware-based square-root calculator, I think this is another good example of just how flexible and powerful the PSoC datapaths are.
Show LessHi
I'm a Windows10 user and have a problem with Windows Update as shown above.
Windows Update says, "Cypress - Other hardware - USB Bus Enumerator - Error 0x800f0217".
How can I solve this?
I want a solution whether Windows Update based or non Windows Update based(i.e. solve manually).
Thanks.
Show LessThere's a bit of a mess with command line options passed to the compiler in a large PSoC Creator based project I'm working on. There's some per-file compiler options needed, but they're currently applied project wide, which is causing a substantial number of warnings in the build output.
I'd like to jump in and fix them, but the prospect of:
- Find a source file
- Right click, select "Build settings..."
- Expand "Compiler" option, select "Command Line"
- Fix the per-file command line options
- Repeat
Isn't very compelling. I poked around with cyprjmgr.exe and the other tools in the bin folder, but I don't see a documented way to change these settings via a script.
Is there a command line tool available where I can change these settings?
If not, can someone elaborate how to identify where the per-file build settings are stored in the .cyprj file so I can use a script to do batch edits?
Show LessHello,
I want setup a CAN Receive Buffer with 11Bit-ID 0x7FF but I can't get it to work. After pressing ENTER always stands 0x001 in the ID field.
Same at Transmit Buffers, max 0x7EF is working all after 0x7F0 will result 0x001.
It is a bug or what is the problem???
Reagrds,
Jackson
Show Less