| Electronic Components Datasheet Search |
|
TUSB5052 Datasheet(PDF) 77 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB5052 Datasheet(HTML) 77 Page - Texas Instruments |
|
77 / 84 page ![]() 10–5 • I2C controller generates a stop condition after the contents of the I2CDAO register are transmitted. • End 10.6 Page-Write The page-write operation is initiated in the same way as byte-write, with the exception that a stop condition is not generated after the first EPROM [DATA] is transmitted. The following describes the sequence of writing 32-bytes in page mode: 10.6.1 Device Address + EPROM [High-Byte] • MCU sets I2CSTA[SWR] = 0. This forces the I2C controller not to generate a stop condition after the contents of the I2CDAO register are transmitted. • MCU writes the device address (R/W bit = 0) to the I2CADR register (write operation). • MCU writes the high-byte of the E2PROM address into the I2CDAO register. • TXE bit in the I2CSTA register is cleared (indicating 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 address). • TXE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO register contents have been transmitted. 10.6.2 EPROM [Low-Byte] • MCU writes the low byte of the E2PROM address into the I2CDAO register. • TXE bit in the I2CSTA register is cleared (indicates busy). • The contents of the I2CDAO register are transmitted to the device (E2PROM address). • TXE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO-register contents have been transmitted. 10.6.3 EPROM [DATA] - 31 Bytes • The data to be written to the E2PROM are written by the MCU into the I2CDAO register. • TXE bit in the I2CSTA register is cleared (indicates busy). • The contents of the I2CDAO register are transmitted to the device (E2PROM data). • TXE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO-register contents have been transmitted. • This operation repeats 31 times. 10.6.4 EPROM [DATA] - Last Byte • MCU sets I2CSTA[SWR] = 1. This forces the I2C controller to generate a stop condition after the contents of the I2CDAO register are transmitted. • MCU writes the last date byte to be written to the E2PROM, into I2CDAO register. • TXE bit in the I2CSTA register is cleared (indicates busy). • The contents of the I2CDAO register are transmitted to E2PROM (E2PROM data). • TXE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO-register contents have been transmitted. • I2C controller generates a stop condition after the contents of I2CDAO register are transmitted. • End of 32-byte page-write operation |
|
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 |