Configuration 0 (config0) – address 0 – Cirrus Logic CS1631 User Manual

Page 29

Advertising
background image

CS1630/31

DS954F3

29

6.2 Configuration 0 (Config0)

Address 0

6.3 Lockout Key (LOCK0, LOCK1, LOCK2, LOCK3)

Address 1 - 4

Lockout Key is a 32-bit long-word used for password protection when accessing the OTP registers. Register
LOCK0 is the least significant byte of the Lockout Key, and register LOCK3 is the most significant byte of
Lockout Key. Register LOCK2 is the byte to the right of LOCK3, and register LOCK1 is the byte to the left of
LOCK0. To access the OTP registers on an IC with a lockout mechanism that has been enabled, see “Cus-
tomer I

2

C Lockout” on page 25.

6.4 Color Polynomial Coefficient (P30, P20, P10, P03, P02, P01, P21, P12, P11, P00)

Address 5 - 24

Color polynomial coefficients used to calculate the gain (GAIN

DTR

) that controls the current in the color LED

channel based on temperature drift and current dim level. The value is a two's complement number in the
range of -8.0

value<8.0, with the binary point to the right of bit 12. The gain polynomial is:

where,

T = the measured normalized temperature and is 0

T<1.0

D = the normalized dim value and is 0

D<1.0

GAIN

DTR

= gain of the channel based on the temperature measurement and the dim value. The polynomial

coefficients should be selected such that the computed GAIN

DTR

is always a positive number in the range

of 0<GAIN

DTR

<4.

Color Polynomial Coefficients, Pxx, are 16 bits in length where Pxx-MSB is the most significant byte and
Pxx-LSB is the least significant byte.

7

6

5

4

3

2

1

0

-

-

-

-

-

-

MODE

LOCKOUT

Number

Name

Description

[7:2]

-

Reserved

[1]

MODE

Appends two of the color system coefficients (P01 followed by P10) to the 32-
bit lockout key to make it a 64-bit key from a 32-bit key to increase security.

0 = 32-bit key
1 = 64-bit key

[0]

LOCKOUT

Configures the IC lockout security mechanism by using Lockout Key.

0 = Disable
1 = Enable

MSB

30

29

28

27

26

25

24

.....

6

5

4

3

2

1

LSB

2

31

2

30

2

29

2

28

2

27

2

26

2

25

2

24

.....

2

6

2

5

2

4

2

3

2

2

2

1

2

0

MSB

14

13

12

11

10

9

8

7

6

5

4

3

2

1

LSB

-(2

3

)

2

2

2

1

2

0

2

-1

2

-2

2

-3

2

-4

2

-5

2

-6

2

-7

2

-8

2

-9

2

-10

2

-11

2

-12

GAINDTR P30 T

3

P20 T

2

P10

+

+

T

P03 D

3

P02

+

+

D

2

P01 D

P21 T

2

D

+

+

=

P12 T D

2

P11 T D

P00

+

+

+

Advertising
This manual is related to the following products: