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

nRF51822 and Framed Loop environment

I am planning to write a simple OS for nRF51822 based on framed loop principle. Nothing fancy, just bog standard 10mS frame and optional round robin scheduler.

The questions are:

  1. Will the Softdevice coexist with such an OS? My guess is that the answer is "yes" but I'd like to verify this before I spend several weeks writing/debugging the code,
  2. Are Nordic own drivers support non-blocking mode? For example, if application would like to send some data via SPI it shall give a command to driver and then driver will send data in parallel with application execution. Then the driver sets a flag indicating that the task has been completed. My gut feeling is that the answer is "no" but again, I'd like to check this prior to start designing the OS/Application.
Related