SWRA657 June 2020 CC3100 , CC3200
In a battery powered system, there is a chance that sudden removal of power could coincide with an ongoing serial flash access. The chance of this happening can be minimized by making it difficult to remove the batteries while the product is in use, for example, in a Wi-Fi weighing scale, where you stand on the scale when it is in use. Alternatively, product instructions could discourage the removal of the batteries while the product is in use. In systems desiring a higher degree of protection, a soft power down push-button could also be provided that maps to a GPIO of the system processor, giving it advanced warning that you want to remove the battery. In such a system the processor could use an LED to indicate that soft shut down has completed and that the batteries can be removed.