Initial state of GPIO?


I have recently discovered that the initial state of the GPIO is always ‘1’ = asserted. This won’t work in my application, I want them to be ‘0’= de-asserted then I power up the device. Does anyone have any ideas?

Regards Jonas - Sweden


Are you working with our Integration of Development kit?

With our Integration kit such a change would entail modifications to our boot loader, post and the application. Would it be feasible for you to place invertor buffers between the GPIO and your connected device(s)?

Using the Development kit this should be possible, however, you would be required to develop your own embedded application.



Cameron, are you among the Digi staff?

I’m using the Integration kit.

The problem is that I have already ordered and received the circuit boards. I took it for granted that you could change the initial state. But now I know that it’s not possible. Would it be hard for you to implement that the value set in SYSTEM/GPIO is stored and used the next time the device is powered up?

Regards Jonas

All devices should power up in the high impedance state. That way, you won’t damage anything attached to the GPIO lines. I don’t know any micros that will power up in the low state…

You will have to modify the direction (maybe?) and output values very early on…possibly in netosStartup().