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

Adding and enabling nRF driver to a project in SEGGER through CMSIS configuration wizard

Hi DevZone,

I am new to nRF SoC and SEGGER. After installing all tools, I can build and run examples.

I run into a problem to add and enable a nRF driver, like "UARTE peripheral driver", what are the procedure and step to do that?

I try to use the CMSIS configuration wizard to do that, but I found the followings in different examples as:

where I can enable the device I want to use, but on some example I found:

I even can not see "NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver" overthere.

So anybody can help me on two questions:

1. how to add and enable a nRF driver to a project under SEGGER?

2. how to add those missing modules, nRF driver on CMSIS configuration wizard? 

Thanks,

HRB

  • Hi HRB,

    • For "Importing files and drivers" please check out this tutorial.
    • For "How to use the CMSIS Configuration Wizard" please check out this tutorial.
  • Did this get sorted out? I'm having the same problem and neither of the provided references says how to get a driver to show up in CMSIS Wizard if it's not already there...

  • Hi Ron,

    The CMIS Wizard is just a graphical representation of what's in the sdk_config.h file.

    If something that you need is not in there, you have to add it to the sdk_config.h file first. 

    The easiest solution would be to copy from a project what already have what you need in the sdk_config.h.

    (example on how to add something that's missing in sdk_config is listed here)

    //cheers

  • Hi Martin,

    The tutorial to "CMSIS Configuration Wizard" worked to a certain extent.

    Prior to inserting the additional line of code below, the option to open CMSIS Config Wizard was not even available. However after inserting the code, I could see the option and click on it.

    Here's the problem. Upon clicking the option, no wizard/window pops out for me to enable RTT & Logging.
    I am following this tutorial here:

    https://youtu.be/uP8RYgYGRvI?t=168

    Thank you for your help and support in advanced!!

    Kin Sern

  • Hi Kin,
    Please make a new ticket since this case is over 2 years old and then also specify which segger version you are using in the new ticket.

1 2