| Electronic Components Datasheet Search |
|
TUSB3210 Datasheet(PDF) 37 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB3210 Datasheet(HTML) 37 Page - Texas Instruments |
|
37 / 44 page ![]() 2–25 • MCU reads I2CDAI register, clearing RXF bit (I2CSTA[RXF] = 0) • This operation repeats 31 times 3. Last-Byte read (byte No. 32) • MCU sets I2CSTA[SRD] = 1. This forces the I2C controller to generate a stop condition after I2CDAI register is received • Data from the device is latched in I2CDAI register (Stop condition is transmitted) • RXF bit in I2CSTA is set, and interrupt the MCU, indicating that data is available • MCU reads I2CDAI register, clearing RXF bit (I2CSTA[RXF] = 0) • END 2.11.4 Write Operation (Serial EEPROM) Byte write operation involves three phases: 1) device address + EEPROM [High–byte] phase, 2) EEPROM [Low–byte] phase, and 3) EEPROM [DATA]. The following describes the sequence of events to accomplish the byte write transaction: Device Address + EEPROM [High-byte] • MCU sets I2CSTA[SWR] = 0. This forces the I2C controller to not generate a stop condition after the content of I2CDAO register is transmitted. • MCU writes the device address (R/W bit = 0) to I2CADR register (write operation) • MCU writes the high-byte of the EEPROM address into I2CDAO register, starting the transfer on SDA line • TXE bit in I2CSTA is cleared, indicating busy • The content of I2CADR register is transmitted to the device (preceded by start condition on SDA) • The content of I2CDAO register is transmitted to the device (EEPROM high-address) • TXE bit in I2CSTA is set, and interrupts the MCU, indicating that I2CDAO register has been transmitted EEPROM [Low-byte] • MCU writes the low–byte of the EEPROM address into I2CDAO register • TXE bit in I2CSTA is cleared, indicating busy • The content of I2CDAO register is transmitted to the device (EEPROM address) • TXE bit in I2CSTA is set, and interrupts the MCU, indicating that I2CDAO register has been transmitted EEPROM [DATA] • MCU sets I2CSTA[SWR] = 1. This forces the I2C controller to generate a stop condition after the content of I2CDAO register is transmitted. • MCU writes the DATA to be written to the EEPROM into I2CDAO register • TXE bit in I2CSTA is cleared, indicating busy • The content of I2CDAO register is transmitted to the device (EEPROM data) • TXE bit in I2CSTA is set, and interrupts the MCU, indicating that I2CDAO register has been transmitted • I2C controller generates a stop condition after the content of I2CDAO register is transmitted • END |
|
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 |