| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PIC16F15213T-I/ST bảng dữ liệu(PDF) 263 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16F15213T-I/ST bảng dữ liệu(HTML) 263 Page - Microchip Technology |
|
263 / 439 page ![]() 25.2.2 I2C Mode Operation All MSSP I2C communication is byte oriented and shifted out MSb first. Eight SFR registers and two interrupt flags interface the module with the PIC ® microcontroller and user software. Two pins, SDA and SCL, are exercised by the module to communicate with other external I2C devices. 25.2.2.1 Definition of I2C Terminology There is language and terminology in the description of I2C communication that have definitions specific to I2C. That word usage is defined below and may be used in the rest of this document without explanation. This table was adapted from the Philips/NXP I2C Specification. Table 25-1. I2C Terminology Term Description Transmitter The device that shifts data out onto the bus Receiver The device that shifts data in from the bus Host The device that initiates a transfer, generates clock signals, and terminates a transfer Client The device addressed by the host Multi-Host A bus with more than one device that can initiate data transfers Arbitration Procedure to ensure that only one host at a time controls the bus. Winning arbitration ensures that the message is not corrupted. Synchronization Procedure to synchronize the clocks of two or more devices on the bus Idle No host is controlling the bus, and both SDA and SCL lines are high Active Any time one or more host devices are controlling the bus Addressed Client Client device that has received a matching address and is actively being clocked by a host Matching Address Address byte that is clocked into a client that matches the value stored in SSPxADD Write Request Client receives a matching address with the R/W bit clear, and is ready to clock in data Read Request Host sends an address byte with the R/W bit set, indicating that it wishes to clock data out of the client. This data is the next and all following bytes until a Restart or Stop. Clock Stretching When a device on the bus hold SCL low to stall communication Bus Collision Any time the SDA line is sampled low by the module while it is outputting and expected High state 25.2.2.2 Byte Format All communication in I2C is done in 9-bit segments. A byte is sent from a host to a client or vice versa, followed by an Acknowledge sequence sent back. After the eighth falling edge of the SCL line, the device outputting data on the SDA changes that pin to an input and reads the Acknowledge value on the next clock pulse. The clock signal, SCL, is provided by the host. Data is valid to change while the SCL signal is low, and sampled on the rising edge of the clock. Changes on the SDA line while the SCL line is high define special conditions on the bus, such as a Start or Stop condition. 25.2.2.3 SDA and SCL Pins Selection of any I2C mode with the SSPEN bit set forces the SCL and SDA pins to be open-drain. These pins must be configured as inputs by setting the appropriate TRIS bits. PIC16F15213/14/23/24/43/44 MSSP - Host Synchronous Serial Port Module © 2020-2022 Microchip Technology Inc. and its subsidiaries Data Sheet DS40002195E-page 263 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |