| 数据搜索系统,热门电子元器件搜索 |
|
CS7666 数据表(PDF) 18 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS7666 数据表(HTML) 18 Page - Cirrus Logic |
|
18 / 42 page ![]() CS7666 18 DS302PP1 board are tied to the secondary I2C port of the CS7666. WRITE and READ packets only are de- fined in four-byte mode. Independent address set operations to slave devices on the secondary I2C bus is not allowed in four-byte mode. Four-byte mode is active when the 4BYTEMODE pin (pin 1) is logic high. Write Operations in Four-Byte mode All WRITE operations from an external controller, through the CS7666, to any slave device must use the four-byte mode; this includes writing to the CS7666 itself. The external controller sends a four- byte WRITE command to the CS7666 which ini- tiates a WRITE operation to the destination slave device and sets the I2CBUSY bit in the status reg- ister (01h). The I2CBUSY bit is cleared when the write operation on the secondary bus is complete. The External controller can poll the status register to check if the CS7666 has completed the com- mand. The CS7666 has a one command buffer which al- lows the external controller to queue one additional command while the current command is still being executed. If more than one command is sent before the I2CBUSY bit is cleared, the CS7666 saves only the last command and executes it after the current one is completed. Commands that involve writing or reading only to CS7666 registers are not put in the queue but are executed immediately without af- fecting any transactions occurring on the master I 2C interface. Any attempt by the external I 2C controller to write to the CS7666 registers while the CS7666 is busy initializing from an external EEPROM will be ig- nored. However, reads from the CS7666 are al- lowed during this time. If, during a READ or WRITE operation to a slave device, the CS7666 fails to receive an acknowledge bit the execution of the command is aborted and the NODEV bit in the status register is set high. This bit remains set unless it is explicitly cleared by writing to it or a new command is written to CS7666. Read Operations in Four-Byte Mode The READ operation in four-byte mode first re- quires a three-byte READ-TRIGGER packet to the CS7666. The first byte is the station address of the CS7666 with the LSB set LOW. The second byte is the target slave device’s station address with the LSB (data direction bit) set HIGH. The third byte is the register address (0..255). The READ-TRIGGER packet initiates a READ operation by the CS7666 from the target slave de- vice on the secondary I 2C bus. The status register in the CS7666 may be checked to see if the read op- eration has been completed. The I2CBUSY bit in status register 01h is set to zero when the operation is completed. On completion of a read cycle from the target de- vice, the CS7666 places the data read into the Slave Data Hold register at address 19h. The external controller can read this data through the primary I 2C port. This requires first performing an AD- DRESS SET operation to set the address to 19h and Byte Sequence WRITE Format Packet Detail First Byte Station Address of CS7666 with LSB Set LOW Second Byte Station Address of target slave device with LSB Set LOW Third Byte Device Register Address (0..255) Fourth Byte Register Data (0..255) Table 11. Four-byte WRITE Format Packet Byte Sequence READ-TRIGGER format Packet Details First Byte CS7666 Station Address with LSB Set LOW Second Byte Target device Station Address with LSB Set HIGH Third Byte Device Register Address (0..255) Table 12. READ-TRIGGER packet in four-byte mode |
|
链接网址 |
| 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 |