PSoC™ 5, 3 & 1 Forum Discussions
text.format{('custom.tabs.no.results')}
Hi,
I would like to create a custom UART. For that I'd like to start from the existing UART component, clone it, change some part of the code, and use it in my project.
So I created a new library project, imported the UART component, renamed it to MyUART_v1_10. I also rename the .cymacro, I also changed properties in MyUART_v1_10.cysym from UART to MyUART.
I then added the dependency to the Design project. now in the component list, I see a new version of UART [v1.10] instead of a MyUART component. And when I try to put it in my design, I get an error :
Failed to load assembly, 'C:\Users\XXX\AppData\Local\Cypress Semiconductor\PSoC Creator\4.2\customizer_cache\Library01_896d0d5e2abacff4905603f6c14cc753fa4bd574607d898ad0635376d04b1636.dll'
I probably need to change other things in the imported compoenent, but I don't really know what.
I see lines like "namespace UART_v2_50" in cs files, I probably need to change them to MyUART_v1_10 ? I tried but that doesn't help.
I attache the workspace in which I did the tests
Show LessI've been trying to program a PSoC 5 with a Python script. I keep getting the following error when pp.PSoC3_WriteNvlArray() is called.
Exception has occurred: com_error
(-2147417851, 'The server threw an exception.', None, None)
File "<COMObject PSoCProgrammerCOM.PSoCProgrammerCOM_Object>", line 3, in PSoC3_WriteNvlArray
File "C:\SVN\New Test Procedures\TestStand Test Sequeces\Python Scripts\Python_Ex.py", line 269, in ProgramNvlArrays hResult = pp.PSoC3_WriteNvlArray(arrayID, hexData);
File "C:\SVN\New Test Procedures\TestStand Test Sequeces\Python Scripts\Python_Ex.py", line 465, in ProgramAll hr = ProgramNvlArrays(enumSonosArrays.ARRAY_NVL_USER)
File "C:\SVN\New Test Procedures\TestStand Test Sequeces\Python Scripts\Python_Ex.py", line 603, in ExecuteWithFilename hr = ProgramAll()
File "C:\SVN\New Test Procedures\TestStand Test Sequeces\Python Scripts\Python_Ex.py", line 620, in <module> portStr = "KitProg/030E0BF302098400"
- I'm using the example code from C:\Program Files (x86)\Cypress\Programmer\Examples\Programming\PSoC3_5\SWD\Python_Ex.
- The script works on a computer with 64-bit Windows 10
- The script gets the error on a computer with 64-bit Windows 7
- On the failing computer, the PSoC Programmer works fine
- The PSoC Programmer CLI works fine.
- The problem started occurring when I changed the KitProg3
Ant help would be appreciated.
Show LessI have failed the pods for cyc29xxx (CY3250-29XXX-POD) how can I buy it?
Roberto
Hi, is it possible to design a Lock in amplifer in PSoC5. I want to work in operation range from 100-500kHz. One limit which I already have discovered is that I only have access to one filter block (for lowpass filtering). The main concept is shown below.
Best regards
Show LessHello All,
I have used PSoC 4 a lot for most of my projects. My newest project at work wants a HMI of some kind. The managers mentioned touch screens and I haven't had a chance to work with them yet. So a few questions.
Is PSoC a good choice for touch screens? If so is PSoC 5 better than 4 for touch screens?
The first prototype is just using the standard 2X18 LCD Screens on a PSoC 4. So if I can stay with 4 that would be cool but have no issues switching to 5 if there is a benefit. Thanks for anyones time
Show LessI am using a PSoC5 LP on a CY8CKIT-059 and an IMU from ST/Adafruit LSM9DS1.
I am having trouble setting up SPI communication. I have determined it is not the IMU because I am not getting the correct output out of the PSoC with the IMU disconnected.
Here are my issues:
1. SPI SCLK only oscillates correctly at low frequencies (<100kHz)
2. At the low frequency, I am seeing correct outputs on MOSI, MISO, SCLK, and SS. However am not polling the correct WHO AM I value from the IMU.
3. At higher frequencies, SCLK not oscillating at all, MOSI is working correctly, SS is working correctly, but MISO not working because SCLK not working.
Attached is my project. I am using UART for debugging.
Show LessHey,
Probably a nube question but here it goes.
I was trying to use a timer to time stamp the occurrence of a task in my application.
I tried starting from the iotExpert project that I found here: https://iotexpert.com/2017/05/17/psoc-5-timer-circuit-debug/
However, I never seem to get a counter reading. My period is always 9999 and I can't figure out what I'm doing wrong.
Please find attached a bundle of my project
Show LessHello good people from Cypress forum,
I have a problem using mentioned OLED module with Littlev graphic library that uses SPI to communicate as it ends up in infinite loop of IntDefaultHandler function.
Here is the screenshot from debug session
When I go step by step, everything works fine until 135 line of lv_task.c file. After that I need to pause debugging and it ends up as shown on image that I posted above.
By using Google search I found that ending up in this infinite loop is (mostly) related to memory problems, but then when using I2C protocol to send data to SSD1306 controller everything works fine even though the same library is used, and the only difference is in using I2C instead of SPI.
The Littlev library was successfully used with ILI9341 controller in parallel mode with no problems as well.
Also, here is the minimal archive of the project in the attachment.
Any kind of help to resolve the problem or to understand what is going on would be great,
Thanks
Show LessI understand that when PSOC 5LP is in Reset, all the GPIO are high impedance.
Are the GPIO also all high impedance for a new device that has not yet been programmed (not being held in reset state).
I have an H bridge and the Top and Bottom FETS are switching ON before I manage to program the 5LP. Once I have let out a bit of smoke and the device is programmed, it is ok (starts up and resets ok).
Show Less