I'm still trying to interface a Serial RAM chip with a LPC2148 and am making some progress. I received some sample 'C' code from the RAM chip manufacturer, but wanted you experts to clarify some points. In the 'C' code, it appears that all the manipulation is done to the SDA and SCL lines directly. I'm assuming that all that is done internal to the 2148 when you write START, STOP, and ACK commands directly to the I2C registers and I don't have to mess with any of that stuff. Right? What I am getting at is that this code probably won't help me any except for the procedural aspect of how to address the chip, which appears to be correct in my case. Another ? I have is that in the user manual, it always says 'When your data has been sent and the acknowledgement has been received, then ....', is the ACK the SI bit? Or do I have do anything else besides clear the SI bit to 'get the acknowledgement'? Not clear on that... Sutton Sutton
Message
I2C ?
2006-03-08 by Sutton Mehaffey
Attachments
- No local attachments were found for this message.