‎2022-03-24 09:56 AM
Context
I'm working on building an LED Cube for no other reason but my own self learning. My intention is to use 12 LED1642W to support a 8x8 grid of 3 channel RGB LEDs, with a 13th LED1642W to multiplex the cube's layers. As a minimum viable model, I've built the following:
The working principle is that the LED is of a common Anode type, with the three channels sourcing to the driving LED1642GW. The "MUX" LED1642GW, powers the anode via a PNP transistor. All communications and configuration of the chips seem to be working as expected.
The Problem
I can configure and illuminate the LED to a colour and brightness of my choosing, however it only stays lit for 4 to 5 seconds before going out. Some time will pass, and it will reillumination. After initial configuration, no communication is made to chip and nothing physically is changed.
What I've checked
I'd be really grateful if anyone had some advise as to what might be happening?
Many Thanks
Solved! Go to Solution.
‎2022-03-29 01:49 AM
Hi Peter, apologies for spamming this post, BUT, I've found the issue!
The PWCLK frequency was not sufficient. I had been using the Arduino's PWM output which is 700kHz. Replacing this with that of a signal generator, or even a crude astable 555 I hashed together, complete resolved the issue. The datasheet doesn't specify a minimum frequency but after having experimented with limits, I'm fairly convinced this is in fact around 1MHz.
I apricate you sticking with me through this, I know that I've not been able to provide great information to support so it was kind of you. I'm also convinced that the bypass concern was certainly contributing.
Kind Regards o/
‎2022-03-25 04:31 AM
@Peter BENSCH​ Sorry to "@" you, Sir, but I'd be very grateful if you might have some insight on this one? Thank you.
‎2022-03-25 04:48 AM
I would have answered your question if I had been sure about the cause - but I am not.
However, it is also rather unusual to use such an LED driver as a driver for the multiplex transistors. In addition, you drive the pnp transistor directly, i.e. without a base resistor. Actually, this should be feasible, but depending on the configuration of low/high range and CFG-x, a base current of up to 20mA can flow.
What strikes me, however, is that you only buffer the LED1642GW with 10nF each, which seems a little low to me, 100nF would be more appropriate here, even better with an additional 10µF in parallel.
Regards
/Peter
‎2022-03-25 04:58 AM
Thank you. Personally I'm at a complete lost so the slightest hint could be helpful.
Yes, the application is a little strange :grinning_face_with_sweat: However, I'd wanted to avoid having a more conventional chip on a different protocol opposed to having a single cascade. I have configured my multiplexing driver to a 3mA channel so I hadn't though an additional resistor would be required. That side of things seems to be working okay.
We noted for the bypass cap. The supply is driven from an Arduino Nano 33 IoT's MP2322 which I'd assumed to be well conditioned. I'll never the less increases the value since I've no way to confirm as such.
Many Thanks for your time,
George
‎2022-03-25 09:24 AM
Hi @Peter BENSCH​,
You should have more confidence! I’m mostly convinced you’re correct regarding the bypass caps. I added a 1uF and a 4.7uF (it’s all I had to hand) and it extended my on time considerably. I’ll try sourcing the caps you recommended; would of been a nice detail for the data sheet ;)
As a further detail, power cycling the chip clears the issue, so it’s unlikely to be damaged or a thermal shutdown.
Many Thanks!
‎2022-03-25 12:42 PM
‎2022-03-28 11:33 AM
Hi Peter, I hope you're well.
The mystery continues... I revised the capacitor values as you suggested and it's brought me to a suspiciously consistence 16 seconds of up time before the LED goes out.
Oddly, clutching at proverbial straws, or jumper cables in this case, I've noticed that if I remove the PWCLK line then the issue is resolved in so much as the LED stays on. In doing so I've also noted that brightness values has no bearing.
Whilst I don't have a scope, I do have a logic analyser. In reducing the Vth threshold down as low as 0.5V, I've noted that my CLK line suffers some cross talk with the PWCLK, momentarily peaking on the leading edge. My understanding is that the induced voltage isn't high enough to be logically high, nor on long enough to "register". The same is also not happening on the LE line so I don't see that this should really be causing the issue.
Any chance there's a glimmer of explanation in there for you? I'm running our of ideas and greatly apricate the input.
Kind Regards
‎2022-03-28 11:43 PM
Well, you've only shown the circuit with the LED1642GW so far, but not how you drive them. Unfortunately, you don't have a scope to judge the signal quality.
What frequencies are you working with on CLK and PWCLK?
How long are the connections from the controlling mcu?
Regards
/Peter
‎2022-03-29 01:49 AM
Hi Peter, apologies for spamming this post, BUT, I've found the issue!
The PWCLK frequency was not sufficient. I had been using the Arduino's PWM output which is 700kHz. Replacing this with that of a signal generator, or even a crude astable 555 I hashed together, complete resolved the issue. The datasheet doesn't specify a minimum frequency but after having experimented with limits, I'm fairly convinced this is in fact around 1MHz.
I apricate you sticking with me through this, I know that I've not been able to provide great information to support so it was kind of you. I'm also convinced that the bypass concern was certainly contributing.
Kind Regards o/
‎2022-03-29 03:32 AM
You found the problem, great!
Thanks for the feedback, which may help other users as well.
Regards
/Peter