| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
AS1163 Datasheet(PDF) 65 Page - ams-OSRAM AG |
|
|
|||||||||||||||||||||||||||||
AS1163 Datasheet(HTML) 65 Page - ams-OSRAM AG |
|
65 / 91 page ![]() AS1163 Command and register description Datasheet • PUBLIC • Document Feedback DS001075 • v2-00 • 2025-Nov-21 65 / 91 / Figure 25: I2CREAD 12-bit addressing The I2CCFG status register reflects the status of the I²C transaction (fields I2C_BUSY and I2C_NACKACK) but no response telegram is sent with the read data. Instead, the data is stored in a 64-bit register inside the SAID, which can be read with the telegram READLAST. For details, please refer to application note “I²C bridge – SAID as I²C gateway AN001090”. 7.12.17 I2CWRITE (0x19) Writes bytes to a register in an I²C device. The SAID I²C bridge first asserts I2CCFG.I2C_BUSY. Next, it starts an I²C transaction consisting of a single write segment. This contains the register address, followed by data. When the device does not acknowledge one of the bytes, the transaction is aborted, and I2CCFG.NACK_ACK is asserted. When the device does acknowledge all bytes, I2CCFG.NACK_ACK is de-asserted. After abort or successful completion I2CCFG.I2C_BUSY is de-asserted; it would stay asserted as long as the target device pulls the SCL low (“I²C clock stretching”). The PSI of the I2CWRITE telegram indicates how many bytes will be written, address bytes and data bytes together. In 8-bit addressing, the first byte is the I²C device address (7-bit I²C address plus adding a 0 LSB). The second byte is the I²C register address where to write to. Next come 1 to 6 data bytes. Because a PSI of 7 cannot be encoded, 5 data bytes cannot be sent. Figure 26: I2CWRITE 8-bit addressing If 12-bit addressing is asserted (I2CCFG. I2C_12_BIT_ADDR), the first byte is the I²C device address (7-bits with appended 0) and the second and third bytes form the 12-bit I²C register address where to write to. Only the 12 LSBs in the telegram are significant, the I²C transaction uses 16 bits, prepending 0b0000. Next come 1 to 5 data bytes. Because a PSI of 7 cannot be encoded, 4 data bytes cannot be sent. |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |