| 数据搜索系统,热门电子元器件搜索 |
|
AN971 数据表(PDF) 5 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN971 数据表(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 |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |