- Tue Aug 18, 2020 12:51 am
#88344
schufti wrote:Hi,
as I wrote: for _stable_ operation ... meaning that e.g. gpio0 and gpio2 have _ weak _ internal pullups, so as you correctly concluded: may pick up static and lead to eratic behaviour. For rst: this pin allready has a pullup on the esp-01 module.
The requirement for pull ups/downs (e.g. gpio15) is intrinsic to the requirements of the required logic levels for a certain operational state (flash, rund code fron flash, sdcard, etc) detailed in the ds. Open (floating) pins don't meet the requirement for a _stable_ logic level unless mentioned in the ds (what is not the case).
I'll keep that in mind once I'll actually start using one of these ESPs in production. =]
btidey wrote:One of the advantages of not having a pull up on the module for EN is that it gives more flexibility if you want to use this pin for things like externally waking up from deep sleep. The EN pin is intrinsically a very high input impedance input and having a low value pull up built in reduces some of the possibilities for interfacing. A free EN pin is used on all ESP-12 modules.
I thought you needed to solder a wire to RST and not EN for deep sleep wake-ups though? Or do you mean to just pull CH_PD low to power it down entirely, then pull it back high to start it again? Like a hard reset as opposed to a soft reset via RST.
btidey wrote:If not planning to use EN for wake up then it is actually safe to just connect it to the Vdd (3.3V) as it is a pure input.
You mean connect it directly, without a resistor? I've thought about that but I preferred to be on the safe side.
btidey wrote:I wouldn't connect it to RST as the reset pin normally has decoupling capacitor as well as a pull up to slow the rise of that signal during power up. Slowing both RESET and EN is almost certainly is fine but is an extra complication I prefer not to introduce.
Yeah I won't be permanently pulling RST high. ;]