We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I'm working with a Microchip 24AA32A I2C EEPROM. I have read the data sheet, and written some software to work with it. The problem is that sometimes the device does not reply (I don't have a scope here, will use one as soon as possible), and I believe it is due to bad clock settings. My ARM7 PCLK bus is running at 18 MHz; the data sheet says that the maximum clock frequency is 400 KHz or 100 KHz, depending on the operating voltage. does that mean that anything between these settings is invalid? if so, given 18 MHz of PCLK (or any other frequency I can derive from 72 MHz CCLK), I cannot have the peripheral get fed by exactly 100 or 400 KHz (I checked my LPC2468 data sheet). what do I do?
I have one more question: sometimes when it goes wrong the LPC does not generate an interrupt after a start bus has been placed on the bus (I don't know if it was not; I only see that the interrupt that I expect is missing). what can be the cause of that (assuming VIC is correctly configured etc.) ? this manifests itself by a failure to read after a write or the other way around. but not two consecutive reads or writes do work. I did notice that the clock settings affect this, however.