| поискавой системы для электроныых деталей |
|
RM0319 датащи(PDF) 230 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0319 датащи(HTML) 230 Page - STMicroelectronics |
|
230 / 368 page ![]() I2C bus ports (I2C) RM0319 230/368 Doc ID 022640 Rev 3 Otherwise, the FIFO will fill with data (overflow). To prevent this condition, the user must correctly set the watermark level.” Choosing the Receive Watermark Level Similar to choosing the transmit watermark level described earlier, the receive watermark level should be set to minimize the probability of overflow. It is a trade-off between the number of DMA burst transactions required per block versus the probability of an overflow occurring. 17.4 Operation modes The I2C interface protocol is setup with a master and a slave. The master is responsible for generating the clock and controlling the transfer of data. The slave is responsible for either transmitting or receiving data to/from the master. The acknowledgement of data is sent by the device that is receiving data, which can be either the master or the slave. The protocol also allows multiple masters to reside on the I2C bus, which requires the masters to arbitrate for ownership. According to this specification, the I2C controller provided by the device supports three distinct operation modes, specifically: ● Slave mode (Section 17.4.1) ● Master mode (Section 17.4.2) ● Multimaster mode (Section 17.4.3) 17.4.1 Slave mode This section provides information on the slave mode of operation. Initial configuration To use the I2C controller as a slave, you must perform the following steps: 1. Disable the I2C controller by writing a ‘b0 to the IC_ENABLE register. 2. Write to the IC_SAR register to set the slave address (only required if the slave address to be programmed is other than 0x0055). This is the address to which the I2C controller responds. 3. Write to the IC_CON register to specify whether 10 bit addressing is supported (through IC_10BITADDR_SLAVE bit) and whether the I2C controller is in slave-only or master-slave mode. The master-only mode is not valid in slave mode. 4. Enable the I2C controller setting the IC_ENABLE register. |
|
ссылки 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 |