auxio and i2cin/out problem
Michael O'Doul
Posts: 19
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
Comments
Primative I2C routines are not restricted to only certain pin numbers. The I2CIN and I2COUT commands ARE LIMITED to using either pin 0 or pin 8. Have you kept that restriction in mind?
Regards.
Bruce Bates
Post Edited (Bruce Bates) : 1/27/2007 11:45:49 AM GMT
Thanks Bruce.
michael odoul
When can I expect the $60.00 check?
Bruce
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
Otherwise, can you loan me sixty bucks? I have to pay the stupid tax (again).
michael odoul