/r/PSoC
A Place to discusss all things PSoC.. projects, example code, PCB's, schematics, product discussions.. etc
As in the title, I just thought this would be a good place to share our PSoC questions.
I currently have the PSoC 4 pioneer and apart from the official Cypress forums there isn't much of a place to ask questions and discuss code.
I will upload my example code as I do it and hopefully others will join in the future..
/r/PSoC
Hello, I'm planning on which MCU to use when the day comes that the PSOC Creator is not longer available or the PSOC4 line of MCUs are no longer available. I've been looking at the STM32 IDE and the MCUxpressor IDE for NXP. I'm trying both of them out to see which one works best.
What other MCU IDE are as easy to use as the PSOC Creator?
Hello,
I have a project on PSoC 3 (CY8C3246PVI-147) that I would like to transport to PSoC 6 (CY8C6347BZI-BLD54), however, in the TopDesign of the project for PSoC 6 some components appear to be incompatible and I cannot find their counterparts in the component catalog. How can this be solved?
As a version of PDL I have 3.1.7 which I think is the latest most up-to-date.
Thank you very much
I'm working on developing a motion controller with the PSOC 3, and I'm having issues getting it to program. It seems like the PSOC itself is functioning properly, as the voltage at VCCA is 1.8V with a 3.3V input at VDDD and VDDA, however neither PSOC Creator or PSOC Programmer can acquire the device through the Miniprog 3. I've ordered a board with the minimum design requirements of the CY8C3866PVI-021 in an attempt to isolate the issue to no avail.
I've attached an image of the schematic and the PCB board layout. I tried to make it as close as possible to the application example available in the datasheet, but I have no experience with this chip and I'm unsure how to further troubleshoot the issue.
I'll also preemptively apologize for the schematic being a little difficult to read; it was the fastest way to breakout the pins. If necessary I will rework the schematic to be a little more readable. If anyone has any suggestions on where I should go from here please let me know. Thanks in advance!
SCHEMATIC - https://smallpdf.com/file#s=f720ab4c-f79d-46e3-949c-7a955f33654e
PCB - https://smallpdf.com/file#s=d3ce5cfc-c6cd-4efe-b70e-a76953d23ff7
Do anybody have experience in building a program for mastermind. I have an assistent for school and Im stucken. If anybody want to earn some money or crypto. Please let me know. The program is mostly done butt I have a few gaps to fill in. PSOC CY8CKIT-046 with schield on top.
I like using PSOC Creator but that tool will eventually die so I deciding to stay with the Modus Toolbox or jump to Microchip's MPLAB IDE.
Does anyone like the Modus Toolbox?
I made a cool case for the PSOC6 Wi-Fi BT PROTOTYPING KIT I use for school. So if you have a 3D-printer or want me to print and ship it to you. Let me know!
https://www.printables.com/model/732212-psoc6-wi-fi-bt-prototyping-kit-cy8cproto-062-4343w
Dear Sir/Madam, Good day, If we want to add widgets, buttons, graphs, images etc. Do we need an SD card to upload GUI files from a GUI Design Software to a LCD?
We are trying to use Segger AppWizard with our CY8CKIT-062-WIFI-BT we are trying to load image but it is not loading there is an example that uses FreeRTOS and it uses the segger AppWizard. I'm wondering if we have to use the RTOS properly in Modus Toolbox in order to use segger AppWizard in our Modus Toolbus Project. Please provide us with kind support thank you best regards.
How to generate magnetic field in psoc
Hello, all ...
Is it possible to log additional info (perhaps a reason code) when a watchdog not being petted results in a restart? When a stack overflow causes a restart, for instance, we can log the name of the task that overflowed, as well as the address. I'd like to be able to log a bit of additional info when a WDT causes a restart i.e. if the watchdog was on the M0p vs. the M4. Is this possible? If so, how? The watchdog example i've seen in Infineon's github is far too simple and doesn't show how to do anything like this.
Regards,
John
I'm having a hard time finding out what the difference is between these two SKU. Support just said those pertain to peripherals, but didn't go as far to say 0 is this and 4 is this.
I just found this subreddit. I've recently been using CY8CKIT-059 in my 286 system and VGA card builds. These PSoCs are great. If you're interested, I posted a video that a shows a bit of how I'm using them (fairly basic address decoding / glue logic, and some VGA timing and address generation).
I am making a machine that inflates and deflates a balloon using an air pump. Inside the balloon is the pressure sensors that I want to reach a certain air pressure and tell the PSoC to stop the air pump and reverse it. I have EXTREMELY little experience and I have code from a previous breathing LED Project that I think may or may not be helpful. Thanks everyone!
#include "project.h"
uint8 ii=0;
int main()
{
CyGlobalIntEnable;
PWM_1_Start();
Clock_1_Start();
while(1)
{
for(ii=0;ii<255;ii++)
{
PWM_1_WriteCompare(ii);
CyDelay(5);
}
for(ii=255;ii>0;ii--)
{
PWM_1_WriteCompare(ii);
CyDelay(5);
}
}
}
Let's look back at some memorable moments and interesting insights from last year.
Your top 10 posts:
Hi Everyone,
I want to design a Psco6 based PCB but I cant find its layout guidelines.
Can anyone suggest me how I can get those files.
I have contacted the Infineon sales team they share some links of documents but the layout doc was not there.
Let me know if anyone can help me out.
Thank you.
I am using CY8C5888LTQ-LP097, and I would like to interface it with MATLAB. I would want to send float32 data to MATLAB so that I can use for Kalman Filter. Any leads is appreciated.
Hello, I've been using PSoc Creator and loved it but I'm thinking I should learn the Modus Toolkit. So I want to create a project for a device not a kit. I've been following the document:
My device on my custom board is a CY8C244PVI-422.
I've created an empty project like the documentation said and now I'm looking for the Library Manager. Where is that?
Hello, all ...
I have a custom service with a characteristic. The characteristic is set to notify in PSoC Creator's GATT Settings. I also have client iOS and Android code that is supposed to be updated when the notification state of this characteristic changes. So, the iOS and Android clients scan for the PSoC6 device, finds it, does a service discovery, and then sets notifications to on for the custom characteristic I made. When the client code does this, a callback is called to let the client know that notifications are indeed on for that characteristic.
The issue is that this doesn't always work (the iOS / Android callbacks for onNotificationStateUpdate are not always called). I want to be sure it's nothing silly i'm doing in the firmware, so i'm wondering if there is an event in the PSoC6 BLE generic event handler for when the client turns on notifications on a characteristic, and also if there is an event that tells me that the PSoC6 BLE stack is going to update the client that the notification state for that characteristic has changed.
Can someone point me at the CY_BLE_EVT_* events that correspond to these? I'd like to make sure the firmware is doing the right thing so I can tell if the issue is with the firmware or the mobile code.
Regards,
John
Hello,
I have purchased a Bluetooth module before from Cypress "CY8CKIT-143A". I was able to operate it with 1mA to send a temperature signal for 20 meters. How to run the temperature sensor (Thyrmesotr) example was available in the tutorial which was easy to understand. Now I am looking for a similar module with Ultra-low-power to send a signal 250 meters or more. I heard that a new Bluetooth 5.0 module is being released and I also read about IROC™ Bluetooth Modules. However, I want to listen to your suggestions. what is the lowest power-consuming module that operates around the 250meter range?
(I would like to only send one signal per 1 second in an open field)
Thank you,
Hello, I just stumbled on the Modus Toolbox and wanted to get comments on what other think of it. I've been using the PSoC Creator and love it. Is PSoC Creator going end of life?
Thank you
Hello, I've been using the PSOC 4 and 5 with the PSoC Creator IDE and love it. I've seen some talk about using emWin to create GUIs and would like to know more. I have downloaded the Modus Toolbox and download the emWin Graphics Library for PSoC and also the Segger AppWizard.
So, where do I start? Anyone know of a tutorial how to create GUIs for the PSOC MCU's?
Thank you
Hello,
I came up with a DDS implementation on a PSoC 5LP that runs in hardware and requires no interrupts. It uses a table in SRAM for any arbitrary waveform. It currently uses a 16 bit accumulator and an 8 bit amplitude output.
UDBs and DMA can get confusing, but it basically follows these steps:
Doing pointer arithmetic in hardware, then copying that address to another DMA channel's transaction descriptor is probably the weirdest thing I've done with a PSoC.
PSoC Project:
https://github.com/AbiesDSP/DDS-PSoC
If you are not familiar with DDS: https://www.analog.com/en/analog-dialogue/articles/all-about-direct-digital-synthesis.html
I recently ordered a CY8C24423A-PXI
I also have a miniProg3 but I haven't been able to flash the chip, I have tried different versions of PSoC Programmer (though older versions don't support the miniProg3) but this exact chip doesn't show up and I even tried through PSoC Designer directly by selecting the correct chip (versions tested 5.3 and 5.4) but didn't work either
Do I need specific software or hardware ?
Hello, all ...
I'm setting up a CI environment for our firmware builds. I'm using the Cypress version of openocd to flash the fw to the PSoC6 (via the "program" command), and this works. However, the "reset" command does not reset and start the fw running. I've hacked around this by scripting the old ppcli tool to do OpenPort / SetAcquireMode "Reset" / DAP_Acquire, which seems to work, but it would be nice to be able to use the openocd "reset" command i.e. "reset run", as it seems that this is exactly what it's supposed to do (but does not). What am I missing?
Hello, what are some options to interface PSoC 5 to Ethernet? I have found a chip from MicroChip the LAN8742A but now sure how easy it will be.
Any comments?
Thank you
Hello, I really like PSoc Creator IDE. I've played with STM32 Cube IDE and didn't like it. The IDE for the PIC mcu's also I don't like. PSoc Creator is so much better. I have not played with TI's CCstudio or anything from NXP.
I'm just wanting to see if there is anything better than the PSoc Creator IDE?
I like the graphic entry for configuring pins.
Comments?