chipKIT® Development Platform

Inspired by Arduino™

ChipKit max32 Ethernet Shield RTCC and ChipKit I/O shield

Created Thu, 22 Mar 2012 12:10:01 +0000 by StevieGz


Thu, 22 Mar 2012 12:10:01 +0000

Hi all Hope someone can help me with this. I'm in the middle of teaching myself to use the ChipKit max32 and am trying to use the I/O shield in conjunction with the Ethernet shield.

I am using some code previously posted, which I have attached, which accesses the onboard RTCC fine when using just the Ethernet shield and the max 32.

However it stops working when I also plug in the I/O shield. Can anyone tell me why this is, and if there is a way around it?

I am fully aware that I may be doing something very silly, but any help would be appreciated!

Ryan K

Thu, 22 Mar 2012 23:24:49 +0000


Well the reason why it freezes is that the IO Shield has a pulldown on pin 4 for BTN1 which pulls down the SOSCO which is the secondary oscillator that the RTCC uses to function. Thus the RTCC is never running and gets stuck in that while loop. To get past this I attached a pullup resistor from pin 4 to VCC3V3. I used a 20K resistor which seems to work fine. (The only reason why I picked that resistance is because I have a bunch on my desk and it seemed high enough :D )

Best Regards, Ryan K