PSoC™ 4 Forum Discussions
Dear Sirs and Madams,
We have a question about implementing an active shield for proximity sensors.
Are there any adoption cases using active shields for PSoC4 proximity sensors?
Could you provide us about the size of the sensor, the gap between the sensor and the active shield, the presence or absence of a ground, etc.?
If you have any guidelines for layout of proximity sensor with active shield, could you please share?
Regards,
Show Less
How to adjust the accuracy of carrier frequency of CYBLE-222014 Bluetooth module
The carrier frequency error measured by certification tests is greater than 20 ppm
How to adjust carrier frequency accuracy
Show LessHello Cypress community,
I hope you're all doing well. I'm currently working on a project involving CY8C4245-AXI and CY8C4246LTI-M445 controllers for a Touch Switch application, and I'd like to discuss the implementation of an Over-The-Air (OTA) update feature for these controllers. I believe this feature will greatly enhance the flexibility and long-term viability of my project.
I'm reaching out to the Cypress community to gather insights, best practices, and potential solutions for implementing OTA updates on the CY8C4245-AXI and CY8C4246LTI-M445 controllers. If you have experience with similar projects or have expertise in OTA update implementation, your input would be greatly appreciated.
Thanks and Regards,
Pankaj
Show LessHello all,
I sample the Watchdog counter periodically (e.g., each 1 msec) to verify validity of Watchdog.
The Watchdog counter must be reset (CySysWdtResetCounters) periodically (e.g., each 1000 msec) to prevent interrupt or PSoC reset.
The Watchdog counter remains 0 after the first CySysWdtResetCounters for about 1000 times (seems till the second reset counter) and after it counts normal.
Has anyone seen this phenomenon?
Thanks in advance for advise.
Yacob.
Show LessHello Infineon Community,
I have th CYHVMS-64K-56-001 Evaluation Kit and am looking to get started with it. However, I'm having difficulty finding comprehensive documentation or any related resources for this specific kit.
Could anyone please provide or direct me to:
- A detailed user manual or getting started guide for the CYHVMS-64K-56-001 Evaluation Kit.
- Any example code or projects that utilize this kit.
- Relevant software tools or libraries that are compatible with this evaluation kit.
I could find it on the project-creator of modulus toolbox either.
Thank you in advance for your help.
Show LessI use cy8c4245AXI-483.
I have set up ADC SAR with 5 channels. 5 prototype boards have been assembled industrially.
I read the channels one by one. Among other things, a voltage between (-5V) and (0V) should be read out (channel 1). An inverter has been used directly on chip (see picture). The pins are connected accordingly.
Furthermore, a resistance setting (0-5V; channel 2) must be read out.
2 boards work as they should. 1 board returns wrong value from channel 2 (resistance). 2 boards deliver non-existent dips from e.g. 3V to 0V. And just after changing input voltage from 0V to -3V.
That is very critical for this control system.
I am now sure that it is somehow due to chip configuration or programming. Because I replaced a chip manually (another pin broke off during the test). It worked properly before. After the MC exchange, I noticed wrong values effect with the new chip.
I've already looked through all the chats and examples, but unfortunately couldn't find anything that can help me.
Can someone help me or give me a tip what could be wrong?
A snippet of the source code here where I read the values.
void adc_read_sw(struct swdata *ptrData)
{
int16 adc_value_0 = 0u; // ADC-CHANNEL 0 PIN 2[7]
int16 adc_value_1 = 0u; // ADC-CHANNEL 1 PIN 2[6]
int16 adc_value_2 = 0u; // ADC-CHANNEL 2 PIN 2[5]
int16 adc_value_3 = 0u; // ADC-CHANNEL 3 PIN 2[4]
....
//----------------------PT1 PIN 2[7]----------------------------------------------
// ADC-CHANNEL 0 read
ADC_READ_StartConvert();
if(ADC_READ_IsEndConversion(ADC_READ_WAIT_FOR_RESULT) != 0u)
{
adc_value_0 = ADC_READ_GetResult16(0);
adc_value_0 = ADC_READ_CountsTo_mVolts(0, adc_value_0);
ptrData->p_adc_value_channel_0 = adc_value_0; // pass value
}
// ADC_READ_StopConvert();
CyDelayUs(50);
//--------------------------------------------------------------------
//---------------------- - 5V IN PIN 2[6]----------------------------------------------
//ADC-CHANNEL 1 read
// ADC_READ_StartConvert();
if(ADC_READ_IsEndConversion(ADC_READ_WAIT_FOR_RESULT) != 0u)
{
adc_value_1 = ADC_READ_GetResult16(1);
adc_value_1 = ADC_READ_CountsTo_mVolts(1, adc_value_1);
}
ptrData->p_adc_value_channel_1 = adc_value_1; // pass value
// ADC_READ_StopConvert();
CyDelayUs(50);
//--------------------------------------------------------------------
//---------------------- R PIN 2[5]----------------------------------------------
// ADC-CHANNEL 2 read
ADC_READ_StartConvert();
if(ADC_READ_IsEndConversion(ADC_READ_WAIT_FOR_RESULT) != 0u)
{
adc_value_2 = ADC_READ_GetResult16(2);
adc_value_2 = ADC_READ_CountsTo_mVolts(2, adc_value_2);
}
ptrData->p_adc_value_channel_2 = adc_value_2; // pass value
// ADC_READ_StopConvert();
CyDelayUs(50);
....... etc .....
ADC_READ_StopConvert();
}
Show Less
Hi community,
我在 modustoolbox 里面使用 PSoC4100S MAX 系列的 Demo 板,下载的示例程序,编译的 PDL 文件 cy_gpio.h头文件有 error,虽然有 error 但是还是能够编译成功以及烧录,如下图所示,请问一下怎么解决,谢谢!!!
Show Less
Hi, Community
I am currently working on a project about proximity sensing with a PSoC4000S evaluation board and Capsense components v7.0.
In my project, I want to get the value when the proximity sensor detects the capacitance of a finger and control something.
However, proximity sensing does not seem to have a function to get rawdata like other capsense widgets.
For example, for a linear slider, I consider the following API to return the center of gravity position of the finger.
CapSense_GetCentroidPos ( widget ID);
Do you know of any function similar to this for proximity sensing?
Can anyone give me some advice?
Best Regards,
Chihiro Tatebayashi / NEXTY
Show Less