| Electronic Components Datasheet Search |
|
AN971 Datasheet(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN971 Datasheet(HTML) 5 Page - STMicroelectronics |
|
5 / 7 page ![]() 5/7 I2C COMMUNICATION BETWEEN ST7 AND M24Cxx EEPROM 2.7 COMMUNICATING WITH THE I2C EEPROM The communication protocol between the ST7 and the external M24Cxx EEPROM is given in Figure 2. For more details, please refer to the ST24C08 datasheet. Figure 2. I2C Communication Protocol The ST7 / M24Cxx communication application is based on two steps: – Write the content of an output buffer (from the ST7 ROM) in the M24Cxx EEPROM – Read this written buffer from the M24Cxx EEPROM to the ST7 RAM. Figure 3. shows the flowchart of these two steps. Figure 3. Communication Application Flowchart ACK START EEPROM @ SUB @ ACK DATA 1 ACK DATA 2 ACK DATA N-1 DATA N STOP ACK START EEPROM @ SUB @ ACK DATA 1 ACK DATA N NACK STOP ACK START EEPROM @ ACK Write data from ST7 to EEPROM Read data from EEPROM to ST7 SEND SUB @ DATA INITIATE TRANSMISSION (START + SLAVE @) END OF BUFFER yes no SEND NEXT BUFFER DATA SEND SUB @ DATA INITIATE TRANSMISSION (START + SLAVE @) INITIATE RECEPTION (START + SLAVE @ with LSB set) LAST DATA TO RECEIVE yes no RECEIVE NEXT BUFFER DATA SET THE STOP CONDITION BIT SET THE STOP CONDITION BIT no yes Write data from ST7 to EEPROM Read data from EEPROM to ST7 END OF RECEPTION yes CLEAR ACKNOWLEDGE BIT 2nd LAST DATA TO RECEIVE no |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |