PSoC™ 4 Forum Discussions
The datasheet states that the DC resistance of the S/H input is max. 2.2kOhm.
Does this mean that the DC-load is actually 2.2Kohm or is this resistance just
in series with the S/H capacitor thus providing a much higher DC input resistance
after the signal has settled?
This parameter is important in order to estimate the gain-loss due to the built-in
output resistance of the connected external buffer-amplifier (this design)
Show LessI have a project on PSOC 4200 that goes to deepsleep and wakes up on a pin interrupt at the moment.
However, I now want to have a LED blink periodically and not depend on waiting for hardware interrupt.
I looked at some examples online and am a bit confused how to set up the watchdog time in the 4200 project. Do I need to use the Global Interrupt source? or is the watchdog just set up in code?
Where do I set the period (I will need around 600ms to 1 second period)
Thanks
Show LessHello,
I am working on PSoC Low power mode to my application & it is required to move MCU in deep sleep mode to reduce current.
As of now, I am getting 2 sec of deep sleep interval with watchdog timer (wakeup source). And in the project, it is required to get more than 2 sec.
While working on deep sleep I get to know that watchdog timer works with WCO as clock source which is 32.768 KHz, If I could reduce this clock to 1 KHz, Than I can get as much as 64 sec of deep sleep interval which is more than enough to my project.
Can anybody guide me, How to reduce clock for watchdog timer ?
Show LessHi Guys,
Greetings for the day.
I am trying to design a 4*5 matrix button keyboard with CY8MBR3116.
But I cannot find any details about the layout of capsense except a blur pic in the AN64846.
Is there any documents or example of the matrix button,can someone give me a hint ?
Thanks a lot!
Muchas Gracias!
Saxon
Show LessI need to enter Deep Sleep mode for about 15 seconds, then exit and run a scan for 3 seconds, then repeat this process. I also have 2 control pins set up to receive a button press. When the buttons are pressed, I also need to exit deep sleep mode. I have some audio that will play as well as a message sent out upon the buttons being pressed, so I can't be in Deep sleep for that.
I have the project running just fine without deep sleep enabled. Currently, i'm using a timer to count to a set number then run the scans, however this is draining the battery quickly.
The previous programmer working on this project has set up a WatchDog Timer with an interrupt.
WDT.c
Here he initializes the watchdog timer in main.c as seen below:
In addition to this, he has the LFCLK set to the external Watch Crystal Oscillator, which is what i'd want to use, according to everything i've read so far.
I suppose my idea was to enter low power mode and let the watchdog count to about 15 seconds, then use the interrupt to pull me out of low power, then scan. At the end of the scan, the function would put me back into low power mode, etc. There is one major problem with this - that I have no idea how to "count" time when the watchdog is operating. Further, I don't know if that's possible. As far as the buttons, I have absolutely no idea how to get me out of low power there.
Also, I ended up testing the "EnterLowPowerMode()" function from HERE. It tries to first go into deep sleep, if it fails, then it tries to enter sleep. I first tried the code with sleep only, and my device stops advertising, but the voltage draw is very low. On the other hand, when i tested Deep sleep, my device still advertised as well as had a higher voltage draw from the battery. I'm pretty flustered and lost... I am new to this, so please try to give me explanations if you can.
Thanks in advance for any help.
EDIT:
My BLE chip is part of a MESH system. When a message is received, the BLE chip goes from being a peripheral into a central role. The WDT is currently only being used to ensure that the BLE chip is in Central mode for a maximum of 4.5 seconds. So, I think I can replace this with a HFCLK timer. I see no reason to use the watchdog to be used for something like that - especially considering I can't have another Watchdog component with an interrupt ( I can't compile with 2 ).
Show LessIs it possible to advertise while in Deep Sleep mode?
I read somewhere that Advertising runs off the ECO clock, which is a HFCLK. Any time a HFCLK is running, we cannot obtain Deep Sleep. With that being said, my answer should be no. However, i'm wondering if there is a way to either use a LFCLK for advertising instead (and also for scanning). I'm running a battery operated system and really need to save some power!
As a fallback, I do know that there is the ability to go into Deep Sleep mode between advertising intervals. I'm not sure how to do this yet, but i'd rather sleep the entire time i'm advertising, rather than every interval.
Thank you for any thoughts or advice!
Show LessI'm developing a GAP peripheral. I want to put the MCU to deep sleep while BLE is advertising. Can use BLE to wake the MCU up when there is a connection? Thanks in advance. I really appreciate your help.
Show LessShould the exposed tab be connected to GND (VSSD) or any other signal, or should it be isolated?