| Electronic Components Datasheet Search |
|
TUSB3210PM Datasheet(PDF) 35 Page - Texas Instruments |
|
|
|||||||||||||||||||||||||||||
TUSB3210PM Datasheet(HTML) 35 Page - Texas Instruments |
|
35 / 50 page ![]() TUSB3210 www.ti.com SLLS466G – FEBRUARY 2001 – REVISED DECEMBER 2015 7.5.11 Read/Write Operations 7.5.11.1 Read Operation (Serial EEPROM) A serial read requires a dummy byte write sequence to load in the 16-bit data word address. When the device address word and data address word are clocked out and acknowledged by the device, the MCU starts a current address sequence. The following describes the sequence of events to accomplish this transaction: Device Address + EEPROM [High Byte] 1. The MCU sets I2CSTA[SRD] = 0.This prevents the I2C controller from generating a stop condition after the content of the I2CDAI register is received. 2. 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. 3. The MCU writes the device address (R/W bit = 0) to the I2CADR register (write operation). 4. The MCU writes the high byte of the EEPROM address into the I2CDAO register, starting the transfer on the SDA line. 5. The TXE bit in I2CSTA is cleared, indicating busy. 6. The content of the I2CADR register is transmitted to the EEPROM (preceded by start condition on SDA). 7. The content of the I2CDAO register is transmitted to the EEPROM (EEPROM address). 8. The TXE bit in I2CSTA is set, and interrupts the MCU, indicating that the I2CDAO register has been transmitted. 9. No stop condition is generated. 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. 5. This completes the dummy write operation. At this point, the EEPROM address is set and the MCU can do a single or a sequential read operation. 7.5.11.2 Current Address Read Operation When the EEPROM address is set, the MCU can read a single byte by executing the following steps: 1. The MCU sets I2CSTA[SRD] = 1, forcing the I2C controller to generate a stop condition after the I2CDAI register is received. 2. The MCU writes the device address (R/W bit = 1) to the I2CADR register (read operation). 3. The MCU writes a dummy byte to the I2CDAO register, starting the transfer on the SDA line. 4. The RXF bit in I2CSTA is cleared. 5. The content of the I2CADR register is transmitted to the device, preceded by a start condition on SDA. 6. Data from the EEPROM is latched into the I2CDAI register (stop condition is transmitted). 7. The RXF bit in I2CSTA is set, and interrupts the MCU, indicating that the data is available. 8. The MCU reads the I2CDAI register. This clears the RXF bit (I2CSTA[RXF] = 0). Copyright © 2001–2015, Texas Instruments Incorporated Submit Documentation Feedback 35 Product Folder Links: TUSB3210 |
|
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 |