PSoC™ 4 Forum Discussions
To install Psoc 4.2 creator, what to choose install with Custom, Remove, or Repair?
Is it normal to install everytime, or should the software stays on the computer?
The installed Psoc creator 4.2 is different than the tutorial on youtube?
Please help. Thank you
Show LessHello,
I am trying to program the CY8C4245 via SWD interface.
I implement it in accordance with the programming specifications document
https://www.cypress.com/file/136281/download
But I encountered a problem in the Acquisition sequence (figure 4-3 in the specs). The last step I am able to correctly do is the Check Test Mode, it returns correct value.
But when I try to do another step (Poll SROM_PRIVILIGED_BIT), the ACK of the second Read_DAP in this step always returns FAULT.
When I try to read CTRL/STAT register after this, it returns 0xF4000020, STICKYERR is set.
This happens always, it does not depend on the communication frequency used.
The CY8C4245 I communicate with is alone MCU soldered on a PCB with several decoupling capacitors only.
What could be wrong?
Show LessHI ,
I am trying to use Magsens to develop a linear position sensor. Since the Magsense does not support linear sition application, I have to decode the value of the raw count and apply it for linear position sensor. so my question is :
what is raw count? like is it the voltage amplitude of the LC tank or it is the inductance or current( because of the IDAC)? I am realy confused. As described in datasheet "The change in Vamp is proportional to the change in inductance seen at the LC tank circuit." then what is relation between Vamp and raw count?
Show LessI have an ADC SAR with two analog inputs:
- A slowly varying signal (its basically a 50Hz AC voltage that is always present on the relevant input) that I sample and calculate the RMS value for once every 10 seconds or so
- A rapid, randomly appearing impulse signal (its a voltage spike of around 5-20usec in duration) that I want to capture using the Limit Detect feature for that channel
What I want to be able to do is capture Signal 2 if/when it occurs, whilst still being able to measure Signal 1 at the defined periods I want to. The problem I appear to be having is that I have my ADC free-running to pick up Signal 2, but this is generating an endless series of EOS interrupts, which is causing my processor to go into a WDT reset as the code is just continuously servicing my ISR.
So, what I think I need to be able to do is disable EOS interrupts, but allow Limit Detect interrupts. But, my questions are:
- Is it possible to selectively disable particular ADC SAR interrupts from running my ISR?
- If I do disable EOS interrupts, how will this impact my ability to undertake measurements of Signal 1? I'm using the command: ADC_1_IsEndConversion(ADC_1_WAIT_FOR_RESULT);
to take samples of Signal 1, and from the looks of the function block for this, its relying on the EOS bit in the ADC SAR interrupt register to get set in order for it to work.
Thanks for your help
Cheers,
Mike
Show LessHi,
I am using Windows 10 (32 bit) and Windows 7 (64 bit) with different laptops. I bought CYALKIT-E02 Solar Powered BLE Sensor Beacon. I installed your Cypress BLE Beacon App in both the laptops. When i try to open the BLE beacon PC app, it is showing ERROR "The program can't start because MSVCP140.dll is missing from your computer. Try reinstalling the program to fix this problem" in the windows 7 PC. But the PC with windows 10 OS, app is not opening and error message is also not showing. Can you please help me on this problem?
Thank you.
Show LessHello,
I'm developing a communication between a software written in Python and a PSoC 4.
I would like to implement a I2C communication based on the SMBus protocol: in particular I need to develop in python a function that implements the Block Process Call (see SMBus).
I'm currently using PSoC Programmer COM and MiniProg3 to send/receive data from the computer to the PSoC: I'm using function I2C_DataTransfer() to send or receive data, but I would like to implement the Block Process Call.
Is this possible?
Also, is there a function to compute the PEC (error checking)??
Thanks!
Show LessHello,
I'm designing a proximity sensor on a pcb.
The first design I have got is 4 sensors pads ( 20mm*20mm) next to each other and they are used as a proximity sensing which is working ok.
But I wanted to try with a loop trace on the pcb instead of pads which are normally for touching and not proximity sensing?!
Therefore, I wanted to add some hatch pattern on the top and bottom layer ( 2 layers pcb).
Do I need to put a hatch inside the loop?
Also I'm close to a metallic object so which signal should I drive on the top and bottom layer? I'm a bit lost between shield or ground?
Thanks in advance for your time,
Alex
Show LessGood afternoon to whomever may be reading this, thank you for your time
I'm currently developing a sensor with a PRoCBLE chip (CYBL10162-56LQXI), and I require an SPI communication between the PRoC chip and a BME280 sensor. It's 4-cable SPI.
My problem is that the sensor requires me to read several bytes in a row without rising the CSB (SS0) signal. I've found that, in the SCB block configured as SPI Master (the way I want it) in PSoC Creator 4.2, there is an option for "Transfer separation", which is apparently what I want. The thing is that the documentation is lacking in this regard and I can't find exactly how it works, whether it only works for read+write or only for writing...
This picture schematically represents what I want to do with a multiple-byte read: 1st, it lowers CSB (SS), then PSoC sends through MOSI a byte commanding to read a specific register, then reads a byte, and then reads another one without changing the CSB (SS) signal at all until the end of the reading. Is this possible to do with the PSoC functions as they are, or will I have to bitbang the CSB (SS) signal? Is the "Transfer separation" option just what I need, or does it only work for writing?
Thank you in advance
Gabriel
Show LessHi everybody, we would like to use I2C FM+ on PSoC4.
Is it mandatory to use "I2C FM+" slew rate on I2C pins or the I2C FM+ specification can be met also using fast slew rate for example?
As far as I've understood the "I2C FM+" slew rate is only available on PSoCs with overvoltage tolerant IOs in 4100M, 4200M and 4200L families, while we would like to possibly use the 4100S or the "4100S plus" families.
Many thanks in advance for your support.
Marco
Show Less我在项目中需要用到rawdata和baseline的数值,我应该怎么获取?我需要用这些数值做一些计算。
另外,产品在工作中遇到突发干扰会被误触发,这个应该如何避免?