| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
TUSB2136 bảng dữ liệu(PDF) 41 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB2136 bảng dữ liệu(HTML) 41 Page - Texas Instruments |
|
41 / 53 page ![]() 2−28 EEPROM [DATA] • 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. • The MCU writes the DATA to be written to the EEPROM into the I2CDAO register. • The TXE bit in I2CSTA is cleared, indicating busy. • The content of the I2CDAO register is transmitted to the device (EEPROM data). • The TXE bit in I2CSTA is set, and interrupts the MCU, indicating that the I2CDAO register has been transmitted. • The I2C controller generates a stop condition after the content of the I2CDAO register is transmitted. 2.11.5 Page Write Operation 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: Device Address + EEPROM [high byte] • 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. • The MCU writes the device address (R/W bit = 0) to the I2CADR register (write operation). • The MCU writes the high byte of the EEPROM address into the I2CDAO register. • The TXE bit in I2CSTA is cleared, indicating busy. • The content of the I2CADR register is transmitted to the device (preceded by a start condition on SDA). • The content of the I2CDAO register is transmitted to the device (EEPROM address). • The TXE bit in I2CSTA is set, and interrupts the MCU, indicating that the I2CDAO register has been sent. EEPROM [low byte] • The MCU writes the low byte of the EEPROM address into the I2CDAO register. • The TXE bit in I2CSTA is cleared, indicating busy. • The content of the I2CDAO register is transmitted to the device (EEPROM address). • The TXE bit in I2CSTA is set, and interrupts the MCU, indicating that the I2CDAO register has been sent. 31 Bytes EEPROM [DATA] • The MCU writes the DATA to be written to the EEPROM into the I2CDAO register. • The TXE bit in I2CSTA is cleared, indicating busy. • The content of the I2CDAO register is transmitted to the device (EEPROM data). • The TXE bit in I2CSTA is set, and interrupts the MCU, indicating that the I2CDAO register has been sent. • This operation repeats 31 times. |
|
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 |