| Moteur de recherche de fiches techniques de composants électroniques |
|
ST7263BDX Fiches technique(PDF) 86 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7263BDX Fiches technique(HTML) 86 Page - STMicroelectronics |
|
86 / 145 page ![]() ST7263BDx ST7263BHx ST7263BKx ST7263BE 86/145 12.5 I²C bus interface (I²C) 12.5.1 Introduction The I²C Bus Interface serves as an interface be- tween the microcontroller and the serial I²C bus. It provides both multimaster and slave functions, and controls all I²C bus-specific sequencing, pro- tocol, arbitration and timing. It supports fast I²C mode (400 kHz). 12.5.2 Main features ■ Parallel-bus/I²C protocol converter ■ Multi-master capability ■ 7-bit Addressing ■ Transmitter/Receiver flag ■ End-of-byte transmission flag ■ Transfer problem detection I²C master features: ■ Clock generation ■ I²C bus busy flag ■ Arbitration Lost flag ■ End of byte transmission flag ■ Transmitter/Receiver flag ■ Start bit detection flag ■ Start and Stop generation I²C slave features: ■ Stop bit detection ■ I²C bus busy flag ■ Detection of misplaced start or stop condition ■ Programmable I²C Address detection ■ Transfer problem detection ■ End-of-byte transmission flag ■ Transmitter/Receiver flag 12.5.3 General description In addition to receiving and transmitting data, this interface converts it from serial to parallel format and vice versa, using either an interrupt or polled handshake. The interrupts are enabled or disabled by software. The interface is connected to the I²C bus by a data pin (SDAI) and by a clock pin (SCLI). It can be connected both with a standard I²C bus and a Fast I²C bus. This selection is made by soft- ware. Mode selection The interface can operate in the four following modes: – Slave transmitter/receiver – Master transmitter/receiver By default, it operates in slave mode. The interface automatically switches from slave to master after it generates a START condition and from master to slave in case of arbitration loss or a STOP generation, allowing then Multi-Master ca- pability. Communication flow In Master mode, it initiates a data transfer and generates the clock signal. A serial data transfer always begins with a start condition and ends with a stop condition. Both start and stop conditions are generated in master mode by software. In Slave mode, the interface is capable of recog- nising its own address (7-bit), and the General Call address. The General Call address detection may be enabled or disabled by software. Data and addresses are transferred as 8-bit bytes, MSB first. The first byte following the start condi- tion is the address byte; it is always transmitted in Master mode. A 9th clock pulse follows the 8 clock cycles of a byte transfer, during which the receiver must send an acknowledge bit to the transmitter. Refer to Fig- ure 43. Figure 43. I²C bus protocol SCL SDA 12 8 9 MSB ACK STOP START CONDITION CONDITION VR02119B |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants 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 |