This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Power removal on nRF52832 chip.

  Hello,

  I have some questions on power removal on nRF52832 chip.

  I think that some tasks are managed by the application and some other directly from the stack, the
  firsts are under "our" control, the seconds are directly managed by the stack.
  I have not a full understanfing till now of the separation of these task, i do not know eaxcly what is done
  by the softdevice and what is required to be implemented by the application.

  In general the device may be in different statues, i.e. advertisining, connected,... if we remove the power
  from the MCU is there any conditions that can generate an unrecoverable error ?

  I am thinking for example to the pairing where the MCU saves the pairing information in the flash.
  Supposing that the power is removed in the middle of a saving what happen ?
  Is is possible to recover the situation ? (i.e. the last pairing is lost but the previous remains)


  Thanks in advance
  Best regards
  Emanuele

Parents Reply
  • Hi Simon,

    thanks for you reply.

    My main point was on corruption of data saved in MCU internal flash. I try to better explain.

    During a piaring some data are saved in the flash (by the stack i suppose),if we remove the power during the writing in the flash the flash can be corrupted at next restart (data partially saved, crc mismatch)

    I suppose that these data aree saved/managed by the BLE stack (softdevice), is this correct ?

    At restart, the device will find unconsistend data, what happen ?

    We have an error and we can anyway recover the situation, are API availble ?

    Thanks in advance

    Best regars

    Emanuele

Children
No Data
Related