6 posts / 0 new
Last post
dudi_g
Offline
Last seen:4 years 3 weeks ago
加入:2015-04-16 08:13
GPIOs state at start-up

Hi,

Can you please tell me what is the GPIOs state immediately after giving the DA14580 voltage supply? In our FW code we define all of the GPIOs as "Input", but we notice it takes the DA14580 some time to stabilize and that in that time the GPIOs state is unclear(I think output "0"- when I connect a GPIO to pull up of 3V- I see it foes down to 0.6V for 3 seconds). I have to mention that our DA14580 uses EEPROM using I2C pins, and that maybe in this time the GPIOs state are configured wrong.

Please tell us how much time this "stabilization" process is taking, what are the GPIOs state at this time and what we can do to prevent this issue- To make those pins act as Input from the beginning.

Thank you,
Dudi

Device:
MT_dialog
Offline
Last seen:1 month 2 weeks ago
工作人员
加入:2015 - 06 -08 11:34
Hi dudi_g

Hi dudi_g

According to the datasheet the default state if the GPIO's is Input pull-down, the stabilization of the GPIO's should be maximum 164ms according to the AN-B-001 - Booting from serial interfaces. Since the device is ready to boot using external interfaces the GPIO's are allready stabilized. The time 3s is very long time. Please refer to the AN-B-001 to see the booting sequence.

Thanks MT_dialog

summer20100514
Offline
Last seen:4 years 4 months ago
Guru
加入:2014-12-30 05:01
Hi, MT_dialog. What's the

Hi, MT_dialog. What's the difference between input and input pull-down ? For external interrupt usage (active high), should I use input or input pull-down ? Thanks.

summer20100514
Offline
Last seen:4 years 4 months ago
Guru
加入:2014-12-30 05:01
I read the datasheet and know

I read the datasheet and know that the difference is whether there are pull-down resistors. So to make it clear, if the external interrupt is active high, should I choose input instead of input pull-down to reduce leakage current ?

MT_dialog
Offline
Last seen:1 month 2 weeks ago
工作人员
加入:2015 - 06 -08 11:34
Hi summer20100514,

Hi summer20100514,

If you set your input to just INPUT you wont reduce the current leakage and also if there is a leakage, the current will oscillate into your pin and this may cause undesirable sideffects. Setting the pin in INPUT_PULLDOWN i believe is the best choice.

Thanks MT_dialog

summer20100514
Offline
Last seen:4 years 4 months ago
Guru
加入:2014-12-30 05:01
Thank you.

Thank you.

Topic locked