2024-06-20 09:45 PM - edited 2024-06-20 10:40 PM
I have the LED1642GW in a daisy chain configuration I have 16 chips in chain. If I try to set any other chip than the first directly it does not turn on, however if I set the first chip and then set it again it carries over to the 2nd chip and I must be missing something and its probably a *** oversight but I cant seem to figure it out. I tried messing with the config register and it didnt seem to change anything so for now I am not touching the config register so it should be 0 from power on.
PWM is free running 50% duty cycle I have tried different frequencies but right now its set to 2Mhz
0:0 means chip0chan0, 0:1 means chip0chan1, 1:0 means chip1:chan0, etc
Example (these calls are done back to back without a power cycle in between):
I set 0:0 and I see 0:0 on
Next I set 0:0 0:1 and I see 0:0 0:1 1:0 on
Next I set 0:0 0:1 0:2 and I see 0:0 0:1 0:2 1:0 1:1 2:0
Next I set 0:0 0:1 0:2 0:3 and I see 0:0 0:1 0:2 0:3 1:0 1:1 1:2 2:0 2:1 3:0
There is a consistent pattern here for sure...
Heres how I am writing the data:
Brightness:
I included a scope shot for reference from the end of this first write
Yellow is Clock, Blue is LE, and Pink is SDI
0:0 writing 256 16bit values on SDI, all bytes are 0 except the last byte which is 0xFFFF
LE length is 256 16bit values, all 0 except the last 16 values. The last is 5 and other 15 are 3
Enable:
I just turn every channel on so 16 16bit values all 0xFF on SDI
LE is all 0 except the last which is 1
0:0 0:1 writing 256 16bit values on SDI, all bytes are 0 except the last two bytes which are 0xFFFF
LE length is 256 16bit values, all 0 except the last 16 values. The last is 5 and other 15 are 3
0:0 0:1 0:2 writing 256 16bit values on SDI, all bytes are 0 except the last three bytes which are 0xFFFF
LE length is 256 16bit values, all 0 except the last 16 values. The last is 5 and other 15 are 3
0:0 0:1 0:2 0:3 writing 256 16bit values on SDI, all bytes are 0 except the last four bytes which are 0xFFFF
LE length is 256 16bit values, all 0 except the last 16 values. The last is 5 and other 15 are 3
2024-06-28 09:27 AM
Bump