DW1000 and MyNewt

[color=#333333]Hello Forum Members,[/color]
[color=#333333] [/color]
[color=#333333]Decawave recently announced support for the DW1000 in the MyNewt-OS. The driver and application code is released under an open source Apache license model. [/color]
[color=#333333]If you would like to access the code, go here: [/color][color=#426276][color=#333333]https://github.com/Decawave[/color][/color]
[color=#333333] [/color]
[color=#333333][color=#24292e][size=medium]mynewt-dw1000-core [/size][/color][/color]
[color=#333333]The distribution ([/color][color=#426276][color=#333333][color=windowtext]https://github.com/decawave/mynewt-dw1000-core[/color][/color][/color][color=#333333]) contains the device driver model for the DW1000 IR-UWB transceiver within the mynewt-OS. The driver includes hardware abstraction layers, low-level MAC, Ranging Services and raw-lwip stacks. The DW1000 driver and mynewt-OS combine to create a hardware and architecture agnostic platform for IoT Location Based Services (LBS). This augmented with the newtmgt management tools creates a compelling environment for large-scale deployment of LBS. The newt management tool uses a repo methodology for package management. The driver contained herein becomes a dependent repo for any DW1000 related project and is automatically included in projects as required––the [/color][color=#426276][color=#333333][color=windowtext]https://github.com/decawave/mynewt-dw1000-apps[/color][/color][/color][color=#333333] showcases this relationship. [/color]
[color=#333333] [/color]
[color=#333333]This distribution contains the example applications for the DW1000 IR-UWB transceiver within the mynewt-OS. The dw1000 device driver model is integrated into the mynewt-OS ([/color][color=#426276][color=#333333][color=windowtext]https://github.com/decawave/mynewt-dw1000-core[/color][/color][/color][color=#333333]). This driver includes native support for a 6lowPAN stack, Ranging Services, and Location Services, etc. Mynewt and its build environment tool newt and management tool newtmgt creates a powerful environment for deploying large-scale distributions within IoT.[/color]
[color=#333333]For these examples, we leverage the Decawave dwm1001 module and dwm1001-dev kit. The DWM1001 includes a nrf52832 and the DW1000 transceiver. The DWM1001-DEV is a breakout board that supports a Seggar OB-JLink interface with RTT support. The mynewt build environment provides a clean interface for maintaining platform agnostic distributions. The DWM1001-DEV and the examples contained herein provide a clean out-of-the-box experience for UWB Location Based Services.[/color]

[color=#333333]Precompiled library for Clock Calibration. This library is precompiled for Cortex class M3 devices. The Library works in conjunction with Clock Calibration Packets (CCP) sent by the Clock-Master. The library supports multiple instances for multi-clock-master applications. The clkcal class binds to the post-processing callback for the CCP frame type handler and calculates the skew of the clock. This library is a dependent repo and is included as required.[/color]

[color=#333333] [/color]
[color=#333333]The link below is where you can read more of the PR[/color]
[color=#333333] [/color]
[color=#333333] [/color]

how to support to our module board with nrf52832 chip ? any document guide?

Hi Justin,

Please go through https://github.com/Decawave/mynewt-dw1000-apps and the mynewt tutorials as well.


There is one for the nrf52 it should give you an idea of how the platform works. For a custom board, I guess you’ll have to create a custom BSP but apart from that the mynewt stack should be portable.

Thank you,

I not understand example [color=#586069][size=large][font=-apple-system, system-ui,][color=#0366d6]mynewt-dw1000-apps[/color][/font][/size][/color]

Hi Arno,

For support regarding the RTLS stack with DW1000 and MyNewt OS please go to :

Thank you,

Noted and thanks.