| Electronic Components Datasheet Search |
|
TUSB3410 Datasheet(PDF) 68 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
TUSB3410 Datasheet(HTML) 68 Page - Texas Instruments |
|
68 / 92 page ![]() 10–4 • The data from the device is latched into the I2CDAI register (stop condition is transmitted). • The RXF bit in the I2CSTA register is set and interrupts the MCU, indicating that data are available. • The MCU reads the I2CDAI register. This clears the RXF bit (I2CSTA[RXF] = 0) • End 10.5 Byte-Write Operation The byte-write operation involves three phases: device address + EPROM [high byte] phase, EPROM [low byte] phase, and EPROM [DATA] phase. The following describes the sequence of events to accomplish the byte-write transaction. Device Address + EPROM [High Byte] • The MCU sets I2CSTA[SWR] = 0. This forces the I2C controller to not generate a stop condition after the contents of the I2CDAO register are transmitted. • The MCU writes the device address (R/W bit = 0) to the I2CADR register (write operation). • The MCU writes the high byte of the E2PROM address into the I2CDAO register (this starts the transfer on the SDA line). • The TXE bit in the I2CSTA register is cleared (indicates busy). • The contents of the I2CADR register are transmitted to the device (preceded by start condition on SDA). • The contents of the I2CDAO register are transmitted to the device (E2PROM high address). • The TXE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO register contents have been transmitted. EPROM [Low Byte] • The MCU writes the low byte of the E2PROM address into the I2CDAO register. • The TXE bit in the I2CSTA register is cleared (indicating busy). • The contents of the I2CDAO register are transmitted to the device (E2PROM address). • The TXE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO register contents have been transmitted. EPROM [DATA] • The MCU sets I2CSTA[SWR] = 1. This forces the I2C controller to generate a stop condition after the contents of I2CDAO register are transmitted. • The The data to be written to E2PROM is written by the MCU into the I2CDAO register. • The TXE bit in the I2CSTA register is cleared (indicates busy). • The contents of the I2CDAO register are transmitted to the device (E2PROM data). • The TXE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO register contents have been transmitted. • The I2C controller generates a stop condition after the contents of the I2CDAO register are 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 |