beautypg.com

Rainbow Electronics W90N745CDG User Manual

Page 348

background image

W90N745CD/W90N745CDG

- 344 -

I

2

C Prescale Register 0/1 (I

2

C_DIVIDER 0 /1)

REGISTER ADDRESS R/W

DESCRIPTION

RESET

VALUE

I

2

C_DIVIDER0

0xFFF8_6004

R/W

I

2

C Clock Prescale Register 0

0x0000_0000

I

2

C_DIVIDER1

0xFFF8_6104

R/W

I

2

C Clock Prescale Register 1

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

DESCRIPTIONS

[15:0]

DIVIDER

Clock Prescale Register
It is used to prescale the SCL clock line. Due to the structure of the I

2

C

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 “I

2

C_EN” bit is cleared.

Example: pclk = 32MHz, desired SCL = 100KHz

)

(

3

)

(

63

1

100

5

32

hex

F

dec

KHz

MHz

prescale

=

=

=