NXP UM11449 User Manual

UM11449
88MW32x Labtool User Guide
Rev. 2.0 — 4 August 2020 User manual
Document information
Information Content
Keywords Labtool setup, DUT setup, Labtool usage, Wi-Fi Labtool commands
Abstract Provides the instructions to set up the testing environment, and the
commands to test Wi-Fi RF.
88MW32x Labtool User Guide
UM11449
Revision history
Document revision history
Revision Date Description
2.0 4-Aug-2020 Applied NXP branding, format and numbering scheme. No changes in the content.
1.0 11-Mar-2019 Initial release
UM11449 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
User manual Rev. 2.0 — 4 August 2020
2 / 21

1 Introduction

This document provides an overview of Labtool for 88MW320 and 88MW322 devices. Labtool is a software test tool used to control and run various RF and regulatory compliance tests.

1.1 Related documents

Table 1. Related documents
Document type Descriptive title
Datasheet 88MW320-88MW322 Wireless Microcontroller - IEEE 802.11n/g/b
Reference design documents
Reference design documents
UM11449
88MW32x Labtool User Guide
RD-88MW320-QFN-1B-2A v1.0 reference design documents ­Schematics, ASCII files, Gerber files, Pad layout, and bill of material
RD-88MW322-QFN-1B-2A v1.0 reference design documents ­Schematics, ASCII files, Gerber files, Pad layout, and bill of material
UM11449 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
User manual Rev. 2.0 — 4 August 2020
3 / 21

2 Overview

The Labtool application runs on a Windows PC. The Device Under Test (DUT) needs to run the bridge application and MFG firmware. The PC is connected to the DUT via the USB Virtual UART interface.
Figure 1 shows the Labtool test setup structure.
UM11449
88MW32x Labtool User Guide
Figure 1. Labtool test setup
Ensure to calibrate the RF cable losses on the Manufacturing (MFG) test setup across different frequencies. This can be accomplished by using a network analyzer to measure the entire path loss (S21).
For example, the entire path loss between the RF tester and the 88MW32x reference design is measured from the N-Type to SMA adapter and DC block that connects to the RF tester all the way to the W.FL cable/probe end that connects to the W.FL connector on the 88MW32x reference designs.
UM11449 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
User manual Rev. 2.0 — 4 August 2020
4 / 21

3 Wi-Fi MFG firmware and bridge setup

This section describes the procedure on how to setup the Wi-Fi MFG firmware and launch the bridge on a host PC to start the test.
The bridge firmware and Wi-Fi MFG firmware are located in the 88MW32x Flash. The host Labtool communicates with the DUT firmware thru the virtualized UART interface. See Figure 2.
Figure 2. Labtool, bridge, and Wi-Fi MFG firmware
UM11449
88MW32x Labtool User Guide
Program the bridge firmware and WLAN MFG firmware into the Flash through the 88MW32x reference design. The bridge firmware can be built thru the Software Development Kit (SDK) environment. The Labtool release package includes the WLAN MFG firmware.
Perform the following tasks:
1. Follow the document “Development-Host-Setup.pdf” in the SDK document package to set up the environment to compile.
2. Follow the document “DeveloperReference-BuildSystem.pdf” to make the bridge firmware.
3. Follow the document “Developing with WMSDK.pdf” and use the tool “flashprog.py” in the SDK package to program the bridge firmware and WLAN MFG firmware into Flash.
When setting up the environment to compile and preparing to build the bridge firmware, configure as follows:
1. Execute the following command:
>make config
2. In the menu, choose the following options:
Platform type >
Wi-Fi Chipset >
Configures UART rcv Buffers of size 1024 (UART_LARGE_RCV_BUF) {N/Y]:Y
1.88MC200-based Platforms (CPU_MC200)
2.88MW300-based Platforms (CPU_MW300)
Choice {2-1]: 2
1.878x-based Chipset (WiFi-878x)
2.8801-based Chipset (WiFi-8801)
Choice {2-1]: 2
3. Keep the other parameters as the default configuration.
UM11449 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
User manual Rev. 2.0 — 4 August 2020
5 / 21

4 Labtool setup

4.1 Environment setup

The host PC runs on a 64-bit Windows operating system. The procedure to set up the environment is as follows.
Step 1 - Download and extract 88MW32x MFG firmware
Download the latest 88MW32x MFG firmware release from NXP website. The last MFG release version of the 88MW30x is reused for 88MW32x SoC.
Unzip the MFG firmware release package into any directory. Inside the release package, there are a few folders.
FwImage folder contains the MFG firmware for the 88MW32x device
Labtool folder contains the tool used to control the 88MW32x device for the MFG tests
and physical layer tests
Figure 3 shows the files in the MFG firmware release package.
UM11449
88MW32x Labtool User Guide
Figure 3. Files in MFG firmware release package
Figure 4 shows the Labtool folder content.
Figure 4. Labtool folder content
The Labtool folder includes:
DutApiWiFiMW30xBridgeUart.exe: Labtool executable
SetUp.ini: Configuration file for Labtool executable
UM11449 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
User manual Rev. 2.0 — 4 August 2020
6 / 21
4.1.1 Step 2 - Edit Setup.ini file
Open the “SetUp.ini” file using a text editor. Edit the ComNo parameter to match the USB serial port number of the host. For the reference design boards, it will be virtualized as two UART ports. Use a big port number.
[COMSET]
ComNo = 11
BaudRate = 1500000
Install the Zadig USB driver using the following link on the Windows PC for the reference design board:
http://zadig.akeo.ie/
Once installed, the USB serial port number can be found in the Device Manager (see
Figure 5). Choose either the DB9 connector or Future Technologies Device International
(FTDI) based on the USB serial connector to connect to the Windows PC.
UM11449
88MW32x Labtool User Guide
Figure 5. Virtual UART ports in Device Manager
UM11449 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2020. All rights reserved.
User manual Rev. 2.0 — 4 August 2020
7 / 21
Loading...
+ 14 hidden pages