| 전자부품 데이터시트 검색엔진 |
|
TUSB5052 데이터시트(PDF) 71 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB5052 데이터시트(HTML) 71 Page - Texas Instruments |
|
71 / 82 page ![]() 10−5 4. The contents of the I2CDAO register are transmitted to the device (EEPROM data). 5. TxE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO register contents have been transmitted. 6. I2C controller generates a stop condition after the contents of the I2CDAO register are transmitted. 7. 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 EEPROM [DATA] is transmitted. The following describes the sequence of writing 32-bytes in page mode: 10.6.1 Device Address + EEPROM [High-Byte] 1. 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. 2. MCU writes the device address (R/W bit = 0) to the I2CADR register (write operation). 3. MCU writes the high-byte of the EEPROM address into the I2CDAO register. 4. TxE bit in the I2CSTA register is cleared (indicating busy). 5. The contents of the I2CADR register are transmitted to the device (preceded by start condition on SDA). 6. The contents of the I2CDAO register are transmitted to the device (EEPROM address). 7. TxE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO register contents have been transmitted. 10.6.2 EEPROM [Low-Byte] 1. MCU writes the low byte of the EEPROM address into the I2CDAO register. 2. TxE bit in the I2CSTA register is cleared (indicates busy). 3. The contents of the I2CDAO register are transmitted to the device (EEPROM address). 4. TxE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO-register contents have been transmitted. 10.6.3 EEPROM [DATA] - 31 Bytes 1. The data to be written to the EEPROM are written by the MCU into the I2CDAO register. 2. TxE bit in the I2CSTA register is cleared (indicates busy). 3. The contents of the I2CDAO register are transmitted to the device (EEPROM data). 4. TxE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO-register contents have been transmitted. 5. This operation repeats 31 times. 10.6.4 EEPROM [DATA] - Last Byte 1. MCU sets I2CSTA[SWR] = 1. This forces the I2C controller to generate a stop condition after the contents of the I2CDAO register are transmitted. 2. MCU writes the last date byte to be written to the EEPROM, into I2CDAO register. |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 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 |