Tool/software:
Configuration is as follows:
- Bridgelux 18v/500mA COB
- PWM @ 1kHz, 9-bit resolution
- Analog @ 20kHz, 8-bit resolution
Using PWM mode, I can get the LED to dim down to duty cycle 2/512. If I move from duty cycle 0 to 2, the LED turns on instantly.
Using analog mode, I can get the LED to dim down to duty cycle 1/256. If I move from duty cycle 0 to 1, the LED turns on instantly.
Using hybrid mode, I can get the LED to dim down to duty cycle 2/512. If I move from duty cycle 0 to 2, the LED turns on instantly.
Of course, I'm selfish and I want the LED to dim even more, so I want to use dynamic mode. I've tried a bunch of different methods, and in this example, I can get the LED to come on when analog duty is 20/256 and PWM is 2/512. Here's where the strange part comes in: the LED takes a few hundred ms to actually come on and then it fades in quickly, it's a very strange (and 100% reproducible delay).
This is the case all the way up to analog duty 20/256 and PWM duty 9/512, where the LED comes on instantly.
I've tried changing PWM frequency, altering the ratio of PWM/analog, and nothing seems to change the behavior. I've tried different initialization sequences for the chip, but even leaving that out completely and just sending in PWM behaves the same, which makes sense given the startup sequence is in the microseconds and what I'm observing is in the hundreds of milliseconds.
So basically–I can get the dimming ratio I'm looking for, but there's a weird delay when going from dark to dim.
Any ideas would be much appreciated!