| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
TUSB3210 bảng dữ liệu(PDF) 37 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB3210 bảng dữ liệu(HTML) 37 Page - Texas Instruments |
|
37 / 45 page ![]() www.ti.com 2.11.4 Write Operation (Serial EEPROM) 2.11.5 Page Write Operation TUSB3210 Universal Serial Bus General-Purpose Device Controller SLLS466F – FEBRUARY 2001 – REVISED AUGUST 2007 d. The MCU reads the I2CDAI register, clearing the RXF bit (I2CSTA[RXF] = 0). The 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] 1. The MCU sets I2CSTA[SWR] = 0. This prevents the I2C controller from generating a stop condition after the content of the I2CDAO register is transmitted. 2. The MCU writes the device address (R/W bit = 0) to the I2CADR register (write operation). 3. The MCU writes the high byte of the EEPROM address into the I2CDAO register, starting the transfer on the SDA line. 4. The TXE bit in I2CSTA is cleared, indicating busy. 5. The content of the I2CADR register is transmitted to the device (preceded by a start condition on SDA). 6. The content of the I2CDAO register is transmitted to the device (EEPROM high-address). 7. The TXE bit in I2CSTA is set and interrupts the MCU, indicating that the I2CDAO register has been transmitted. EEPROM [Low Byte] 1. The MCU writes the low byte of the EEPROM address into the I2CDAO register. 2. The TXE bit in I2CSTA is cleared, indicating busy. 3. The content of the I2CDAO register is transmitted to the device (EEPROM address). 4. The TXE bit in I2CSTA is set and interrupts the MCU, indicating that the I2CDAO register has been transmitted. EEPROM [DATA] 1. The MCU sets I2CSTA[SWR] = 1. This forces the I2C controller to generate a stop condition after the content of the I2CDAO register is transmitted. 2. The MCU writes the DATA to be written to the EEPROM into the I2CDAO register. 3. The TXE bit in I2CSTA is cleared, indicating busy. 4. The content of the I2CDAO register is transmitted to the device (EEPROM data). 5. The TXE bit in I2CSTA is set and interrupts the MCU, indicating that the I2CDAO register has been transmitted. 6. The I2C controller generates a stop condition after the content of the I2CDAO register is transmitted. The page write operation is initiated the same way as byte write, with the exception that a stop condition is not generated after the first EEPROM [DATA] is transmitted. The following describes the sequence of writing 32 bytes in page mode: Submit Documentation Feedback Functional Description 37 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |