cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

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.

0 Likes
Reply
2 Replies
Employee
Anonymous
Not applicable

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.

0 Likes
Reply