Hi, I need more hw PWM drivers than provides Raspberry. PCA9632 is options (3V3 support, manually solderable TSSOP-8). Unfortunately datasheet is not too transparent.
Thanks in advance
Hello tma,
I hope all is great with you. Thank you for using the NXP communities.
I hope this information helps.
Regards,
David
Thanks David so I mean circuit of one channel with FET is
After power cycle LEDx is in High-Z so driver is safely closed by pull-down resistor. I need positive PWM output as I potentially want to use 6-bit PWM at 5.25kHz (fully undimmed).
I there a protection on output in IC ? I use 1k serial resistor just as case or is not needed ? Alternatively more protection with Zener on LED# output?
What I see extra confusing is Table 15. Entries references hi/low transistors to PWM value. But transistors must have complementar values because at least on-on case is short circuit Vdd-Vss.
-Tomas
Hello tma,
Once again, thank you for using the NXP community. My apologies for the delayed response.
You are correct, the LED output port will be in high impedance as a default state after the POR event.
Your design seems correct to me. I have one comment, have you considered using a series resistor on the LED side?
Regards,
David
Hi David,
I have series resistor as LED strip is connected. I have reconsidered component and use PCA9634 which offers 97kHz. I assembled, I can control via I2C, nice! But I see unexpected behaviour, when I connect power then all outputs are 5V so all LEDs are shining. I cannot wait to I2C to switch them off. I have gate resistor to GND so gate should be charged through LED when Hi-Z. Seems 5V come from PCA output. OE is hardwired to GND.
PCAxx has no internal EEPROM to remember default state after power cycle, right? OE=1 won't help, right ? Seems only soulution is add general external switch for 24V.
Hello tma,
I am pleased to contact you again. Please accept my apologies for the delayed response.
The PCA9634 is a great option. I am pleased that you decided to use it.
As we know, when a LOW level is applied to OE pin (which is your case), all the LED outputs are enabled and follow the output state defined in the LEDOUT register. Such value is OFF by default. I guess you may change your circuit logic.
I am afraid that the PCA9634 does not feature an internal EEPROM.
Have you tried to apply a HIGH level to the OE pin?
Regards,
David
Hi David, I planned to check OE=1 but seems when I reread PDF more thoroughly that default values always will keep LEDn=5V which is considered as LED off for default case: totem-pole, LED connected +5V->A->K->LEDn.
Default values after power cycle:
OE=1
OE=0
So I believe I have no chance to simply arrange LED off after power cycle with N-MOSFET driver. Am I right?
Meanwhile I rearranged circuit and use not-used LED7 output to control general 24V hi-side P-MOSFET (with level shifter 5V -> 24V) which is power for all LEDs driven by LED0-6. Default 5V will keep 24V off after power cycle. It should work.