Hi,
Customer needs a simple way in production line to light up the LED connected at WLED2. (WLED1 is not used)
I propose the procedure as below, please let me know if there's anything missing/incorrect. Thanks!
-
Set WLED2 current to the value you need in ILED[4..0] of WLEDC2 register
-
Set MODE[1:0]=”01” for Torch mode in WLEDCTL register
-
Set MAX_CUR[2:0] in WLEDMAXT register for the max current you need for Torch mode.
-
Set DISLED1 to ‘1’ in WLEDCTL register
-
Set EN bit to ‘1’ in WLEDCTL register
Antony