전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

STM8S 데이터시트(PDF) 316 Page - STMicroelectronics

부품명 STM8S
상세설명  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S 데이터시트(HTML) 316 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 312Page - STMicroelectronics STM8S Datasheet HTML 313Page - STMicroelectronics STM8S Datasheet HTML 314Page - STMicroelectronics STM8S Datasheet HTML 315Page - STMicroelectronics STM8S Datasheet HTML 316Page - STMicroelectronics STM8S Datasheet HTML 317Page - STMicroelectronics STM8S Datasheet HTML 318Page - STMicroelectronics STM8S Datasheet HTML 319Page - STMicroelectronics STM8S Datasheet HTML 320Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 316 / 467 page
background image
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


데이터시트 다운로드

Go To PDF Page


링크 URL



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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