Other Parts Discussed in Thread: CC2540
I need to implement NV circular history logging on a CC2540 peripheral product. Entries are to be 16-byte blocks, chronologically sequential, and use as many 2k pages as are not needed by the rest of the system. The log will be written irregularly from several times an hour to a week or more between writes. Writes will be in response to occasional commands received via BLE, entries made via a keypad, and sensor inputs. It will be read some-or-all via BLE. Has anyone implemented a similar log? What is a good example of firmware for a starting point? What are the caveats?