Michael O'Doul
01-27-2007, 06:07 PM
Hi All:
This one is driving me nuts. I'm using a ds1307 i2c RTC with a bs2p40. On the breadboard, the circuit and code worked beautifully. When I moved the hardware to a PCB, I lost functionality. Everything remained exactly the same EXCEPT that I changed the SDA and SCL pins from MAINIO to AUXIO. The hardware is working fine -- I've verified this by using some of Jon Williams old DS1307 code that doesn't use I2CIN/OUT. The clock is humming away and keeping beautiful time, but I can neither write to nor read from it using I2C commands. I can read from and write to it perfectly if I 'hand-code' the communications.
Does anyone have any experience with this problem and/or its solution? I don't have enough code space not to use I2CIN/OUT, and I can't move the clock back to the MAINIO side of the stamp.
Thanks
michael odoul
This one is driving me nuts. I'm using a ds1307 i2c RTC with a bs2p40. On the breadboard, the circuit and code worked beautifully. When I moved the hardware to a PCB, I lost functionality. Everything remained exactly the same EXCEPT that I changed the SDA and SCL pins from MAINIO to AUXIO. The hardware is working fine -- I've verified this by using some of Jon Williams old DS1307 code that doesn't use I2CIN/OUT. The clock is humming away and keeping beautiful time, but I can neither write to nor read from it using I2C commands. I can read from and write to it perfectly if I 'hand-code' the communications.
Does anyone have any experience with this problem and/or its solution? I don't have enough code space not to use I2CIN/OUT, and I can't move the clock back to the MAINIO side of the stamp.
Thanks
michael odoul