Is there a way to have 6 different GPIOs act in unison off one event/action? I need all 6 to go ON and OFF at EXACTLY the same time based of an event or action.
Is there a way to have 6 different GPIOs act in unison off one event/action? I need all 6 to go ON and OFF at EXACTLY the same time based of an event or action.
Torbjørn, is there a way to do this from a PWM? For example have one channel trip 6 outputs?
Hi Brian
You can't have a single PWM channel trigger 6 outputs, but it is pretty straight forward to set up 6 individual PWM channels to trigger at the same time.
You don't mention which nRF52 device you are interested in, but the nRF52832 has 12 PWM channels in total, while the nRF52840 has 16.
You could also use 6 of the 8 GPIOTE channels to trigger 6 pins in unison, but I think the PWM is a better choice since each PWM module can handle up to 4 channels easily (with the GPIOTE you would have to fire off 6 events at the same time, versus just 2 for the PWM solution).
Best regards
Torbjørn
The hardware designer connected 6 I/O pins together to try and increase the drive
That would work for open-drains, but sounds like a Really Bad Idea for push-pull outputs!
262 nF, sure that's not 262 pF?
When driving FETs with high frequencies like this, the drive current will be relativily high since you have to charge and discharge the gate capacitance very fast. A better way is to use a smaller FET to drive the larger one and make sure you don't have any resistance in series with the gate.
Yes, sorry pF. As a followup, using the 32pf FET works great. The trade off however is Rdson. We would prefer the higher input capacitance part, so the question still remains how to drive 6 outputs simultaneous. Thanks!
A better way is to use a smaller FET to drive the larger one
Or to use a proper FET driver ...
the question still remains how to drive 6 outputs simultaneous.
I think the real question is, "how to drive the big FET?"
As noted above, trying to parallel 6 GPIOs is not a good answer to that question!
the question still remains how to drive 6 outputs simultaneous.
I think the real question is, "how to drive the big FET?"
As noted above, trying to parallel 6 GPIOs is not a good answer to that question!