Circuit assistance: Connecting 2 boards with GPIO?

I need a very simple connection between two NETMF boards. I dont want to setup CAN, Serial or other link between them so far, as its just a simple yes/no signal required.

I am guessing that I need a resistor or maybe even a diode in the circuit between them, what is the general recommendation there?

Nothing as complex. Just link an output to an input and visa versa if you need 2 way signalling.

As long as the voltages are the same, you just need to connect the GND’s to keep the signals at the right potential.

How long is the wires between them? Use a cap across the input if you use long wires just to keep noise at bay.

Which is a relevant as one of the system are being turned off and only switched on for advanced stuff.

@ njbuch - You can always add a pull-down resistor to ensure there are no glitches during power on.

You would choose carefully to use a port that was in the mode you want. If you chose an output port as an input then you are not doing due diligence in your design. :slight_smile:

Most ports on microcontrollers are in the default INPUT state so you would choose one of those.

In that case, your only issue is to prevent excess current draw from the switched off device. I would use a diode to avoid any current draw from an output port on your always on device with a pull-up or down resistor on the one that is off. The diode direction would be chosen depending on whether the output port is in the current sink or source state.

This is your only real concern with this and is easily taken care of with the above diode and resistor.

[quote=“Dave McLaughlin”] (…snip …)
How long is the wires between them?(…)
[/quote]

I would think, this is still an important question…