??? 09/21/04 21:05 Read: times |
#77909 - RE: Real Time Clock Interface Responding to: ???'s previous message |
Erik, there has to be a flowchart format ...
This is what you get and it should be clear DS1332 data sheet page 13: 1) Data transfer from a master transmitter to a slave receiver. i.e. set timeThe first byte transmitted by the master is the slave address. Next follows a number of data bytes. The slave returns an acknowledge bit after each received byte. Data is transferred with the most significant bit (MSB) first. 2) Data transfer from a slave transmitter to a master receiver i.e. read time. The master transmits the first byte (the slave address). The slave then returns an acknowledge bit, followed by the slave transmitting a number of data bytes. The master returns an acknowledge bit after all received bytes other than the last byte. At the end of the last received byte, a “not acknowledge” is returned. The master device generates all of the serial clock pulses and the START and STOP conditions. A transfer is ended with a STOP condition or with a repeated START condition. Since a repeated START condition is also the beginning of the next serial transfer, the bus is not released. Data is transferred with the most significant bit (MSB) first. You need to read up on IIC Erik The best (and most) IIC appnotes including the bus specification: http://www.semiconductors.philips.com/buses/i2c...index.html To read up on IIC |
Topic | Author | Date |
Real Time Clock Interface | 01/01/70 00:00 | |
RE: Real Time Clock Interface | 01/01/70 00:00 | |
RE: Real Time Clock Interface | 01/01/70 00:00 | |
even easier | 01/01/70 00:00 | |
Very important lesson for today | 01/01/70 00:00 | |
RE: Very important lesson for today | 01/01/70 00:00 | |
RE: Very important lesson for today | 01/01/70 00:00 | |
RE: Real Time Clock Interface | 01/01/70 00:00 | |
RE: Real Time Clock Interface | 01/01/70 00:00 | |
RE: Real Time Clock Interface | 01/01/70 00:00 | |
RE: Real Time Clock Interface![]() | 01/01/70 00:00 |