| поискавой системы для электроныых деталей |
|
TUSB5052PZ датащи(PDF) 69 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB5052PZ датащи(HTML) 69 Page - Texas Instruments |
|
69 / 82 page ![]() 10−3 6. The content of the I2CADR register is transmitted to EEPROM (preceded by start condition on SDA). 7. The contents of the I2CDAO register are transmitted to EEPROM (EEPROM address). 8. TxE bit in the I2CSTA register is set and interrupts the MCU, indicating that the I2CDAO register has been transmitted. 9. Stop condition is not generated. 10.2.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 has been transmitted. 5. This completes the dummy write operation. At this point, the E2ROM address is set and the MCU can do either a single- or a sequential-read operation. 10.3 Current-Address Read Operation Once the EEPROM address is set, the MCU can read a single byte by executing the following steps: 1. MCU sets I2CSTA[SRD] = 1. This forces the I2C controller to generate a stop condition after the I2CDAI-register contents are received. 2. MCU writes the device address (R/W bit = 1) to the I2CADR register (read operation). 3. MCU writes a dummy byte to the I2CDAO register (this starts the transfer on the SDA line). 4. RxF bit in the I2CSTA register is cleared. 5. Contents of the I2CADR register are transmitted to the device (preceded by start condition on SDA). 6. Data from EEPROM are latched into the I2CDAI register (stop condition is transmitted). 7. RxF bit in the I2CSTA register is set and interrupts the MCU, indicating that the data are available. 8. MCU reads the I2CDAI register. This clears the RxF bit (I2CSTA[RxF] = 0). 9. End 10.4 Sequential Read Operation Once the EEPROM address is set, the MCU can execute a sequential read operation by executing the following steps (this example illustrates a 32-byte sequential read): 10.4.1 Device Address 1. MCU sets I2CSTA[SRD] = 0. This forces the I2C controller not to generate a stop condition after the I2CDAI register contents are received. 2. MCU writes the device address (R/W bit = 1) to the I2CADR register (read operation). 3. MCU writes a dummy byte to the I2CDAO register (this starts the transfer on the SDA line). 4. RxF bit in the I2CSTA register is cleared. 5. The contents of the I2CADR register are transmitted to the device (preceded by start condition on SDA). |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |