uwb2 2.1.0.0
|
UWB 2 Click is a compact add-on board that brings Ultra-Wideband communication to any solution. This board features the DWM3000, an IEEE 802.15-z UWB transceiver module from Qorvo. This module fully aligns with FiRaTM PHY, MAC, and certification development. It uses an integrated UWB antenna to establish wireless communication in UWB channels 5 (6.5GHz) and 9 (8GHz). This Click boardâ„¢ makes the perfect solution for developing precision real-time location systems (RTLS) using two-way ranging or TDoA schemes in various markets, location-aware wireless sensor networks (WSNs), and more.
We provide a library for the UWB 2 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for UWB 2 Click driver.
uwb2_cfg_setup
Config Object Initialization function. uwb2_init
Initialization function. uwb2_default_cfg
Click Default Configuration function. uwb2_read_reg_32bit
This function reads 32-bit data from the selected register by using SPI serial interface. uwb2_send_message
This function write a desired number of data bytes to the TX buffer, sets the TX message size, starts transmission and waits for a TX frame sent event. uwb2_read_message
This function activates the reception and then waits for a frame with a good FCS/CRC then reads up to len number of data bytes from the RX buffer and adjust the len parameter with the number of data bytes actually read. This example demonstrates the use of an UWB 2 click board by showing the communication between the two click boards.
The demo application is composed of two sections :
Initializes the driver, performs the click default configuration, then reads and displays the device ID number.
Depending on the selected application mode, it reads all the received data or sends the desired text message with the message counter once per second.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.