PSoC™ 4 Forum Discussions
Hi, I need to know which solutions you ( CYPRESS and INFINEON) have in terms of Microcontrollers + Firmware fro those microcontrollers, to control a 3Phase ACIM motor with one sensor. . OUR POwer stage is IM564 from IFX with common output emitters, therefore we need single current sensor solution ( I mean the Firmaware).
Application is a 1,5KW whater pump. We need the application for one sensor.
PLease let us know the Cypress ( PSOC) and the IFX ( XMC )solutions as well.
thanks in advance
BR
MAnuel
Show LessHello,
We know that there is "Measure Cmod and Cp of PSoC 4 CapSense - KBA225808" for CSD.
How should we measure Cp in the case of CSX?
Best regards,
Yocchi
Show LessThe documentation says that waking up a hibernating CPU will reset it from the beginning. But I have observed several times that code that follows the call to CySysPmHibernate()
, for example turn on a LED, is actually reached.
Can the CySysPmHibernate()
function fail to put the CPU into hibernate?
Hello
I'm getting this error (unknown type name 'CYBLE_API_RESULT_T') in the BLE_StackGATT.h file. I've updated my components as another post suggested. A second post suggested to ignore the error but this is simply bad
Show LessHello,
I have a question about acquisition time in "configure ADC".
In "General" tab, I set "Clock frequency(kHz):" to 16000kHz.
In "Channels" tab, I set "A cloks:" to 5. So, the acquisition time should be 312.5ns.
Why?
In the case of 281.25ns, the ADC clock frequency will be 17.777MHz.
The conversion time seems to be correct.
Conversion time = (5+14)/16MHz = 1.1875 us
Conversion time means the total acquisition time and conversion time.
Best regards,
Yocchi
Show LessHello,
I currently observed a phenomenon which I could I observe several times before and I would like to know the reason for this.
I have a function that returns a byte value which was read from SPI interface.
When I debug, inside of the function the return value is what I would expect it to be (in this case 0x25) but when I step further and exit the function, the value that was assigned to the external variable is different (0x09).
How is this possible? What can I do to prevent this from happening? Is this a debug only problem or will this also happen during in runtime?
I will run some more tests to gather some more info, but maybe someone can already tell what the cause for this behaviour is.
Thanks
Show LessI am working on 2x3 Cap Sense matrix keypad interfacing using PSOC4 ,
but i am facing difficulty in software section. Can anyone give suggestion on it.
Show LessHi,
I'm using AN86233_DeepSleepADC.cydsn project, but the current is about 1.8mA insted of 9uA as read in comments of project. Someone can explain me the reason?
Tanks in advance!
Show LessHey
I am working with the CY8CKIT-145-40XX board. I have tried using it in psoc creator and modustoolbox. I thought it would be fun to try to run the make build and debugging in vs code. The makefile was easy, but are struggling getting the debugging up and running.
My Process:
I create a command file "openocd.tcl" containing the commands:
set PSOC4_USE_ACQUIRE 1
source [find interface/kitprog3.cfg]
puts stderr {Started by GNU MCU Eclipse}
source [find target/psoc4.cfg]
psoc4.cpu configure -rtos auto -rtos-wipe-on-reset-halt 1
init; reset init
Copied from modustoolbox openocd setup.
in visual studio code I use the cortex-debug plugin with a launch setting as such:
To ensure that I did not mess someting up in the build I just opened the modustoolbox project in vs code. So the elf is compiled in modustoolbox.
When running the debugger in modustoolbox i hit my breakpoint in main, but fore some reason this breakpoint is never hit in vs code setup.
and I get:
Info : SWD DPIDR 0x0bc11477
Error: Failed to read memory at 0x10000040
Info : SWD DPIDR 0x0bc11477
Error: Failed to read memory at 0x10000104
Any pointers to make this work is appreciated.
Show Less
I am currently working with the PSoC 4 and have experienced some odd behaviour when using port 6 for digital low/high logic monitoring. I am using a basic switch circuit with external inline and pull up, however when using a 10k inline and the switch is pressed is driven low for some reason the input only drops to 4.4V whereas this should be 0V.
I have used the same circuit on different ports on the PSoC 4 and it works fine. When you update the 10k inline resistor to 1k the port then works fine in line with all the others. To me this suggests that 10k inline is too strong and is not allowing the port to discharge.
Is this something anyone else has witnessed or knows that port 6 has certain requirements when using this resistor configuration.
Show Less