/r/PSoC

Photograph via snooOG

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

551 Subscribers

3

Life after PSOC Creator

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?

3 Comments
2024/08/03
19:13 UTC

1

PSoC 6 incompatible components in PSoC Creator TopDesign

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

https://preview.redd.it/y7en08zg2i8d1.png?width=400&format=png&auto=webp&s=8fb0ad76f7a6e69b41d98c36cd291b4bd8b347cb

0 Comments
2024/06/24
10:51 UTC

3

Any problems with PSoC Creator running on Windows 11?

1 Comment
2024/06/15
21:44 UTC

2

Issue programming the PSOC3

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

2 Comments
2024/06/11
12:48 UTC

0

Mastermind psoc

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.

0 Comments
2024/04/21
11:26 UTC

1

Do you like the Modus Toolbox?

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?

8 Comments
2024/04/10
23:52 UTC

1

PSOC6 Wi-Fi BT PROTOTYPING KIT (CY8CPROTO-062-4343W) | Case/Container

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://preview.redd.it/ox2tdy8qrtdc1.png?width=433&format=png&auto=webp&s=4d75b76c1d35510489bfc9bc1e4c2901303710e6

https://www.printables.com/model/732212-psoc6-wi-fi-bt-prototyping-kit-cy8cproto-062-4343w

0 Comments
2024/01/21
17:04 UTC

1

Do we need an SD card to upload GUI files from a GUI Design Software to a LCD?

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?

0 Comments
2023/12/02
11:33 UTC

1

can Segger AppWizard work without freeRTOS in ModusToolbox?

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.

0 Comments
2023/12/01
10:38 UTC

1

Magnetic field generation

How to generate magnetic field in psoc

0 Comments
2023/07/07
10:29 UTC

1

How to log additional info for PSoC6 WDT restarts?

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

2 Comments
2023/05/14
01:19 UTC

2

Difference between CY8C5888FNI-LP210T and LP214T?

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.

0 Comments
2023/03/10
12:09 UTC

1

Making a light up sign for Twitch with capacitive touch using PSoC

1 Comment
2023/02/28
14:16 UTC

5

Using CY8CKIT-059 in a couple of my projects

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).

https://youtu.be/HYzN6PbNF1w

0 Comments
2023/02/06
04:24 UTC

1

How to read barometric pressure sensor and have those readings be called back?

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);

}

}

}

0 Comments
2022/11/17
04:18 UTC

6

PSoC 6 Board design

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.

2 Comments
2022/09/22
03:33 UTC

4

Interfacing PSoC 5LP with MATLAB

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.

0 Comments
2022/09/19
06:22 UTC

3

Modus Toolkit Newbie: Where is the Library Manager?

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:

https://community.infineon.com/t5/Knowledge-Base-Articles/Creating-Custom-BSPs-in-ModusToolbox-KBA230822/ta-p/251741

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?

1 Comment
2022/08/19
16:49 UTC

2

PSoC6 BLE event for updating the client when the notification state of a characteristic has changed

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

0 Comments
2022/08/10
06:33 UTC

5

Recommendation

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,

0 Comments
2022/06/22
21:10 UTC

2

Comments on Modus Toolbox

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

7 Comments
2022/05/29
17:28 UTC

1

GUI Development for PSOC

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

0 Comments
2022/05/27
20:57 UTC

3

Direct Digital Synthesis Implemented in Hardware

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:

  1. phase += phase_inc; Compute the next phase step
  2. address = look_up_table_base_address + phase; Compute sample address.
  3. Use DMA0 to transfer the address to the source address register of DMA1
  4. Trigger DMA1 to copy a byte from the look up table to the output peripheral.

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

0 Comments
2022/04/30
03:09 UTC

1

Looking for CY8C5868LTI-LP038. Also SAK-TC234L-32F200N,TC265D-40F200WSAK-TC277TP64F200N DC/SAL-TC277TP64F200N SAK-TC297/SAK-TC275TP-DC/SAK-TC264/SAL-TC297/SAL-TC357/SAL-TC387/SAK-TC299/SAK-TC233L///

2 Comments
2022/04/21
15:35 UTC

2

Help flashing a CY8C24423A-24PXI

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 ?

0 Comments
2022/04/10
15:45 UTC

1

Cypress' version of openocd "reset" command doesn't seem to work with and PSoC6

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?

0 Comments
2022/04/01
01:45 UTC

3

Interface PSoC to Ethernet

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

2 Comments
2022/03/19
01:23 UTC

2

Anything Better than PSoc Creator?

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?

7 Comments
2022/03/03
01:48 UTC

Back To Top