PSoC™ 5, 3 & 1 Forum Discussions
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 LessHi all,
I am currently working on a PSoC-to-PSoC I2C communication. On the slave device, I'm using a EZI2C component. I can correctly perform read and write operation from the Bridge Control Panel and everything is working as expected.
The problem that I'm trying to solve is the following: based on the values that are written from the master device to the slave device, I need to perform some actions. My idea was to use the EZI2C_ISR_ExitCallback callback function and the EZI2C_GetActivity() function:
void EZI2C_ISR_ExitCallback(void)
{
if ( 0u != (EZI2C_GetActivity() & EZI2C_STATUS_WRITE1) & 0u == (EZI2C_GetActivity() & EZI2C_STATUS_ERR) )
{
// Write operation completed, check values and perform actions..
}
}
What I am currently experiencing is that the function EZI2C_GetActivity() always return either EZI2C_STATUS_BUSY or a 0 value, therefore I cannot check if a write operation was completed inside the callback.
Does somebody has any idea on the cause of this "issue"?
Thanks,
Davide
Show LessHi,
We use DFB assembler component of PSoC5LP.
We would like to confirm for API.
Are the data alignment and coherency initialized when calling the DFB_Init() API?
Regards,
Show LessHello
I want to communicate between CY8C5888LT-LP097 and PC using USBUART.
3V power is input to the CPU power supply.
●Does the CY8C5888LT-LP097 step down to 3V internally for 5V input?
(Can I connect directly to the connector without the need for an external regulator?)
●What are the required settings in PSoC Creator?
Best Regards
Hayato
Show LessI am using an external Xtal Oscillator of 20MHz +/- 0.01% as BUSCLK. I'd like to use a Counter component (32-bit UDB up counter) to count at the 20Mhz rate. This example works if I derive a CNTR_CLOCK of 5MHz (or lower) from BUSCLK:
If I use a derived clock of 10MHz it doesn't work. I think that is because I'm sampling 10MHz at a 20MHz rate.
I'd like to just pass the 20MHz BUSCLK into something like the Counter component to get the precision and dynamic range for the interrupt I need.
I have attached the entire project.
Curtis
Show Less