Real Time Clock RTC RV-2123


#1

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

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

can someone pint me to the next steps?

Best Tobias


#2

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.


#3

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.