| Electronic Components Datasheet Search |
|
TUSB3410 Datasheet(PDF) 69 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
TUSB3410 Datasheet(HTML) 69 Page - Texas Instruments |
|
69 / 92 page ![]() 10–5 10.6 Page-Write Operation 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. Device Address + EPROM [High Byte] • The 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. • 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 • The 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). • 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 (indicates 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]—31 Bytes • The data to be written to the E2PROM are 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. • This operation repeats 31 times. EPROM [DATA]—Last Byte • The MCU sets I2CSTA[SWR] = 1. This forces the I2C controller to generate a stop condition after the contents of the I2CDAO register are transmitted. • The MCU writes the last date byte to be written to the E2PROM, into the I2CDAO register. • The TXE bit in the I2CSTA register is cleared (indicates busy). • The contents of the I2CDAO register are transmitted to E2PROM (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 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 |