English
Language : 

CS1630 Datasheet, PDF (22/56 Pages) Cirrus Logic – 2-Channel TRIAC Dimmable LED Driver IC
Special Char
PLC Start Char
CS1630/31
‘00’
‘01’
90°
90°
34°
90°
PLC Stop Char
34°
62°
‘10’
‘11’
90°
146°
90°
118°
146°
Figure 24. Power Line Calibration Mode Character Waveforms
5.10.2 PLC Program Mode Characters
In order to program the CS1630/31, a set of encoded
characters is built from specific phase-cut waveform patterns.
Figure 24 illustrates the phase-cut waveform encoding
Name
NOP
INIT_PROG_MODE
OPCODE
0000
0001
Description
No Operation
Initialize program mode(1)
recognized by the CS1630/31 power line calibration system.
As shown in Table 1, six characters are formed using the
special character and two-bit encoded data.
I2C_WRITE
BURN_OTP
0010
0011
0100
Perform a generic I2C write
Reserved
Initiate an OTP write cycle(3)
Character
Start Char
Stop Char
Code
(SC)00(SC)
(SC)11(SC)
Notes
PLC Program Start Character(1)
PLC Program Stop Character(1)
STR1_OFFSET
STR2_OFFSET
WRITE_CRC
0101
0110
0111
Write String 1 offset(2)
Write String 2 offset(2)
Write CRC value
Duo-bit ‘00’
00
2-bit Data [00]
END_PROG_MODE
1000
Disable programming mode
Duo-bit ‘01’
01
2-bit Data [01]
WRITE_DIM
1001
Sets PLC dim value
Duo-bit ‘10’
10
2-bit Data [10]
Duo bit ‘11’
11
2-bit Data [11]
Note: (1) A Special Character (SC) must precede and follow the Duo-bit.
Table 1. Power Line Calibration Characters
5.10.3 Calibration Mode Operation Code
Notes: (1) Allows other commands to program the device under test.
(2) Range of Offset tolerance is ±15%.
(3) The light is flashed to indicate pass or fail.
Table 2. Power Line Calibration Operation Code
The LED light flashes seven times to indicate a command
error. The LED flashes two times when OTP registers are
The CS1630/31 power line calibration system requires a start
and stop operation code to activate and deactivate power line
calibration mode. Once in the power line calibration mode,
operation codes (OPCODE) will be used to program specific
programmed successfully and four times when programming
is unsuccessful. Figure 25 illustrates an example of a power
line calibration mode command sequence and the cut-
waveform pattern.
addresses using the OPCODE listed in Table 2.
Calibration Command Sequence
Start Char [(SC)00(SC)]
Addr Bcast
&
Simple Code
[1 Duo-bit]
OPCODE
[2 Duo-bits]
Odd Parity
&
Don’t Care
[1 Duo-bit]
Stop Char [(SC)11(SC)]
Before Transmit
PLC Start Character
Addr Bcast
&
Simple Code
00
PLC Operation Code
(4-bit)
0000
Odd Parity
&
Don’t Care
10
PLC Stop Character
After Transmit
135°
135°
90°
34°
90°
34°
34°
34°
118°
90°
146°
90°
135°
135°
Figure 25. Power Line Calibration Mode Example
22
DS954F2