PSoC™ 4 Forum Discussions
hi infineon:
we can find Guard Sensor configration in Capsens V2.6 , but we can't find it Capsense V7.0, so how to add the Guard Sensor in CapsenseV7.0 , if shield can replace Guard sensor in Creator V4.4?
Show LessHello,
We would like to estimate the current consumption of automotive PSoC4100S Plus.
We can find the Power estimator below.
But, we can not find the PSoC4100S Plus selection on "Select the device used in your design".
Is it possible to calculate with PSoC4100S? In that case, when using ECO, should I add the following data sheet value for ECO current consumption?
Finally, can I calculate the current consumption of the general-purpose PSoC4100S Plus even for the Automotive PSoC4100S Plus?
Best regards,
Yocchi
Show Lesshi, All,
I have a CY8CKIT-041-40xx kit and want to use trackpad example.
I found the example is for 4146AZI when I built the trackpad example project, so I changed the device to 4045AZI, and rebuilt and downloaded sucessfully. But the kit doesn't work with trackpad example. The device can not be detected as a usb hid mouse. Can anyone help solve this problem please? thank you.
Show Less
Forgive me if this is addressed elsewhere. I did search before posting but may have missed something.
I have an old CY8CKIT-042-BLE Bluetooth Low Energy Pioneer Kit, now retired by Infineon and replaced by the CY8CKIT-042-BLE-A kit.
When I searched for the product on the Infineon site, it is listed as discontinued and directs me to get the new one, of course. 🙂
I'd like to just use the one I have, for now.
the CY8CKIT042Setup_RevSE.exe seems to work for me so far but the CY8CKIT-042-BLE-A pioneer kit examples use different pins and are a pain for a beginner to try to convert (I got my LED blinking, but the more complex ones have me stumped).
Can anyone point me to the code examples and user guide for the older Pioneer Kit?
There appears to be an examples file for it on the website, but the .zip file is locked for some reason.
(https://www.infineon.com/dgdl/Infineon-Download_CY8CKIT-042-BLE_Example_Projects-Software-v01_00-EN.zip?fileId=8ac78c8c7d0d8da4017d0ef1d97f035d&da=t)
Thanks in advance,
Rod.
Show LessHello,
I have CyProgrammer 4.0.1.788 installed on Ubuntu. The application can see my Miniprog4 in bulk mode (the firmware is updated to 2.40.1241). When I try to connect to my PSoC4100S Plus (CY9C4148AZI-S455), I get the following error:
Info : ** Target-config: cpu_psoc4.cfg
Info : ** Probe-config: probe_miniprog4.tcl
Info : Open On-Chip Debugger 0.11.0+dev-4.3.1.1999 (2022-03-14-10:57)
Info : Licensed under GNU GPL v2
Info : For bug reports, read
Info : http://openocd.org/doc/doxygen/bugs.html
Info : debug_level: 2
Info : adapter speed: 1500 kHz
Info : serial: 030E16C401287400
Info : transport: swd
Info : rst type: soft
Info : adapter speed: 2000 kHz
Info : ** Auto-acquire enabled, use "set PSOC4_USE_ACQUIRE 0" to disable
Info : cortex_m reset_config sysresetreq
Info : none separate
Info : tcl server disabled
Info : Listening on port 4445 for telnet connections
Info : Open On-Chip Debugger 0.11.0+dev-4.3.1.1999 (2022-03-14-10:57)
Info : Licensed under GNU GPL v2
Info : For bug reports, read
Info : http://openocd.org/doc/doxygen/bugs.html
Info : debug_level: 2
Info : adapter speed: 1500 kHz
Info : serial: 030E16C401287400
Info : transport: swd
Info : rst type: soft
Info : adapter speed: 2000 kHz
Info : ** Auto-acquire enabled, use "set PSOC4_USE_ACQUIRE 0" to disable
Info : cortex_m reset_config sysresetreq
Info : none separate
Info : tcl server disabled
Info : Listening on port 4445 for telnet connections
Info : Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf151, serial=030E16C401287400
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: JTAG supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : KitProg3: FW version: 2.40.1241
Info : KitProg3: Pipelined transfers enabled
Info : VTarget = 5.016 V
Info : kitprog3: acquiring the device (mode: reset)...
Error: kitprog3: failed to acquire the device
Info : clock speed 2000 kHz
Info : SWD DPIDR 0x0bc11477
Info : psoc4.cpu: hardware has 4 breakpoints, 2 watchpoints
Info : *****************************************
Info : ** Silicon: 0x283A, Family: 0xB8, Rev.: 0x11 (A0)
Info : ** Detected Device: CY8C4148AZI-S455
Info : ** Detected Family: PSoC 4100S Plus/PSoC 4500
Info : ** Detected Main Flash size, kb: 256
Info : ** Chip Protection: protection OPEN
Info : *****************************************
Info : gdb port disabled
Info : accepting 'telnet' connection on tcp/4445
Info : Open On-Chip Debugger
Info : init_target
Info : SWD DPIDR 0x0bc11477
Info : kitprog3: acquiring the device (mode: reset)...
Error: kitprog3: failed to acquire the device
Info : SWD DPIDR 0x0bc11477
Error: Could not find MEM-AP to control the core
Info : Error executing event reset-deassert-post on target psoc4.cpu:
Error: /home/hamed/Downloads/CyProgrammer_4.0.1.788/openocd/bin/../../openocd/scripts/target/psoc4.cfg:148: Error:
Error: in procedure 'init_target'
Error: in procedure 'ocd_process_reset'
Error: in procedure 'ocd_process_reset_inner' called at file "embedded:startup.tcl", line 788
Error: in procedure 'psoc4_deassert_post' called at file "/home/hamed/Downloads/CyProgrammer_4.0.1.788/openocd/bin/../../openocd/scripts/target/psoc4.cfg", line 114
Error: in procedure 'acquire' called at file "/home/hamed/Downloads/CyProgrammer_4.0.1.788/openocd/bin/../../openocd/scripts/target/psoc4.cfg", line 198
Error: at file "/home/hamed/Downloads/CyProgrammer_4.0.1.788/openocd/bin/../../openocd/scripts/target/psoc4.cfg", line 148
Info : TARGET: psoc4.cpu - Not halted
Error: in procedure 'init_target'
Info : SWD DPIDR 0x0bc11477
Info : psoc4.cpu: external reset detected
Error: cyp status: ERROR
Could you please help me solve this problem? It is very critical for me to make it run asap.
Show LessI recently study about WDT(Watchdog timer), and i find out because of the 32.768kHz crystal, it can be used for up to 2 seconds Max. After some research, I just found by using <CySysWdtSetCascade> function(cascade 2 different 'periodic timer source'), can expand Watchdog time more than 2 second.
It works perfect for longer WDT Deep sleep function, but I want to apply this Cacade function to WDT reset .
(source : https://iotexpert.com/psoc-4200m-wdt-long-deep-sleep/)
<periodic timer >
Here's what I want to do:
1. Blink Blue LED about 10 second.
2. When Watchdog timer is done, Blue LED shuts off, system goes to reset, Red LED light is on.
my current code below:
#include "project.h"
/*
void wdtCallback()
{
LED_RED_Write( ~LED_RED_Read() );
//blink LED for every 10 seconds
}
*/
int main(void)
{
CyGlobalIntEnable; /* Enable global interrupts. */
CySysWdtSetCascade(CY_SYS_WDT_CASCADE_01);
if(CySysGetResetReason(CY_SYS_RESET_WDT) == CY_SYS_RESET_WDT )
{
CySysWdtDisable(CySysWdtGetCascade());
LED_RED_Write(0); // turn on the red LED
while(1); // hang
}
for(;;)
{
LED_BLUE_Write(~LED_BLUE_Read());
CyDelay(200);
}
}
Thanks!
Show LessI received a new CY8CKIT-048 evaluation board, and installed the latest PSOC Creator 4.4 but could not find the CY8CKIT-048 Kit Complete Setup download link. Any comments and suggestions are welcome. Thanks.
Show LessWhen I use the AD acquisition function of the CY8C4146LQS-S423 chip, because I did not select "AVG" when configuring the ADC component, the difference between the AD acquisition voltage value and the external voltage value is very large, reaching about 0.8V (it is only occurs when the external voltage is less than 6V, of course, the AD collects the voltage value after the voltage division). I would like to ask, why is there such a big deviation if the option "AVG" is not selected, does it just calculate the average value of multiple acquisitions? If "AVG" is not selected and only collected once, will the AD value deviate greatly?
The AVG configuration options are as follows:
Show Less
Fyi I'm pretty new to these topics. Thanks in advance...