| Zakładka z wyszukiwarką danych komponentów |
|
ST25R3916 Arkusz danych(PDF) 55 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST25R3916 Arkusz danych(HTML) 55 Page - STMicroelectronics |
|
55 / 157 page ![]() DS12484 Rev 4 55/157 ST25R3916/7 Application information 156 Writing data to addressable registers (Register Write mode) After the I2C slave address the address of the register to be written is sent using the same Register Write mode byte as for SPI register write access. The Register Write mode byte is then followed by one or more data bytes. If more than one data byte is sent, the data is stored in subsequent registers starting form the initial register address by incrementing the target address by one for each new data byte. Figure 20 and Figure 21 show, respectively, how to write a single byte into a register and how to write multiple bytes into subsequent registers using address auto-incrementing. Figure 20. Writing a single register Figure 21. Writing register data with auto-incrementing address Reading data from addressable registers (Register Read mode) After the I2C slave address the address of the register to be read is sent using the same Register Read mode byte of the SPI register read access. After the Register Read mode byte the ST25R3916/7 sends data bytes to the SDA output as long as the MCU keeps SCL. The Register Read mode also supports address auto-incrementing. If the addressed register does not exist, all 0 data is sent to SDA. Table 12. I2C interface and interrupt signal lines Name Signal Signal level Description I2C_EN Digital input CMOS Pull to VDD_D for I2C operation MISO (SDA) Digital output I2C data line SCLK (SCL) Digital input I2C clock IRQ Digital output Active high - Interrupt output pin MS51653V2 SCL SDA 0 0 0 A 6 A 5 A 4 A 3 A 2 A 1 A 0 R 4 R 3 R 2 R 1 A C K P S Slave address D 7 D 6 D 5 D 4 D 3 D 2 R 0 A C K D 1 D 0 Data Register address A C K R 5 MS51654V3 SCL SDA 0 0 A 6 A 5 A 4 A 3 A 2 A 1 A 0 0 R 4 R 3 R 2 R 1 A C K P S Data moved to address <R5-R0> + n Slave address D 7 D 6 D 5 D 4 D 3 D 2 R 0 A C K D 1 D 0 D 3 D 2 D 1 D 0 A C K D 5 D 4 D 7 D 6 Data moved to address <R5-R0> + 0 Register address R 5 A C K |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |