-->
Page 3 of 5

Re: Chip Enabled

PostPosted: Fri Sep 25, 2020 5:39 am
by eriksl
That makes CE even less interesting to use.

I'd recommend using an external FRAM if frequent writing is required, they're absolutely cheap.

Re: Chip Enabled

PostPosted: Fri Sep 25, 2020 3:43 pm
by schufti
btidey wrote:Using deep sleep only is OK when timed operation is used but can make hardware a bit messy if external wake up is needed.

based on what references?
especially if external wake up is available this seems to be the most reliable solution.

Re: Chip Enabled

PostPosted: Fri Sep 25, 2020 4:49 pm
by btidey
It may be less interesting to use CE if you want to use state but as I said earlier there are many instances when this is not required. Over many different battery powered apps I have only needed to reference state once.

The reason I said this can get messy are as follows. If using timed as well as external then this must be combined with GPIO16. The rst input is pulled up via a medium size resistor plus a capacitor to ground. This further complicates driving it compared with the high impedance EN input which is totally under your control. For example if the external signal is level based then it can be low most of the time and a significant current is drawn through the pull up. Alternatively it has to be converted into a pulse. Of course it is not that difficult to deal with these if required, but my point is there are many cases where a simple external EN connection provides an elegant solution.

Re: Chip Enabled

PostPosted: Sat Sep 26, 2020 3:25 am
by schufti
btidey wrote:For example if the external signal is level based then it can be low most of the time and a significant current is drawn through the pull up.

then you have chosen wrong polarity of external wake-up source ...
same holds true for CE: if wrong polarity you have to invert, drawing additional current ...