Getting Started with the DWM3001C

@carlos.silva @wassim I’m hoping you can help provide some clarity and guidance on getting started with the DWM3001C. After spending a couple of days researching and experimenting, I have a couple of questions.

  1. Can the DWM3001C be used as a standalone device (with just a battery), or does it need a host controller? It incorporates the nRF52833, which has a Cortex-M4, so I would think that it can run on its own once it’s programmed? For example, if I took a DWM3001CDK, programmed it, then desoldered the DWM3001C module from the dev board and provided it with power, would it run the programmed code the same as if it was still soldered to the dev board?

  2. Assuming it can run standalone, is there an SDK/firmware available for it? I’ve found the DWM3001CDK DK Software, Sources, Tools and Developer Guide, but this has a lot of content specific to the DWM3001CDK that is not on the DWM3001C (e.g. controlling LEDs, input from the buttons, etc.).

  3. Assuming it can run standalone, what is the recommended/standard way to program a large number (thousands) of DWM3001C modules?

  4. For the DWM3001CDK, I have been able to build and download the DWM3001CDK DK Software, Sources, Tools and Developer Guide SDK package to the module using SES, but it is unclear how we should actually use this SDK/firmware for a real application. In our case we need to:

    • Scan for nearby UWB anchors
    • Range to each one of them
    • Read a high/low value from a GPIO pin
    • Transmit all of this data (range to each anchor, GPIO value) to a computer via BLE
    • Repeat on an interval
      Once the SDK/firmware is built and downloaded to the module (per section 9 of the User Guide), where/how do we actually develop an application to utilize that SDK/firmware? Are there any examples available for this?


Hi @Jordan!

  1. DWM3001C is actually a module produced by Qorvo that you can acquire. DK is just Dev Kit for that module, which includes the power connection, LEDs, buttons, and a built-in J-Link.

  2. All software listed for DWM3001CDK will work as is with the module, also examples for Nordic nRF528XX (maybe a pin reallocation will be needed in this case).

  3. Good question, I see some options but with a lot of “ifs”. The best idea is to contact your sales representative and ask for support:
    Contact a Qorvo Sales Representative - Qorvo

  4. You can start with the Developer Guide and understand how the UWB tasks are set, how UWB is configured, and where the results are reported. The example software implements a command line interface, you can configure and start UWB using that or even create a Python script to test what you want. When you’re happy with the sequence, then you can check how the application handles each command and bring it to your own app. About GPIO and BLE, you can check Nordic examples folder inside their SDK folder, keep in mind that you’re developing for an nRF52833 after all.

You can always come here with more specific questions, like “How to start the app as an initiator?”
Hope it helps and good luck!

Hi @carlos.silva ,

Thanks for the very quick and thorough response. I managed to sort through the SDK and understand now how the pins would be reallocated if I mounted the DWM3001C on a custom board, instead of using it on the DWM3001CDK.

To confirm, the J-link debugger isn’t actually needed for the DWM3001C to run, correct? It’s only used for programming and debugging?

Based on your response, a couple more questions then, if I may:

  1. Could you describe the difference between the CLI and UCI example projects in the DWM3001C SDK? It looks like they use exactly the same code, but the Project/Solution files themselves are different.

  2. I may have a fundamental misunderstanding about how this is intended to function. It seems that the two SDK projects (CLI and UCI) are intended to run continuously and accept commands over serial (CLI) or UART/USB (UCI). This implies that there’s some external host that is sending those commands. But, what if I don’t have an external host, and I want the DWM3001C to be entirely self-contained with a pre-programmed loop of operations/commands to run (those described in question 4 above)? This might be what you mean by “bring it to your own app”, but it’s unclear how to create a new continuous task that runs these commands.

  3. You mention using the Nordic examples, which makes sense, but how does one integrate the Nordic example code (BLE, GPIO) into the example DWM3001CDK projects (e.g. DWM3001CDK-DW3_QM33_SDK_UCI-FreeRTOS.emProject)? The main.c file for the Qorvo projects appears to start several tasks and a scheduler (which never returns); how would I start an ongoing task that, on an interval, uses the UWB module and transmits certain data from that over BLE?

  4. This may not be related, but do you know how to have .h files appear in the SES file explorer? I’m not sure if it’s an SES thing or a configuration settin in the Qorvo SDK projects, but it’s only showing the .c files.

Thanks again!

Hi @Jordan,

I am working on a standalone solution (just battery, no USB/UART) for ToF ranging. I am using the “DWM3001CDK DK Software, Sources, Tools and Developer Guide” with DWM30001CDK, but there are similar issues so I decided to reply to this thread.

  1. As far as I understand it the provided firmware DWM3001CDK-DW3_QM33_SDK_CLI-FreeRTOS_0_1_1.hex is built for the NRF52833, and Segger J-Flash Lite flashes it directly to the DWM30001C. However, the FW still relies on inputs from the UART to configure and start the applications (initf, respf). I am looking into the DWM3001CDK-DW3_QM33_SDK_CLI-FreeRTOS.emProject, and try to make it running in a standalone fashion, but I don’t yet understand how all the bits and pieces work together.

Hi @Jordan and @christian.i!

  1. The CLI is the Command Line Interface that I mentioned in 4, UCI (UWB Command Interface) is a standard for software applications to communicate with UWB devices, the scripts folder has an example using UCI over uart.
    I suggest you try the CLI first, connect a flashed DWM3001CDK to a PC using the User USB (J20), the PC will find a new COM Port, then you can use your preferred serial terminal to connect to it, then try the command “help”.

  2. You got it right, but it doesn’t require to have an external host. After starting a board with a specific configuration you can use the CLI command “save” to write to flash your UWB configuration and function.
    This is something you can try right now, open two terminals for two boards, set one as responder and the other as initiator they should start TWR, then save the initiator, keep the responder connected for monitoring and unplug the initiator, plug the initiator into a power supply or powerbank. It may take a few seconds but TWR between them will start again.

To set your application you need to change the default_config values or decide on how to set it (e.g.: via BLE), and then rewrite main() to start a specific role instead of loading the saved state from flash or waiting for a command, but then I recommend you to get familiar to the application first.

@christian.i, look for the “app_definition_t” type in /Src/Apps/Src/common/app/common/app.c, there you can set a variable (let’s say, “fira_initiator_app”) and configure it as the DEFAULT_APP. Also, take a look at how the “default_app” is loaded.

  1. You can start following how it is implemented for other components, like USB CDC in the CLI example. The Nearby Interaction project uses the same structure and implements BLE:

  2. I don’t know, I almost always use “right click->Go To Declaration” and few times I expand a .c file and look at its dependencies.

Best regards!