Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
GHIElectronics.com
Home
Help
Search
Login
Register
GHI Electronics LLC
>
.NET Micro Framework Devices
>
Embedded Master
>
GPIO state initialization while booting up
Pages: [
1
]
« previous
next »
Print
Author
Topic: GPIO state initialization while booting up (Read 732 times)
69A21
Newbie
Posts: 1
GPIO state initialization while booting up
«
on:
August 17, 2009, 09:31:59 AM »
Hello,
I would like to know if there is any way to control the state of GPIO pins while waiting for the system to load the Micro Framework OS.
At power up it takes up to 10 seconds for the device to start running my application, and apparently GPIO pins are in an undefined state during this time (actually we measured their logical level on the hardware and it results "almost" high) causing annoying behaviours, such as ringing the buzzer when it should stay quite....
Sorry if it is a silly question but any help is really appreciated.
Thanks!
Logged
SupportAdmin
Administrator
Hero Member
Posts: 5527
Re: GPIO state initialization while booting up
«
Reply #1 on:
August 17, 2009, 11:07:35 AM »
The pins are inputs with weak pull up resistor on power up. You can't change the default state of the pins
Logged
Marco
Newbie
Posts: 23
Re: GPIO state initialization while booting up
«
Reply #2 on:
August 19, 2009, 10:10:11 AM »
I think this is a problem for many applications...
Really no way to tell MF what's the desired default state for all GPIO of the system ?
Could be a user parameter that MF can read and set at system reset...
Marco
Logged
SupportAdmin
Administrator
Hero Member
Posts: 5527
Re: GPIO state initialization while booting up
«
Reply #3 on:
August 19, 2009, 10:37:55 AM »
Can you give us an example where this is a problem? Even the processor itself boots with pins in a default state and there is time to set them to the desired state. Will be much faster than few seconds obviously.
Logged
dcreel
Full Member
Posts: 110
Re: GPIO state initialization while booting up
«
Reply #4 on:
August 22, 2009, 10:47:18 AM »
We managed this with external pull-up/-down resistors. This is a normal thing for any embedded system, no matter what processor.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
.NET Micro Framework Devices
-----------------------------
=> General Discussion
=> ChipworkX
=> EMX
=> Embedded Master
=> USBizi
-----------------------------
FAT File System Chipsets and OEM Boards
-----------------------------
=> General Discussion
=> uALFAT
=> USBwiz
Loading...