PSoC™ 4 Forum Discussions
hi everyone, i using PSoC Creator 4.4 and for programming CY8CKIT-042 programmer kit. I had take an error in programming phase at recently.
we work on external microprocessor and someone maybe touch a swicth, i don't know.
what can i do for solution. i try to upgrade kitprog version, because i see kitprog linkage when i press port acquire button.But now view CMSIS-DAP.İ can't firmware upgrade of kitprog.
Somebody help me please.i wish you good work
Show LessHi everyone,
I'm using cypress MCU to develop a personal care product. when I finished the first prototype software, I found that the static power consumption of MCU is too big. Even you don't run the sample, the battery consumption is still on going and too fast. I wonder if we can set the MCU into deep sleep or low power mode?
thanks in advance!
Show LessIs the PSOC 4 ( CY8C4045AZI-S413 ) I2C port only available in deep sleep mode ?
Will I still be able to use it in active mode as well ? The GPIO pin mux only list the I2C ressources in the deep sleep state column .
Thank you very much . Have a great day.
Pierre
Show LessHi all cypress friends,
I got a trouble when I tried to use ADC to measure battery voltage. I divided the battery voltage with two resistors, and then connect two pins of resistor to ADC_SAR_Seq to measure the voltage. but when I simulate the code, I can't read out the ADC value of this resistor. and I captured the watch value for the ADC, unfortunately, it shows optimized out. I don't know what's the problem.
Can anyone help to figure out the reason?
many thanks!
Show LessI am using a PSoC4000S (Cy8C4024FNI-S412, WLCSP-25 package) and am finding it has a much higher current draw than the data sheet says it should. I am measuring a current draw of about 130 mA at 3.3V, while the datasheet seems to indicate that the max current draw should be about 6 mA. The chip gets too hot to be touched.
Has anyone else seen such a high current draw from these microprocessors? Any suggestions as to what might be causing this?
The program is basically a random number generator, outputting random 1s and 0s at a few kHz. The current draw is with no load across any out the output pins.
Thanks!
Show Less
Hello All,
I am developing software for HID Touchpad.
I am trying to get Touchpad coordinates using CSD method without gestures but somehow, i am not getting touch sense.
currently, I am taking attempts on CY8CKIT40-41-40xx.
I am attaching my programming file as an attachment where I am only sensing finger to indicate led on. actually, it is not happening.
Thanks and regards,
Nagnath
Show Less
I have a strange problem with the psoc 4 uart when sending and receiving raw hex data. from i2C.
from one psoc to another ....for processing
on just one psoc i have no problems with getting the i2c sensor data and converting it to floating point then using the
sprintf function and UART_uartutString(msg) to display it on the screen.
all works fine and I am able to send sensor data to a pc via uart no problems.
Now if i try to send the sensor values as raw hex straight over uart using the UART_Uart PutChar(byte)
There's no problem sending the bytes or receiving them as hex as expected. I can test a variable and display the hex values as
interpreted by the uart on the screen or use a logic analyzer to see the raw values.
When i try to convert the raw hex values to floating point at the receiving end. And then as before using the sprint function for to display the floating point values all i see is 00.000 displayed on the screen for example the variables that have been initiated are not zero they contain hex but when i try to convert the values to floating point are not displayed.
This worked at the sending side doing all the processing locally at that end. Can someone explain help.
if you want to limit the bandwidth by just ending raw hex then doing the processing at the receiving side such as wanting to store the results in an array for processing.
and doing the conversion from int to float at the receiving end instead of the sending end. It seems strange why i am unable to do this. yet it works at the transmitting end.
can someone explain? or offer a solution to this problem?
Thanks
Show Less