u-blox EVK-ODIN-W2

The EVK‑ODIN‑W2 is designed for use with Arm® Mbed™ and is a complete starter kit that allows quick prototyping of a variety of applications for Internet of Things. The support for dual‑band Wi‑Fi, Bluetooth Low Energy, and Ethernet enables easy connectivity for a wide range of applications. Additional hardware interfaces such as CAN, SPI, I2C, UART, ADC, and GPIOs are available using Arm Mbed. The EVK‑ODIN‑W2 can also be used to evaluate the pre‑loaded u‑blox software suite using the u-blox s‑center tool on a PC.

Highlights

  • Available in two variants
    • EVK-ODIN-W260 with U.FL antenna connector
    • EVK-ODIN‑W262 with onboard antenna
  • Integrated MCU, STM STM32F439ZIY6
    • Cortex®-M4 with FPU
    • 168 MHz
    • 2 MB flash
    • 256 kB RAM
  • Wi-Fi 802.11a/b/g/n, 2.4 and 5 GHz bands
  • Wi-Fi Enterprise security (EAP-TLS and PEAP)
  • Bluetooth Low Energy
  • RJ45 Ethernet connector for ODIN‑W2 RMII‑PHY interface
  • Pin headers in 1.8 V I/O domain and Arduino sockets in 3.3 V I/O domain
  • Micro SD-card slot
  • Powered through USB or external power supply

Binary for Arm Mbed OS 5

A pre-compiled binary module including u-blox Wi-Fi and Bluetooth Low Energy drivers is included in Mbed OS 5, see github.

For additional documentation see github.

Product Variants

EVK-ODIN-W260Evaluation kit for ODIN-W260 module with U.FL connector
EVK-ODIN-W262Evaluation kit for ODIN-W262 module with onboard antenna

Pin Layout

/media/uploads/ECarlberg/evk-odin-w2_pin_layout_w_logo.png By default pins A1 and A2 will be configured as digital I/Os. To use them as analog inputs, configure the jumpers on pin header J26.

In order to use the external LPO on the EVK-ODIN-W2 short the header J21 with a jumper. If the header J21 is left open the internal RC oscillator will be used.

To ensure that the internal RC oscillator is correctly enabled, the following should be added to the target configuration mbed_app.json:

"overrides": {
    "lse_available": false 
}

Note that when SW0 or SW1 is used as digital input it should be configured as pull-up e.g.:

DigitalIn button(SW0);
button.mode(PullUp);

Board schematics

Electrical schematics of the EVK-ODIN-W2 board is found here: Evaluation Board Schematics
The picture below shows how to connect the antennas on the EVK-ODIN-W260 board, with U.FL connectors for external antennas.

/media/uploads/ECarlberg/evk-odin-w260_antenna_connections_497x373.png

The early production of the EVK-ODIN-W2 board (before w46 2016) contains an old ST-LINK firmware(V2.J23.M9). The old firmware has some limitations:

  • Windows 10 corrupts the firmware of the ODIN-W2 module when copying the firmware via copy or drag and drop(via mass storage device).
  • The target_id of the board is not unique.

Do the following to upgrade the ST-LINK firmware:

  • Download the following application from ST here.
  • Run either ST-LinkUpgrade.exe or STLinkUpgrade.jar

You can verify with 'mbedls' afterwards that the target_id is unique e.g.:

Before upgrade:
+-------------------+----------------------+-------------+-------------+--------------------------+-----------------+
| platform_name     | platform_name_unique | mount_point | serial_port | target_id                | daplink_version |
+-------------------+----------------------+-------------+-------------+--------------------------+-----------------+
| UBLOX_EVK_ODIN_W2 | UBLOX_EVK_ODIN_W2[0] | E:          | COM78       | 12360200000000003F65830B | 0200            |
+-------------------+----------------------+-------------+-------------+--------------------------+-----------------+
 
After upgrade:
+-------------------+----------------------+-------------+-------------+--------------------------+-----------------+
| platform_name     | platform_name_unique | mount_point | serial_port | target_id                | daplink_version |
+-------------------+----------------------+-------------+-------------+--------------------------+-----------------+
| UBLOX_EVK_ODIN_W2 | UBLOX_EVK_ODIN_W2[0] | E:          | COM78       | 12360221024B68103D0FEB1B | 0221            |
+-------------------+----------------------+-------------+-------------+--------------------------+-----------------+

Example programs

Import programmbed-os-example-blinky

This is a very simple guide, reviewing the steps required to get Blinky working on an Mbed OS platform.

Import programmbed-os-example-wifi

A quick example of a simple WiFi application using the WiFi and network-socket APIs that is provided as a part of mbed-os.

Import programmbed-os-example-odinw2-wifi-ap

WiFi AP example for Odin-W2

Import programmbed-os-example-ble-Button

BLE_Button is a BLE service template. It handles a read-only characteristic with a simple input (boolean values). The input's source is the button on the board itself - the characteristic's value changes when the button is pressed or released. The canonical source for this example lives at https://github.com/ARMmbed/mbed-os-example-ble/tree/master/BLE_Button

Technical Resources

u-blox s-centerEasy‑to‑use tool for evaluating, configuring, and testing u‑blox short range modules
EVK-ODIN-W2 Quick StartShort instructions how to setup the install the EVK
EVK-ODIN-W2 User GuideEvaluation kit HW description including pin layout and configuration options. Instructions on how to install drivers and getting started with Mbed evaluation on EVK-ODIN-W2.

Known Limitations

  • The OdinWiFiInterface class can only be instantiated once
  • DHCP server mode not supported in Access Point mode

 Buy Now


You need to log in to post a discussion

Discussion topics

TopicRepliesLast post
Missing Wifi Enterprise (EAP) support in mbed 5 6 24 May 2018 by Erik Carlberg
Buy Now URL outdated 1 15 Sep 2017 by apet u-blox
I tried the wifi interface on mbed-os-example-client. 1 23 Nov 2016 by apet u-blox

Questions