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:
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
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.
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 ?
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
Thank you.