NCV7430
www.onsemi.com
29
Set_Color
When CAL_EN is set to ‘0’, the real value for the color setting is written into the LED modulation register. When CAL_EN is
set to ‘1’ the received 8 bit values are first corrected by the matrix calculation and then applied to the LED modulation registers.
Table 23. Set_Color WRITING FRAME
Byte Content
Structure
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Identifier 0 1 1 0 0 1 0 0
1 Data 1 Broad 1 AD[5:0]
2 Data 2 GROUP[7:0]
3 Data 3 GROUP[15:8]
4 Data 4 UPDATE
COLOR[1]
UPDATE
COLOR[0]
Fading time[5:0]
5 Data 5 FADING
ON/OFF
FADING*
SLOPE
LEDs
ON/OFF
1 Intensity[3:0]
6 Data 6 LED color value LED 1 [7:0]
7 Data 7 LED color value LED 2 [7:0]
8 Data 8 LED color value LED 3 [7:0]
9 Checksum Classic Checksum over data
Where:
Broad: Broad = ‘0’ all the circuits connected to the LIN bus will only evaluate the GROUP[15:0] bits and will act if its
appropriate GROUP_ID bit indicated by OTP is matching.
The update of the LED colors is determined by UPDATECOLOR[1:0]
00 immediate update
01 store and do not update
10 update to the already stored values
11 discard
Set_Color_Short
The Set_Color_Short command is used to set the LED colors directly for the four groups that are indicated. This command
is short and does not contain all the parameters as used in the Set_Color command. Only four groups can be approached, so
the NCV7430 needs to be programmed as member of one of these groups:
(lowest two bits of GROUP_ID in OTP; GROUP_ID0 and GROUP_ID1; presenting 0 to 3 for color).
NOTE: This command is always acting towards groups. Individual node addresses are not implemented.
Table 24. Set_Color_Short WRITING FRAME
Byte Content
Structure
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Identifier 0 1 1 0 1 1 1 1
1 Data 1 LED color value LED 1 [7:0]
2 Data 2 LED color value LED 2 [7:0]
3 Data 3 LED color value LED 3 [7:0]
4 Data 4 1 1 1 1 COLOR_GROUP[3:0]
5 Checksum Classic Checksum over data
*Fading Scope = 0 = logarithmic
= 1 = linear
Choose either 0 or 1 when setting control for intensity
Fading Slope must be set to ’1’ for color control (only Linear is allowed).