Page 1 of 1

EtherMega and SparkFun DeadOn RTC Module - DS3234

Posted: Sun Jul 07, 2013 10:19 am
by KmanOz
Hi

I'm trying to use the SparkFun DeadOn RTC module (DS 3234) which is an SPI based RTC with a EtherMega to no avail. I currently have it connected like so :-

GND – GND
VCC – 3.3v
SQW – GND
CLK – 52
MISO – 50
MOSI – 51
SS – 53

I cannot get Ethernet and RTC to work at the same time. Code for RTC works fine by itself and uses the RTClib library from GitHub. Code Iv written for my app which uses Ethernet works fine without RTClib library installed. They just won't work together.

This is probably very simple but I don't understand enough to troubleshoot it.

Can anyone please help ?

KmanOz

Re: EtherMega and SparkFun DeadOn RTC Module - DS3234

Posted: Sun Jul 14, 2013 8:04 am
by KmanOz
Thanks

That fixed it. Moved SS to pin 6 and all OK.

Kman

Re: EtherMega and SparkFun DeadOn RTC Module - DS3234

Posted: Sun Jul 14, 2013 9:37 am
by andrew
KmanOz wrote:Thanks

That fixed it. Moved SS to pin 6 and all OK.

Kman
Nice one. :)