| Electronic Components Datasheet Search |
|
WM0011 Datasheet(PDF) 105 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
WM0011 Datasheet(HTML) 105 Page - Cirrus Logic |
|
105 / 233 page ![]() WM0011 Production Data w PD, Rev 4.1, August 2013 105 Each transmitted word must be acknowledged by the remote (Slave) device. This includes the transmission of the Device Address for Read or Write operations. The received ACK/NACK status is provided in the I2C_STATUS register (see Table 53). For I 2C Master Write, setting LAST_BYTE_FLAG=1 will complete the transfer after the associated data byte has been transmitted. For I 2C Master Read, the I2C_MTXDATA register must be written to configure the ACK/NACK response for each received data word. Setting LAST_BYTE_FLAG=0 will configure the ‘ACK’, indicating readiness for more data bytes. Setting LAST_BYTE_FLAG=1 will configure the ‘NACK’, completing the transfer, and indicating that no further data is expected. For I 2C Master Read, the ACK/NACK response for the first data byte must be written to MTXDATA before the Master Read transfer is initiated. For subsequent data bytes, the LAST_BYTE_FLAG should be written following each received data byte (MSTR_RX_FILLED=1); writing to the LAST_BYTE_FLAG bit configures the ACK/NACK status for the next word that is received. Note that the LAST_BYTE_FLAG bit must be written before reading the received data byte from I2C_MRXDATA. The ACK/NACK status is configured in advance of each byte received, as described above. Accordingly, there is no requirement to write to the LAST_BYTE_FLAG bit after receipt of the last byte of the transfer. The last byte of the I 2C Master Write operation is acknowledged with the ACK response from the I2C Slave. An I 2C STOP Condition will normally be transmitted after the final ACK, thus completing the I2C Write. Note that the action taken on termination of the transfer is configurable, using the XFER_TERM bit in the I2C_MCTRL register (see Table 56). The MSTR_XFER_DONE bit in the I2C_STATUS register indicates when an I 2C Master transfer has completed. I2C_MTXDATA I2C MASTER TRANSMIT DATA REGISTER Address = 0xF002_0038 Default value = 0x0000_0000 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 BITS FIELD NAME S/W ACCESS RESET VALUE FIELD DESCRIPTION 31:10 Reserved 0x00_ 0000 9 LAST_BYTE_FLAG RW 0x0 Indicates the last byte of a transfer from either an I 2C read or an I2C write 0 = Not last byte 1 = Last Byte 8 MTXDATA_FLAG RO 0x0 Indicates when the register has been loaded and is ready for transmission. 0 = Register empty 1 = Register full (ready for transmit) Note that this bit is read only 7:0 MTXDATA RW 0x00 Master Data byte for transmission (I 2C write) Table 58 I2C_MTXDATA Register |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |