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

Beginner's questions - Hi-Res timer + BLE SoftDevice / SDK

Hi,

we're evaluating NRF52 as a platform for a project in the agricultural space and I have some beginner's questions:

  • Is it feasible to use a timer firing at 100kHz together with the BLE soft device?  The timer service routine needs to set a few GPIO bits based on a pulse train stored in RAM, so it will only need about 20 instructions, but it has strict timing requirements.  Would this interfere with the needs of the BLE soft device, particularly when Bluetooth throughput requirements are high?
  • Is using a project from the examples folder of the SDK and modifying it for the needs of the application the best way to create an application, or am I overlooking a way to create projects, including the build dependencies from the SDK, from scratch?

Any advice would be greatly appreciated.

Thanks,
Hans

Parents
    1. SW interrupts with real-time requirements at 100kHz is not possible with the SoftDevice. You either have to turn off the SoftDevice or find another solution using PPI and peripherals. 

      Can you share more details on exactly what you need to do with the GPIOs?

    2. Best practice is to modify an existing example. The ble_app_uart example is a fairly good one to use as a template. 
Reply
    1. SW interrupts with real-time requirements at 100kHz is not possible with the SoftDevice. You either have to turn off the SoftDevice or find another solution using PPI and peripherals. 

      Can you share more details on exactly what you need to do with the GPIOs?

    2. Best practice is to modify an existing example. The ble_app_uart example is a fairly good one to use as a template. 
Children
Related