- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I am almost new to CYPRESS and I want to interface RTC unit to keep time. I use Battery to supply my board thus I want RTC to go sleep and wake everyday in a certain time and do a job, for test I want to blink a LED. I don't know what to use for WakeUpSource in CyPmSleep() function. In all tutorials which I've seen "PM_SLEEP_SRC_ONE_PPS" is used 😮
I set Alarms for RTC and Enable interrupts but it wakes every second.
I appreciate your answers.
- Labels:
-
PSoC 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This code example may be useful to you-
CE95355 - Real Time Clock (RTC) with PSoC 3/5LP | Cypress Semiconductor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your help.
I still have problem. I wrote a code to blink LED in RTC_1_EveryMinuteHandler() function but my GPIO pin stays always low. Shall I use any special configuration for RTC Interrupts or GPIO??
And which function in main creates RTC_1_INT.c file?? How main found it as its RTC Interrupts Routine?
I couldn't attach my file here you can find it in this link: https://ufile.io/bjgrv if you could take a look please, Thanks again.