Go Down

Topic: ICSP Header Pins & DS3234 (Read 241 times) previous topic - next topic

bobo01

I am using the DS3234 Library from here

http://www.henningkarlsen.com/electronics/library.php?id=71

And the HW from here, with no battery

https://www.sparkfun.com/products/10160

I have an Arduino Mega 2560, connected to a 3.2" Sainsmart TFT, which is using the Pins

static const uint8_t SS   = 53;
static const uint8_t MOSI = 51;
static const uint8_t MISO = 50;
static const uint8_t SCK  = 52;

And so I connected my RTC to the ICSP pins
// ICSP header pinout:      +---+---+
//                1 - MISO  | X | X |  2 - Vcc
//                          +---+---+
//                3 - SCLK  | X | X |  4 - MOSI
//                          +---+---+
//                5 - Reset | X | X |  6 - GND
//                          +---+---+

MISO  -- MISO
SCLK  --  CLK
MOSI  --  MOSI
SS =  Pin 9

VCC and GND connect to the Arduino Pin VCC and GND and not the ICSP header.  When I run the example code, I do not see any time.  Can I run from the pins and the ICSP at the same time?

Thanks.

bobo01

I just tried on an UNO, just that and nothing else and still no luck.  Changed pins to

SS  = D8
MOSI  = D11
MISO = D12
SCLK = D13
VCC = 3.3
GND = GND

Does it work without a battery?

Go Up