rtc and watchdog timer on PRoC BLE

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I need to implement both RTC and a watchdog timer on PRoC CYBLE-022001-00  

   

I found this example for RTC

   

http://www.cypress.com/documentation/code-examples/ce95915-implementing-rtc-psoc-4100psoc-4200-devic...

   

and Day 45 project for a watchdog timer

   

But both of them are PSoC specific 

   

Are there similar samples that would work on  PRoC?

   

Or how can the existing samples be modified to work on PRoC?

   

Thanks

   

Andy

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

TRy this program as your component doesn't support a comparator.

View solution in original post

0 Likes
6 Replies
Anonymous
Not applicable

It should be convertible to the PRoC. Try taking the sample and just changing the device to the PRoC device that you are using, and see if that will build/compile.

   

The PRoC has timers and watchdog timers, and thus should be able to implement an RTC easily. The only question is how accurate it will be. Worst case, it shouldn't be too hard to implement a similar solution based off of the ECO.

   

Let me know if you get it working, or if you need help on it 🙂

0 Likes
Anonymous
Not applicable

Sorry for newbie questions 😉

   

How do I change the saample to match my PRoC (CYBLE -022001-00)?

   

I'm going to experiment with the Day45 source and let you know

   

Thanks for your help.

   

Many more questions  ahead 🙂

0 Likes
Anonymous
Not applicable

Ok I figured out how to change the device

   

For project RTC PSoC4 XTAL ( that implements RTC) I got an error "Error in component ..Comparator Comp_P4_v1_20 is not supported by the selected device"

0 Likes
Anonymous
Not applicable

Also, make sure all of the components and versions are up to date in the project. (Right click the project, and select "Update Components")

0 Likes
lock attach
Attachments are accessible only for community members.
rola_264706
Level 8
Level 8
50 likes received 25 likes received 10 likes received

TRy this program as your component doesn't support a comparator.

0 Likes
Anonymous
Not applicable

I thought the PRoC contained a LP Comparator? I could have been mistaken 😞

0 Likes