EtherMega and SparkFun DeadOn RTC Module - DS3234

Combining the power of the ATmega2560 MCU with onboard Ethernet, a microSD card slot, an efficient switchmode power supply, and a small prototyping area. [Product page]
Post Reply
KmanOz
Posts: 2
Joined: Wed Jun 19, 2013 12:19 pm

EtherMega and SparkFun DeadOn RTC Module - DS3234

Post by KmanOz » Sun Jul 07, 2013 10:19 am

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

KmanOz
Posts: 2
Joined: Wed Jun 19, 2013 12:19 pm

Re: EtherMega and SparkFun DeadOn RTC Module - DS3234

Post by KmanOz » Sun Jul 14, 2013 8:04 am

Thanks

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

Kman

andrew
Freetronics Staff
Freetronics Staff
Posts: 978
Joined: Sun Jul 14, 2013 7:06 am
Location: Melbourne, Australia
Contact:

Re: EtherMega and SparkFun DeadOn RTC Module - DS3234

Post by andrew » Sun Jul 14, 2013 9:37 am

KmanOz wrote:Thanks

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

Kman
Nice one. :)

Post Reply