| 数据搜索系统,热门电子元器件搜索 |
|
FDA803U-KBX 数据表(PDF) 57 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
FDA803U-KBX 数据表(HTML) 57 Page - STMicroelectronics |
|
57 / 76 page ![]() DS12497 Rev 2 57/76 FDA803U I2C bus interface 75 13.1 Writing procedure There are two possible procedures: 1. without increment: the I bit is set to 0 and the register is addressed by the subaddress. Only this register is written by the data following the subaddress byte. 2. with increment: the I bit is set to 1 and the first register write is the one addressed by subaddress. The registers are written from this address up to stop bit or the reaching of last register. 13.2 Reading procedure The reading procedure is made up only by the device address (sent by master) and the data (sent by slave) as reported in Figure 70 (a). In particular when a reading procedure is performed the first register read is the last addressed in a previous access to I2C peripheral. Hence, to read a particular register also a sort of write action (a write interrupted after the sub-address is sent) is needed to specify which register has to be read. Figure 70 (b) shows the complete procedure to read a specific register where: the master performs a write action by sending just the device address and the subaddress; the transmission must be interrupted with the stop condition when the subaddress is sent. now, the read procedure can be performed: the master starts a new communication and sends the device address; then the slave (FDA803U) will respond by sending the data bits. the read communication is ended by the master which sends a stop condition preceded by a not-acknowledge. Instead, performing a start immediately after the stop condition could be possible for generating the repeated start condition (Sr) which also keeps busy the I2C bus until the stop is reached (Figure 70 (c)). Figure 70. Reading procedure There are two possible reading procedures: 1. without auto-increment (Figure 71 (a)) if the "I" bit of the last I2C writing procedure has been set to 0: in this case only the register addressed by the sub-address sent in the previous writing procedure is read; 2. with auto-increment (Figure 71 (b)) if the "I" bit of the last I2C write procedure has been set to 1: in this case the first register read is the one addressed by sub-address sent in the previous writing procedure. Only the registers from this address up to the stop bit are read. |
|
链接网址 |
| 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 |