| 数据搜索系统,热门电子元器件搜索 |
|
AN971 数据表(PDF) 2 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN971 数据表(HTML) 2 Page - STMicroelectronics |
|
2 / 7 page ![]() 2/7 I2C COMMUNICATION BETWEEN ST7 AND M24Cxx EEPROM 1 ST7 I2C INTERFACE The ST7 I2C peripheral allows multi master and slave communication with bus error manage- ment. In this application, only single master mode is used without error management. As polling mode is the most difficult mode to implement, the application is based on this mode, but it can be easily adapted for interrupt management. The I2C synchronous communication needs only two signals: SCL (Serial clock line) and SDA (Serial data line). The corresponding port pins have to be configured as floating inputs. Please refer to the ST7 datasheet for more details. 1.1 COMMUNICATION SPEED The ST7 I2C peripheral allows a large range of communication speeds. It is able to work in standard and fast I2C modes. In master mode the communication speed is given by the Clock Control Register (CCR). An example is given in Table 1. Table 1. Example of Possible I2C Communication Speeds (fCPU=8 MHz) 1.2 START, STOP CONDITION AND ACKNOWLEDGE GENERATION In master mode, the Start and Stop conditions can be generated by setting the START and STOP bits in the Control Register (CR). An Acknowledge is sent after an address or a data byte is received when the ACK bit is set in the Control Register (CR). Standard Mode Fast Mode Speed [KHz] 15.5 25.00 50.00 70.00 100.00 167.00 190.00 333.00 CCR [hex] EC 9E 4E 37 26 8E 8C 86 2 |
|
|
链接网址 |
| 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 |