| 数据搜索系统,热门电子元器件搜索 |
|
CS49310 数据表(PDF) 37 Page - Cirrus Logic |
|
|
|||||||||||||||||||||||||||||
CS49310 数据表(HTML) 37 Page - Cirrus Logic |
|
37 / 86 page ![]() CS49300 Family DSP DS339PP4 37 3) After each byte (including the address and each data byte) the host must release the data line and provide a ninth clock for the CS493XX to acknowledge. The CS493XX will drive the data line low during the ninth clock to acknowledge. If for some reason the CS493XX does not acknowledge, it means that the last byte sent was not received and should be resent. If the resent byte fails to produce an acknowledge, a stop condition should be sent and the device should be reset. 4) The host should then clock data into the device most significant bit first, one byte at a time. The CS493XX will (and must) acknowledge each byte that it receives which means that after each byte the host must provide an acknowledge clock pulse on SCCLK and release the data line, SCDIO. 5) At the end of a data transfer a stop condition must be sent. The stop condition is defined as the rising edge of SCDIO while SCCLK is high. 6.1.2.2.Reading in I2C® A read operation is necessary when the CS493XX signals that it has data to be read. It does this by dropping its interrupt request line (INTREQ) low. When reading from the device in I2C®, the same protocol will be used whether reading a single byte or multiple bytes. The examples shown in this document can be expanded to fit any read situation. Figure 23 shows a typical I2C® read sequence 1) An I2C® read transaction is initiated by the CS493XX dropping INTREQ, signaling that it has data to be read. 2) The host responds by sending an I2C® start condition which is SCDIO dropping while SCCLK is held high. 3) The start condition is followed by a 7-bit address and the read/write bit set high for a read. The address for the CS493XX defaults to 0000000b. It is necessary to clock this address in prior to any transfer in order for the CS493XX to acknowledge the read. In other words a byte of 0x01 should be clocked into the device preceding any read. The 0x01 byte represents the 7 bit address 0000000b and a read/write bit set to 1 to designate a read. 4) After the falling edge of the serial control clock (SCCLK) for the read/write bit of the address byte, an acknowledge must be read in by the host. The CS493XX will drive SCDIO low to acknowledge the address byte and to indicate that it is ready for a read operation. If an SEND I2C START: WRITE ADDRESS BYTE SET TO 0 FOR WRITE GET ACK MORE DATA? I2C STOP: WITH MODE BIT N Y DROP SCDIO LOW WHILE SCCLK IS HIGH SEND DATABYTE GET ACK RAISE SCDIO HIGH WHILE SCCLK IS HIGH Figure 22. I2C® Write Flow Diagram |
|
链接网址 |
| 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 |