English
Language : 

W90P710_05 Datasheet, PDF (466/526 Pages) Winbond – 16/32-bit ARM microcontroller
W90P710
I2C Prescale Register 0/1 (I2C_DIVIDER 0 /1)
REGISTER
I2C_DIVIDER0
I2C_DIVIDER1
ADDRESS
0xFFF8_6004
0xFFF8_6104
R/W
DESCRIPTION
R/W I2C Clock Prescale Register 0
R/W I2C Clock Prescale Register 1
RESET VALUE
0x0000_0000
0x0000_0000
31
30
29
28
27
26
25
24
Reserved
23
22
21
20
19
18
17
16
Reserved
15
14
13
12
11
10
9
8
DIVIDER[15:8]
7
6
5
4
3
2
1
0
DIVIDER[7:0]
BITS
[15:0]
DIVIDER
DESCRIPTIONS
Clock Prescale Register
It is used to prescale the SCL clock line. Due to the structure of the I2C
interface, the core uses a 5*SCL clock internally. The prescale register must
be programmed to this 5*SCL frequency (minus 1). Change the value of the
prescale register only when the “I2C_EN” bit is cleared.
Example: pclk = 32MHz, desired SCL = 100KHz
prescale
=
32 MHz
5 ∗ 100 KHz
− 1 = 63 ( dec ) = 3 F ( hex )
I2C Command Register 0/1 (I2C_CMDR 0/1)
REGISTER ADDRESS R/W
DESCRIPTION
I2C_CMDR0 0xFFF8_6008 R/W I2C Command Register 0
I2C_CMDR1 0xFFF8_6108 R/W I2C Command Register 1
RESET VALUE
0x0000_0000
0x0000_0000
- 466 -