| Electronic Components Datasheet Search |
|
STM32W108HB Datasheet(PDF) 115 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM32W108HB Datasheet(HTML) 115 Page - STMicroelectronics |
|
115 / 278 page ![]() STM32W108HB STM32W108CC STM32W108CB STM32W108CZ Serial interfaces Doc ID 16252 Rev 14 115/278 9.5.1 Setup and configuration The I2C controller is enabled by writing 3 to the SCx_CR register. The I2C controller operates only in master mode and supports both Standard (100 kbps) and Fast (400 kbps) I2C modes. Address arbitration is not implemented, so multiple master applications are not supported. The I2C master controller's serial clock (SCL) is produced by a programmable clock generator. SCL is produced by dividing down 12 MHz according to this equation: Rate 12MHz LIN 1 + ()x2EXP ----------------------------------------- = EXP is the value written to the SCx_CRR2 register and LIN is the value written to the SCx_CRR1 register. I2C clock rate programming on page 115 shows the rate settings for Standard-Mode I2C (100 kbps) and Fast-Mode I2C (400 kbps) operation. Note: At 400 kbps, the Philips I2C Bus specification requires the minimum low period of SCL to be 1.3 µs, but on the STM32W108 it is 1.25 µs. If a slave device requires strict compliance with SCL timing, the clock rate must be lowered to 375 kbps. 9.5.2 Constructing frames The I2C master controller supports generating various frame segments by means of the START, STOP, BTE, and BRE bits in the SCx_I2CCR1 registers. Figure 27 summarizes these frames. Table 26. I2C clock rate programming Clock rate SCx_CRR1 SCx_CRR2 100 kbps 14 3 375 kbps 15 1 400 kbps 14 1 |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |