| поискавой системы для электроныых деталей |
|
ACE9050 датащи(PDF) 30 Page - Mitel Networks Corporation |
|
|
|||||||||||||||||||||||||||||
ACE9050 датащи(HTML) 30 Page - Mitel Networks Corporation |
|
30 / 52 page ![]() ACE9050 30 4. Transmit Stop When all bytes have been transmitted the STP bit should be set. The ACE9050 I2C will then transmit a STOP condition, clear the STP bit and return to the idle state. If the Slave receiver cannot receive any more data it must indicate this to the Master by generating the Not Acknowledged condition. Master Receive In the Master receive mode the ACE9050 I2C will receive a number of bytes from a Slave transmitter. The sequence is not dissimilar to that for Transmit. For some memory devices a ‘dummy write’ may be required to transmit the word address before the read operation. Before the master receiver mode can be entered the I2C_CNTR register should be initialised as for enterinq master transmit mode. 1. Transmit Start Condition The master receive mode is entered by setting the STA bit to one. The ACE9050 I2C will then test the I2C bus and will transmit a START condition when the bus is free. After the START condition has been transmitted the IFLG bit will be set and status code 08H will be in the I2C_STAT register. If a repeated START condition has been transmitted then the status code will be 10H instead of 08H . 2. Transmit Slave address and Read The I2C_DATA register should be loaded with the address of the Slave in bits[7:1] and bit[0] set to 1 to specify read. The IFLG bit should now be cleared to 0 before the transfer can continue. When the Slave address and read bit have been transmitted and an acknowledge bit received, the IFLG bit will be set again. A number of status codes are possible in the STAT register; these are shown in Tables 51 and 52. 3. Receive Data If the code 40H has been detected it can be assumed that a Slave has detected its address and when the IFLG is cleared the ACE9050 will begin to clock in valid data on the SDA line. After each data byte has been received the IFLG will be set, and require clearing. One of three status codes wil be in the I2C_STAT register, as shown in Tables 53 and 54. Clear IFLG, AAK = 0 Clear IFLG, AAK = 1 (a) Set STA, clear IFLG (b) Set STP, clear IFLG (b) Set STA and STP, clear IFLG Addr and Read transmitted, ACK received Addr and Write transmitted, ACK not received 40H 48H Next I2C action Micro response ACE9050 I2C state Code Receive Data byte, transmit Not ACK Receive Data byte, transmit ACK Transmit repeated START Transmit STOP Transmit STOP then START Table 51 Possible status codes after Slave address has been transmitted with the ACE9050 as the only bus Master As for Master transmit As for Master transmit As for Master transmit 38H 68H 78H B0H Next I2C action Micro response ACE9050 I2C state Code Table 52 Possible extra status codes after Slave address has been transmitted with multiple bus Masters Data byte received, ACK transmitted Data byte received, Not ACK transmitted 50H 58H Next I2C action Micro response ACE9050 I2C state Code ReceiveData byte, transmit Not ACK Receive Data byte, transmit ACK Transmit repeated START Transmit STOP Transmit STOP then START Read Data, clear IFLG, AAK = 0 Read Data, clear IFLG, AAK = 1 (a) Read Data, set STA, clear IFLG (b) Read Data, set STP, clear IFLG (b) Read Data, set STA and STP, clear IFLG Table 53 Possible status codes after Data has been received in multi-Master system As for Master transmit As for Master transmit Arbitration lost 38H Next I2C action Micro response ACE9050 I2C state Code Table 54 Possible status codes after Data has been received in multi-Master system |
|
ссылки 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 |