wrapping out RTC. Simplified SPI routines