| поискавой системы для электроныых деталей |
|
RM0312 датащи(PDF) 197 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
RM0312 датащи(HTML) 197 Page - STMicroelectronics |
|
197 / 275 page ![]() DocID022352 Rev 3 197/275 RM0312 Inter-integrated circuit (I2C) interface 200 19.7.13 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 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)(1) 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. 1. Refer to Table 40: I2C_CCR values for SCL frequency (fMASTER = 16 MHz) on page 198 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |