UWB IoT Middleware provides API interface for communicating with Trimension SR250 UWB controller. This middleware will run on an embedded host and communicate over UCI protocol with underlying UWB devices. The current release targets RW612 NXP MCU running zephyr OS.
The reference platform is composed of:
| Version | Description / Update |
|---|---|
| SR250_UWBIOT_IOT4_RFP | Initial release |
- Information about the UWB IoT Middleware architecture and components can be found in UWBIoT_Middleware_Guide.pdf
- Description of the UWB IoT Middleware API can be found in UWBIoT_API_Reference.pdf
- Git latest version (https://git-scm.com/download)
- CMake version >= 3.21.1 (https://cmake.org/download/)
- Python 3.8 or later
- Ninja build system (install with
pip install ninja) - West Zephyr meta-tool (install with
pip install west) - Zephyr SDK 0.16.1 or later (https://docs.zephyrproject.org/latest/develop/toolchains/zephyr_sdk.html#zephyr-sdk-installation)
Follow the steps below to set up the build environment for Zephyr-based projects.
- Retrieve UWBIoT middleware for SR250
git clone https://github.com/nxp-uwb/sr250-uwbiot-zephyr.git- Initialize and update Zephyr workspace
cd ~/sr250-uwbiot-zephyr
west init -l --mf west.yml uwbiot-top
west update- Install Zephyr Python dependencies
pip install -r zephyr/scripts/requirements.txt- Set up Zephyr environment variables
zephyr\zephyr-env.cmdOn Linux, use:
source zephyr/zephyr-env.sh- Build the application
west build -b <board_name> -p auto <path_to_demo>Where <board_name> is the target board (e.g., frdm_rw612) and <path_to_demo> is the path to the demo application directory (e.g., uwbiot-top/demos/SR2xx/demo_sr2xx_fw_update/zephyr).
- Running the application Flash the built application to the target board:
west flashLog outputs during application execution can be observed using a serial terminal application (e.g., PuTTY, Tera Term) with the following settings:
- Baudrate: 3000000
- Data: 8 bits
- Parity: None
- Stop bits: 1 bit
- Flow control: None
For more details about Trimension SR250 UWB controller refer to the related to the related page on NXP.com: https://www.nxp.com/products/SR250.
To contact NXP or to report issues, please use https://www.nxp.com/support/support:SUPPORTHOME