Jump to content


Photo

Initial state of the GPIO's upon power up?


  • Please log in to reply
3 replies to this topic

#1 jscottb

jscottb

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 14 March 2015 - 02:44 PM

Hello,

 

What should the initial state of the GPIO's be upon powering up the board?  My V1 seems to be all HIGH and that just seems wrong to me.

 

Thanks for any information on this.

 


  • AtoretumPant and MerokranMuch like this

#2 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 14 March 2015 - 03:55 PM

I know they fixed that with newer images for pcduino 2 and 3 but did not for pcduino1. If you have pcduino2 update should fix that.

#3 jscottb

jscottb

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 14 March 2015 - 04:37 PM

Thanks. I have updated it some, but I assume it's just the updates for the pcduino1.  I have written a script that I have placed into init.d that drives them all low, but guess the real problem now for me is before that point with them being all high. This wreaks a bit of havoc on my robot at boot time  :D.  For now I have offloaded the motor control to a micro controller and use i2c to do that drive that function of the bot.  It would be nice to just to use the T-board and a motor shield.

 

Thanks again for the info.



#4 cwilt

cwilt

    Advanced Member

  • Members
  • PipPipPip
  • 1,012 posts

Posted 14 March 2015 - 06:38 PM

Your welcome. I do not know what they did in the updates that set them low on boot. Probably some setting uboot configuration.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users