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

embOS and SoftDevice

Hi

I am developing a product for the health care market, and we chose embOS by Segger to by our OS for the nRF52840 Based product. 

I've created a project based on ble_app_uart and integrated the embOS libraries. 

Now - Do you have an example of running the softdevice task inside embOS ? Such an example exist for freertos ( nrf_sdh_freertos_init ) . 

What will be the equivalent for embOS ? 

  • Hi Rani,

    within the SDK, we nowonly support FreeRTOS.

    There is Zephyr RTOS were we have nrf52 support from open communicty (not from Nordic directly).

    We do not support embOS yet, you should take this question to Segger if you still want to continue with it in your project.

  • Thanks, 

    I will use the FreeRTOS and port it over to embOS, that should be doable.

    embOS does offer application for nRF52 but without any BLE integrated. 

    For FreeRTOS, can you point me out to the relevant files within the solution that requires porting ? is it just main.c ? 

    I've considered Zephyr - but since this is a medical device, I need something more controlled then open source 

    Thanks, 

    Ran

  • You can download SDK15.2 here.

    When you unzip it, you can find the HRS_Freertos example in SDK15.2\examples\ble_peripheral\ble_app_hrs_freertos\

    You can choose between SES, Keil, GCC and IAR compilers there. 

    All the ported FreeRTOS sources can be found at SDK15.2\external\freertos

  • Hi Ran,

    Were you able to get RTOS running with SoftDevice while going to low power sleep between OS ticks?

    In a similar situation as you were.  Been trying to get all 3 (RTOS, SD, sleep) working together.  Looking for any examples where proof of concept has been shown.  Interested in embOS too, but at this point, any example would do, whether FreeRTOS, embOS, Zephyr, mBed, etc.

  • Hi, as for 
    "

    Hi Ran,

    Were you able to get RTOS running with SoftDevice while going to low power sleep between OS ticks?"

    Yes - Within embOS OS_IDLE function ( where OS TICK = 1ms ) , I am calling "nrf_pwr_mgmt_run"
    Since I have a licensed embOS , I am not sure I can share the project with you  (embOS is not free for commercial used ) 

    The only adjustment I've made, is to flush the logs slower then 1 ms . ( like every 100 ms ) , otherwise - log backend would crash 

Related