| データシートサーチシステム |
|
STM8S データシート(PDF) 316 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S データシート(HTML) 316 Page - STMicroelectronics |
|
316 / 467 page ![]() Inter-integrated circuit (I2C) interface RM0016 316/467 DocID14587 Rev 14 21.7.12 Clock control register high (I2C_CCRH) Address offset: 0x0C Reset value: 0x00 Note: The CCR registers must be configured only when the I²C is disabled (PE=0). fMASTER = multiple of 10 MHz is required to generate Fast clock at 400 kHz. fMASTER ≥ 1 MHz is required to generate Standard clock at 100 kHz. 7 654 3210 F/S DUTY Reserved CCR[11:8] rw rw r rw Bit 7 F/S: I2C master mode selection 0: Standard mode I2C 1: Fast mode I2C Bit 6 DUTY: Fast mode duty cycle 0: Fast mode tlow/thigh = 2 1: Fast mode tlow/thigh = 16/9 (see CCR) Bits 5:4 Reserved Bits 3:0 CCR[11:8]: Clock control register in Fast/Standard mode (Master mode) Controls the SCLH clock in master mode. – Standard mode: Period(I2C) = 2 * CCR * tMASTER thigh = CCR * tMASTER tlow = CCR * tMASTER – Fast mode: If DUTY = 0: Period(I2C) = 3 * CCR * tMASTER thigh = CCR * tMASTER tlow = 2 * CCR * tMASTER If DUTY = 1: (to reach 400 kHz) Period(I2C) = 25 * CCR * tMASTER thigh = 9 * CCR * tMASTER tlow = 16 * CCR * tMASTER For instance: in standard mode, to generate a 100 kHz SCL frequency: If FREQR = 08, tMASTER = 125 ns so CCR must be programmed with 0x28 (0x28 <=> 40 x 125 ns = 5000 ns.) Note: thigh = tr(SCL) + tw(SCLH). See device datasheet for the definitions of parameters tlow = tf(SCL) + tw(SCLL). See device datasheet for the definitions of parameters The real frequency may differ due to the analog noise filter input delay. |
|
リンク URL |
| ALLDATASHEETはお客様のビジネスに役立ちますか? [ DONATE ] |
Alldatasheetは | 広告 | お問い合わせ | プライバシーポリシー | データシートへのリンク | リンク交換 | メーカーリスト 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 |