PSoC™ 5, 3 & 1 Forum Discussions
Is there a way to set a 10 digital outputs using an parameter in a loop like an pinMode() commands in Arduino?
A single line of code in a loop...
Show LessHello,
anyone knows if it's possible to have a PSoC 5LP enabled with encryption by UDBs and/or logic gates? I can't estimate if the available logic ressources are sufficient to implement it completely in 5LP hardware. The only thing I found on Cypress website is an article regarding magnetic stripe reader mentioning some kind of encryption, but not saying which type of encryption.
Regards,
Ralf
Show LessI've just released an open source project based around a CY8CKIT-059 (FluxEngine; it's a floppy disk drive controller). Currently I have to tell people to download and install PSoC Creator in order to build the firmware and program the board (using the KitProg).
I'd rather like to avoid this. I can provide a precompiled .hex file which people can program without needing to compile it themselves, but they still need a programmer. This only appears to be distributed alongside the IDE, so they still have to install that, which I'd like to avoid.
Is there a way to get either the just the Cypress programmer as an individual download? Or some other way of getting the .hex file onto the device? (Ideally a standalone open source programmer I could integrate into the rest of my software would be ideal...)
(BTW, mass storage programming doesn't support the PSoC5, which the CY8CKIT-059 is based around.)
Show LessI have a design with a PSoC 5LP and two CY8C9560C port expanders. One of them has A0 grounded and the other one has it tied to +5V, which give I2C addresses of 0x20 and 0x21, respectively.
SCL and SDA have the correct pullups and I have no trouble communicating with other devices on the same I2C bus.
When I try to write to either of the expanders, they don't respond:
Oddly enough, 15ms later, both SDA and SCL get set low (and the PSoC isn't attempting any more I2C transactions; I currently have it sitting in and endless loop after the first one) and then high again 70ms later:
Anyone have any ideas as to what's going on here?
Thanks.
Show LessWe are using CYCMBR3116 for development of touch panel switch for home automation.
CS0 is used for proximity trace and other other sensors are used for buttons.
We have initialised register 0x00 and 0x01 with value 3FF1.
we have configured following registers for fine tuning proximity
proximity resolution value 3 (13 bit).
proximity threshold value 62.
proximity enable register value 0x01.
proximity is not sensed even after touching the proximity trace?
Can anyone help me to resolve the above mentioned issue.
Show LessHi,
I would like to use the USB port (not the THUMB Connector) on the Demo kit CY8CKIT-059,
and so I have taken working code example "CE195277_ADC_and_UART01" and added the USBFS component (as per the directions of the codeexample USBFS_UART ) . It compiled good, but giving me error unrecognized USB device when I try to connect the USB port, I have tried to use the USBUART_CDC.inf file available under the code example directory, but I am getting the error saying it is not compatible with WINDOWS10 X64 platform,
Please let me know how to overcome this issue.
Please send me working project and USB driver file (.inf) in case to save the time back and forth.
Thanks,
Naga.
Show LessHi - I'm having trouble getting the thermistor example (ThermistorCalc Example) to route. The example come with the pins assigned. That builds fine.
If, however, I unlock the 3 pins (Vhi, Vlow, VTherm) and try to build it fails, complaining not able to route the AMUX.
What is the procedure to get this to route? Must I select and lock the pins? This seems like a bug.
Any experts out there?
thanks much - Paul
Show LessI have developed firmware for a family of products that we sell, all targeting the PSoC 5LP, which can be configured to be run on one of a few different products. Essentially I have a configuration file to compile against, and then I selectively enable/disable certain pages containing hardware that is product-specific (by manually disabling/enabling the schematic pages).
I am in the middle of working on an automated build system, and ideally it would automatically create a firmware build package for each separate product whenever I push new firmware.
In order to do this, I would need the ability to automatically do some of the things I manually have to do. After a bit of experimenting, I get the impression that there is no way to do this (please correct me if I am wrong).
Any of these options would be solutions that would solve my problem:
- Ability to disable a schematic page from a CLI or configuration file
- Ability to disable a component and all APIs for that component instance from CLI or configuration file
- Ability to change the environmental variable CY_REMOVE/CY_SUPPRESS_API_GEN for a component instance from a CLI or a configuration file
- Ability to have CY_REMOVE/CY_SUPPRESS_API_GEN in each component instance depend on some user controllable variable/configuration. (For instance, change the value of CY_REMOVE from "false" to "GetConfig()==$config1", where config1 is held in some config file that can be updated and GetConfig() is some user defined function)
- Ability to make changes to a non-binary format of the cysch file that would be reflected in the cysch file (such as make a change to the .cysem/.cyvis files that would actually change the .cysch file)
I am hoping that I can make a feature request that would solve this problem for me. For now, my workaround is to have multiple copies of the project that all point to the same source, and any schematic changes that I make in shared portions of the designs (90%), I need to remember to make that change to all versions.
Thank you.
Show Lessuser_13463998@Dear Sir,
Regarding PSoC 5 LP and C language, it is still a beginner and I am in trouble because I can not do a full-scale program.
I hope to be able to complete the project as soon as possible with an effort.
In this community, Mr.Tanaka thanked you very much for interrupt handling.
This time, I gathered various samples and read manuals, but I came to learn advice and lectures by the members, because I am a beginner, I do not know what is good and what to do.
First of all, it was possible to set the mode in the switch-case statement to 0 → 1 → 2 → 3 → 4 → 5 → 0 by MODE_SW interrupt.
There is a tact switch called UP and DOWN on the outside, and I want to be able to use it when mode is 1 and 2.
It counts up or counts down every time it is pressed, but if you press and hold it for a long time it will not count how you can count up and count down fast.
In mode 1, the upper limit value is set, while in mode 2, the lower limit value is set, but I want to save it to EEPROM even when the power is turned off.
The setting can be changed, but once the upper limit of mode 1 and the lower limit of mode 2 are decided, is there any way to turn on the external LED?
I tried it with hardware, but with the combination of LUT, counter, and comparator, I will not do the function as specified.
After all it may be impossible unless you are accustomed to handling C language.
Then later I noticed that unless the MODE_SW button is pressed, you will also need to check that the UP and DOWN buttons are not pressed.
Hello,
I'm using a PSOC 5LP097 KitProg: CY8C5868LTI fo my project.
I want to store data on a SD card and I'm using this document to help me :https://www.cypress.com/file/135136/download
I follow all the steps, but when I want to build the project have got 2 errors:
- prj.M0120:Build error: Cannot find -lemf16nosnlfn
&
- prj.M0120:Build error: The command 'arm-none-eabi -gcc.exe'failed with exit code '1'.
I don't know from where theses error comes, I sought on internet but nothing.
Pls if you can help me, this is a work for my study's diploma
Cordially
I join you my project
Show Less