Real Time Clock Interface?

Placement, modules, components and accessories; the ones that exist and the the nice-to-be's
Post Reply
bryan.hayes
Posts: 6
Joined: Mon May 15, 2017 6:05 pm

Real Time Clock Interface?

Post by bryan.hayes » Thu Jul 23, 2020 10:13 pm

Has anyone been able to implement a real time clock (RTC) with the Red Pitaya via i2c or some other means? I would be very interested in learning how to do this.

pavel
Posts: 616
Joined: Sat May 23, 2015 5:22 pm

Re: Real Time Clock Interface?

Post by pavel » Thu Jul 23, 2020 10:32 pm

I think that the instructions from the following link should work for the Red Pitaya boards:

https://thepihut.com/blogs/raspberry-pi ... spberry-pi

However, you'll most probably have to enable the RTC modules and rebuild the Linux kernel.

kasaudio
Posts: 46
Joined: Sun Mar 11, 2018 6:03 pm

Re: Real Time Clock Interface?

Post by kasaudio » Fri Jul 24, 2020 4:56 pm

Has anyone been able to implement a real time clock (RTC) with the Red Pitaya via i2c or some other means?
I managed to do it with the ds3231. I have to find the SD card with the code... But the clock information was not "visible" to the linux kernel - only within my application.

earlforeal
Posts: 8
Joined: Thu Aug 20, 2020 9:00 pm

Re: Real Time Clock Interface?

Post by earlforeal » Wed Sep 09, 2020 11:16 pm

kasaudio wrote:
Fri Jul 24, 2020 4:56 pm
Has anyone been able to implement a real time clock (RTC) with the Red Pitaya via i2c or some other means?
I managed to do it with the ds3231. I have to find the SD card with the code... But the clock information was not "visible" to the linux kernel - only within my application.
I am looking to use a ds3231 RTC as well. Any advice on how you got it to work?

kasaudio
Posts: 46
Joined: Sun Mar 11, 2018 6:03 pm

Re: Real Time Clock Interface?

Post by kasaudio » Thu Sep 10, 2020 12:21 am

I'm rewriting code from scratch. I created wrappers around i2c interface to use arduino code with minimum effort. As I prefer object oriented programming I use c++ instead of c.

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 2 guests