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

NVMC timing

I'm currently designing a system that requires Nonvolatile memory. Whilst I can accept the 43uS delay to write a word to flash memory. My concern is that it is entirely possible in the operation of the device to erase a flash page. This will take 21ms.

How does this affect the operation of the Soft Device (nominally s130). What concerns should I have with timing? I'm assuming I would have to use the soft device scheduler to ensure the flash erase doesn't coincide with the radio. What precautions should I take as I program the firmware for this operation.

I'm assuming the nonvolatile and the active operation of the Soft Device is incompatible.

Setup: nrf51822 SDK 6.1 S130

Parents Reply
  • Thanks for the info. I could understand the CPU halt for erase all but for page why would it halt to CPU. Even CPU halt, your I/O still work and so the radio. I have used it in an acquisition system with 20 i/o begin monitor and operate at the same time as transmitting data over ble. We had issue with, just do not use GPIOTE. I found that GPIOTE latency was to high. It didn't work in our system. We use direct pin change interrupt for that.

Children
No Data
Related