chipKIT® Development Platform

Inspired by Arduino™

interfacing ds1307 (WIRE I2C) doesnt work on MAX32

Created Mon, 23 Jul 2012 20:43:47 +0000 by acmilangr


Mon, 23 Jul 2012 20:43:47 +0000

Hi. i want to interface DS1307 using I2C pins (20,21) and it doesnt works. I am using a pcb (with PIC32MX795) that i designed and i have conected these pins to DS1307.

But it seems that this wire library doesnt works on MAX32 only on UNO32. (i think the issue is that the library is using A4,A5 pins)

Is there any solution please???


Tue, 24 Jul 2012 19:11:33 +0000

Did you make sure to change the jumpers JP6 and JP8 on the right of the board to the lower position? Because you are right, your board is trying to use those two pins as Analog inputs but you change this by moving the jumper down.

The pic32 has a lot of pins and they can't all be broken out, so they have out a number of jumpers to help use all of the pins while still keeping the form factor of the Arduino.

For more info please refer to the uno32 user manual located on the diligent website: