| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
UPSD3422EB40U6 bảng dữ liệu(PDF) 133 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UPSD3422EB40U6 bảng dữ liệu(HTML) 133 Page - STMicroelectronics |
|
133 / 300 page ![]() Obsolete Product(s) - Obsolete Product(s) Obsolete Product(s) - Obsolete Product(s) UPSD3422, UPSD3433, UPSD3434, UPSD3454 I2C interface 133/300 23.12 I2C Start sample setting (S1SETUP) The S1SETUP register (Table 84) determines how many times an I2C bus Start condition will be sampled before the SIOE validates the Start condition, giving the SIOE the ability to reject noise or illegal transmissions. Because the minimum duration of an Start condition varies with I2C bus speed (fSCL), and also because the UPSD34xx may be operated with a wide variety of frequencies (fOSC), it is necessary to scale the number of samples per Start condition based on fOSC and fSCL. In Slave mode, the SIOE recognizes the beginning of a Start condition when it detects a '1'- to-'0' transition on the SDA bus line while the SCL line is high (see Figure 41 on page 125). The SIOE must then validate the Start condition by sampling the bus lines to ensure SDA remains low and SCL remains high for a minimum amount of hold time, tHLDSTA. Once validated, the SIOE begins receiving the address byte that follows the Start condition. If the EN_SS Bit (in the S1SETUP register) is not set, then the SIOE will sample only once after detecting the '1'-to-'0' transition on SDA. This single sample is taken 1/fOSC seconds after the initial 1-to-0 transition was detected. However, more samples should be taken to ensure there is a valid Start condition. To take more samples, the SIOE should be initialized such that the EN_SS Bit is set, and a value is written to the SMPL_SET[6:0] field of the S1SETUP register to specify how many samples to take. The goal is to take a good number of samples during the minimum Start condition hold time, tHLDSTA, but no so many samples that the bus will be sampled after tHLDSTA expires. Table 86 on page 134 describes the relationship between the contents of S1SETUP and the resulting number of I2C bus samples that SIOE will take after detecting the 1-to-0 transition on SDA of a Start condition. Important note: Keep in mind that the time between samples is always 1/fOSC. The minimum Start condition hold time, tHLDSTA, is different for the three common I 2C speed categories per Table 87 on page 134. Table 84. S1SETUP: I2C Start condition sample setup register (SFR DBh, reset value 00h) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 EN_SS SMPL_SET[6:0] Table 85. S1SETUP register bit definition Bit Symbol R/W Function 7EN_SS R/W Enable Sample Setup EN_SS = 1 will force the SIOE to sample(1) a Start condition on the bus the number of times specified in SMPL_SET[6:0]. EN_SS = 0 means the SIOE will sample(1) a Start condition only one time, regardless of the contents of SMPL_SET[6:0]. 1. Sampling SCL and SDA lines begins after '1'-to-'0' transition on SDA occurred while SCL is high. Time between samples is 1/fOSC. 6:0 SMPL_SET [6:0] – Sample Setting Specifies the number of bus samples(1) taken during a Start condition. See Table 86 for values. Obsolete Product(s) - Obsolete Product(s) |
|
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 |