??? 07/09/05 18:24 Read: times |
#96927 - Read the damned data sheet! Responding to: ???'s previous message |
Many years ago, our buyer had a supply problem with a PCF8583 I2C clock/calendar/256Bram. Distro said the 8573 (I think) was the same, and they had lots. Sent me a data sheet and, indeed, it was the same - couldn't understand the different device number (I believe it had a slightly different I2C address). Built the boards - failed on test. It came back to me. By this time, of course, I'd completely forgotten about the changed device. I spent a day trying to 'debug' our previously rock-solid 'bit-banged' I2C routines in the 8052. The clock and calendar locations read back fine, but once over address 0Fh - just zeroes.
I consulted the data sheet again. Yes, it was a clock/calendar/'ram', but only 7 bytes of RAM!!! The data sheet looked like an exact copy of the 8583, with edits - and I hadn't read closely enough. DAMMIT! First (and second) lessons well and truly confirmed. Dave |