PSoC™ 4 Forum Discussions
In order to save power, I need to set the MCU into deep sleep mode when there is no working for MCU.
I found a API (CySysPmDeepSleep())of entering to deep sleep mode from code example, and I just use it simply in my code.
but it seems I got same current consumption with previous software which doesn't contain deep sleep API.
Now the current consumption will always be 5/6mA from VDD(3.3V), but my target is less than 10uA.
so I got failure in this trying.
can any body tell me how to use this API to enact deep sleep mode?
here is my function about how to set mcu to deep sleep mode:
if((CHMode == M_CHOFF)&&(UI_BTDETECT_Read() == 1)&&(F_ONOFF == 0)&&(BATCloseLEDCount == 0)&&(OCPLEDCount == 0))
if(SleepDelay >= 200)
SleepDelay = 0;
SleepDelay = 0;
Please tell me the operating principle of the 5th generation capsense csd.
What are the tuning parameters?
is there any way to do the same with psoc 4 that looks like this image?
i have a problem in getting up FreeRTOS for PSoC4:
the vTaskDelay(pdMS_TO_TICKS(500)); -> never return
MainTask runs only onces.
Main_Task_2 is working as aspected.
all Libs are up to date.
Have anybody a sample Project for PSoC4 and FreeRTOS I am wondering that is no Example availible?!
I'm trying to implement a bootloader where I can reprogram the internal psoc flash with a program stored in an external flash.
I'm following this document on the steps that I need to program, I don't need all of them since its not an external programmer, I am programming from "inside" the chip. I get the hex file from the HexFile Parser program so I guess the hex file is correct.
I can write on the flash rows but once I finish programming it, nothing happens. What can I be missing?Show Less
I am facing this issue with the CapSense tuner that I cannot seem to troubleshoot.
Is there any solution for this issue.
BSH 遇到过彩sliver bonding的MCU在damp test中出现migration issue. 作为引进新的part number， 需要确认这个信息。谢谢！
Hi, I need the 3d model for this component: CYBLE-14008-00
Many Thanks for Help
I'm trying to build up a program to drive an e-toothbrush. I use 3.7V Li-Ion battery to be the power source.
but I found that the ADC value for battery voltage always be read out with different value even the voltage is same.
I heard that the ADC function must be calibrated when programming MCU in factory.
can any body tell me how to do the ADC calibration? and how we should modify program with this calibration?
many thanks!Show Less