# Real Time Clock RTC RV-2123

**URL:** <https://forum.xod.io/t/real-time-clock-rtc-rv-2123/1003>\
**Category:** Uncategorized\
**Created:** [July 31, 2018, 1:31pm UTC](https://forum.xod.io/t/real-time-clock-rtc-rv-2123/1003 "2018-07-31T13:31:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobias](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tobias](https://forum.xod.io/u/tobias)\
**Post date:** [July 31, 2018, 1:31pm UTC](https://forum.xod.io/t/real-time-clock-rtc-rv-2123/1003/1 "2018-07-31T13:31:13Z")

</div>

Hi guys,

i need to integrate a specific RTC into my programming. This is communicating via SPI.  
Does anybody have a clue how to start in XOD/C++

Is it possible to implement SPI communication into a xod patch? Can the Standard SPI Arduino Library be integrated somehow.

**Website:** [http://www.microcrystal.com/index.php/products/real-time-clocks](http://www.microcrystal.com/index.php/products/real-time-clocks)

**Datasheet:** http://www.microcrystal.com/images/_Product-Documentation/02\_Oscillator_&\_RTC\_Modules/01\_Datasheet/RV-2123-C2.pdf

**Manual:** [http://www.microcrystal.com/images/_Product  
Documentation/02\_Oscillator_&\_RTC\_Modules/02\_Application\_Manual/RV-2123-C2\_App-Manual.pdf](http://Manual)

can someone pint me to the next steps?

Best Tobias

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [July 31, 2018, 1:40pm UTC](https://forum.xod.io/t/real-time-clock-rtc-rv-2123/1003/2 "2018-07-31T13:40:49Z")

</div>

Have you looked at the builtin RTC nodes? Even if they don’t work with your device, they will give you a starting point for what the code should look like.

---

<div class="post-metadata">

**Author:** ![tobias](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tobias](https://forum.xod.io/u/tobias)\
**Post date:** [July 31, 2018, 1:43pm UTC](https://forum.xod.io/t/real-time-clock-rtc-rv-2123/1003/3 "2018-07-31T13:43:47Z")

</div>

Thank you for your reply.

The problem is the built in uses I2C instead of SPI - i would copy the rest of the node but would like to set up the SPI communication with the RTC.
