Community
cancel
Showing results for 
Search instead for 
Did you mean: 
RKasu
New Contributor I
1,255 Views

How to make GPIO's low on reboot

Hi ,

I'm using the GPIO's 8,9,10 on intel edison arduino expansion board.For the GPIO's I have connected the 4 module relay using 10K ohm resisters.when I issue the command reboot after closing the GPIO's 8,9,10 ,while rebooting all GPIO's are becoming LOW at a time and therefore all the 4 modules in relay are becoming ON.According to my application if that happens the sensor will get bad as both the terminals will be high.

The default value on GPIO's 8,9,10 are high and we are triggering the relay by making the gpio's 0 and 1.But while rebooting as the services are stopping and starting the GPIO's are becoming low at a time and all the relays are becoming ON.

Can you please suggest me the way how to make the GPIO's OFF while rebooting so that the pins are low on relay.Please do needful.

Thanks and Regards,

Radhika

4 Replies
Andriy_S_Intel
Employee
61 Views

Does setting TRI_STATE_ALL (GPIO # 214) before reboot help?

RKasu
New Contributor I
61 Views

Thanks for the reply Oandriy,but it doesn't seems to be worked!! Can you please let me know the other possibilities,how can I do that??also when I2C is triggering ,the GPIO's are becoming low,Can I know the solution for that.

Thanks,

Radhika

Andriy_S_Intel
Employee
61 Views

GPIOs you are talking about are muxed on Edison Arduino board. TRI_STATE_ALL allows you to move them to tristate, meaning no connection at all. So, it you have pull ups, it would be logic 1, otherwise (pull downs) logic 0. What I'm asking (i have no time to check myself) how firmware behaves. If it "feature" of the firmware, you can't fix it (you might of course to minimize impact by patching U-Boot and set correct values there, it needs some C low level coding).

idata
Community Manager
61 Views

Hi Radhika,

 

 

Do you still need assistance with this case?

 

 

-Sergio A

 

Reply