NXP 88W8987 User guide

Type
User guide

This manual is also suitable for

UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M
Quad EVK Running Android 10 OS
Rev. 1 — 29 January 2021 User manual
Document information
Information Content
Keywords i.MX 8M Quad Evaluation Kit (EVK), 88W8987-based wireless module,
88W8997-based wireless module
Abstract Details the bring-up of Wi-Fi and Bluetooth on NXP-based wireless modules
on i.MX 8M Quad EVK running Android 10 OS
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
Rev Date Description
v.1 20210129 Initial version
Revision history
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
2 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
1 About this document
1.1 Purpose and scope
This manual details the bring-up of Wi-Fi and Bluetooth for NXP-based wireless modules
on i.MX 8M Quad EVK running Android 10 operating system. Refer to i.MX 8M Quad
Android BSP documentation and Android User's Guide for guidance on how to run and
build Android images from source.
1.2 References
Reference type Reference details
Datasheet NXP – SDS – 88W8987 - 2.4/5 GHz Dual-Band 1x1 Wi-Fi 5 (802.11ac) and Bluetooth 5
Solution (link)
Datasheet AzureWave – AW-CM358MA - IEEE 802.11a/b/g/n/ac WLAN with Bluetooth 5 Combo
Stamp Module With M.2 2230 Adaptor Board (link).
Datasheet AzureWave – AW-CM358SM - IEEE 802.11a/b/g/n/ac WLAN with Bluetooth 5 Combo
Stamp LGA Module (link).
Datasheet AzureWave – AW-CM276MA-PUR - IEEE 802.11a/b/g/n/ac Wireless LAN 2T2R and
Bluetooth 5.0 Combo Module (M.2 2230) (link).
Fact sheet NXP - 88W8997 - 802.11ac wave 2 2x2 Wi-Fi Dual Band with Bluetooth 5 SoC (link)
Fact sheet NXP - Evaluation Kit Based on i.MX 8M Quad Application Processors (link)
User guide AzureWave - AW-CM358-uSD - uSD-1212 Adapter Board for AW-AM281-uSD and AW-
CM358-uSD (link)
User guide NXP – AQSG - Android
Quick Start Guide(link)
User guide NXP – AUG - Android
User's Guide (link)
Table 1. References
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
3 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
2 i.MX 8M Quad evaluation kit (EVK)
2.1 i.MX 8M Quad EVK overview
NXP i.MX 8M Quad Evaluation Kit (EVK) provides a platform for rapid evaluation of the
i.MX 8MQuad, i.MX 8MDual and i.MX 8MQuadLite Applications Processors, utilizing 2 to
4x ARM
®
Cortex
®
-A53s and 1x Cortex-M4 cores.
The EVK includes the hardware design files, tools and board support packages (BSPs)
for Android OS where:
The i.MX 8M Quad Android Board Support Package (BSP) supports Android 10 on
the i.MX 8M Quad application processors. The purpose of this software package is
to support Android OS on the i.MX 8M Quad of Integrated Circuits (ICs) and their
associated platforms. It provides the necessary software to interface the standard
open-source Linux kernel to the i.MX 8M Quad hardware.
The i.MX 8M Quad BSP is based on the Linux kernel from the official Linux kernel
website. It is enhanced with the features provided by NXP and can be accommodate
customized Linux kernel configurations.
2.2 i.MX 8M Quad evaluation board
The i.MX 8M Quad evaluation board is based on the NXP i.MX 8M Quad application
processor. The i.MX 8M Quad processor features an advanced implementation of the
Quad ARM Cortex
®
-A53+ ARM Cortex-M4 core which operates at speeds up to 1.5
GHz. The i.MX 8M Quad features an integrated power management module that reduces
the complexity of external power supply and simplifies the power sequencing. Each
processor provides a 32-bit LVDDR3L/DDR4/LPDDR4 memory interface and other
interfaces to connect peripherals such as HDMI, LCD, Wi-Fi, Bluetooth
, GPS and
camera sensors.
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
4 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
Figure 1. i.MX 8M Quad EVK block diagram
For more information about the application processor, please refer to the data sheet and
reference manual on www.nxp.com.
Table 2 lists the features of i.MX 8M Quad EVK.
Features Features (continued)
i.MX 8M Quad applications processor with five cores (4×Arm
®
Cortex
®
-A53 and 1× Cortex-M4)
M.2 connector for Wi-Fi/Bluetooth (PCIe, USB, UART, I2C
and I2S)
3 GB, 32-bit LPDDR4 with 1.6 GHz clock USB3.0 Type-A connector
eMMC 5.0, 16 GB HDMI2.0a Type-A connector
32 MB Octal SPI NOR flash 1 Gbit/s Ethernet
Micro SD card connector Mini-SAS MIPI-DSI connector
USB3.0 Type-C connector with PD support 2x mini-SAS MIPI-CSI connectors for Camera
USB to serial converter for debug
Infrared receiver LEDs for power indication and general-
purpose use
3.5 mm audio jack for amplified speakers JTAG 10-pin connector
Table 2. Features of i.MX 8M Quad
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
5 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
2.3 i.MX 8M Quad evaluation board interfaces
Figure 2 shows the front view of i.MX 8M Quad evaluation board with pointers to the
interfaces.
Figure 2. i.MX 8M Quad evaluation board interfaces - Front view
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
6 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
Figure 3 shows the back view of i.MX 8M Quad evaluation board with pointers to the
interfaces.
Figure 3. i.MX 8M Quad evaluation board interfaces - Back view
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
7 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
2.4 i.MX 8M Quad switch settings
Figure 4 shows the two switches on i.MX 8M Quad evaluation board. The Boot Device
Switch is used to boot the device from eMMC while the Boot Mode Switch is used to set
the boot mode.
Figure 4. Boot device switch and boot mode switch on i.MX 8M Quad evaluation board
Table 3 shows the settings of the boot mode switch.
D1 D2 Boot mode
0 1 Serial downloader
1 0 Internal boot
Table 3. Boot mode switch settings
Table 4 shows the settings of the boot device switch to boot from eMMC.
D1 D2 D3 D4
OFF OFF ON OFF
Table 4. Switch settings to boot from eMMC
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
8 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
3 NXP-based wireless modules
Refer to 88W8987 short datasheet and 88W8987 product overview on NXP website.
Refer to 88W8997 fact sheet and 88W8997 product overview on NXP website.
3.1 Interface with i.MX 8M Quad application processor
Figure 5 shows the high-level block diagram of i.MX 8M Quad application processor with
the Wi-Fi (SDIO/PCIe) and Bluetooth (UART) hardware interfaces used to communicate
with NXP-based wireless module.
Figure 5. Interface between the i.MX 8M Quad application processor and NXP-based wireless module
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
9 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
3.2 Wi-Fi layer interfaces
The wireless module requires a kernel driver loaded on the i.MX 8M Quad host system
and a firmware running on 88W8987/88W8997 SoC. The MLAN module downloads
the firmware binary to the SD8987/PCIE8997 adapter when the SDIO/PCIe bus
driver detects the SDIO/PCIe interface of the module. The kernel driver (SD8987/
PCIE8997) is loaded between the bus driver and the network stack from the "cfg80211"
subsystem in the kernel. NXP kernel driver includes a set of controls and configurations
to communicate with the user space through one of the following interfaces:
Input/output control (IOCTL)
Wireless Extension (Wext)
CFG80211
The IOCTL provides a path to the user space applications, such as iwconfig and iwpriv
whereas cfg80211 provides a different path to the user space application, such as
wpa_supplicant, hostapd and iw.
Figure 6 illustrates the Wi-Fi layer interface.
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
10 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
Figure 6. Wi-Fi layer interface
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
11 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
3.3 Bluetooth layer interfaces
Figure 7 illustrates the layers between the user applications and the NXP-based
Bluetooth module. The NXP-based wireless module requires a kernel driver loaded on
the i.MX 8M Quad host system and a firmware running on NXP SoC. The Wi-Fi driver
loads the combo firmware. The hci_uart driver provides the HCI interface between the
firmware and user application.
Figure 7. Bluetooth layer interface
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
12 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
3.4 88W8987-based Azurewave AW-CM358-uSD module
The Azurewave provides a uSD-1212 adapter with Wi-Fi module solution for i.MX 8M
Quad Evaluation Kit. The AW-CM358-uSD supports Wi-Fi through a uSD device interface
that conforms to the industry SDIO Full-Speed card specification and allows a host
controller using the SDIO bus protocol to access the Wireless SoC device. The AW-
CM358-uSD acts as the device on the SDIO bus, and features the following:
SDIO 3.0 standard
On-chip memory used for CIS
Supports 4-bit SDIO and 1-bit SDIO transfer modes
Special interrupt register for information exchange
3.4.1 Recommended antenna part
MAG.LAYERS: MSA-4008-25GC1-A2
3.4.2 Supported I/O signal level
SDIO (3.0/2.0) supports 1.8V for I/O signal
3.4.3 Supported RF standard
I/O voltage level Wi-Fi Bluetooth
AW-CM358-uSD 1x1 Wi-Fi 5 (2.4/5 GHz) 5.0
Table 5. Supported RF standard
3.4.4 Supported Wi-Fi features
AW-CM358-uSD and AW-CM358MA modules share the same Wi-Fi feature set. Refer to
Azurewave AW-CM358SM datasheet..
Note: Azurewave AW-CM358-uSD supports both Wi-Fi and Bluetooth RF standards.
But as i.MX 8M Quad EVK did not define the FFC connector for Bluetooth, only Wi-Fi is
supported for i.MX 8M Quad platform with AW-CM358-uSD module combination.
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
13 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
3.4.5 Azurewave AW-CM358-uSD Wi-Fi module interface
Figure 8. AzureWave AW-CM358-uSD module interface
3.4.6 Azurewave AW-CM358-uSD module jumpers and power supply
This section provides the jumper settings to configure the module with 1.8V SDIO voltage
level for Wi-Fi. Connect the jumper J2 between the 1 and 2 header pins to select the
SDIO module power source and connect the jumper J4 between the 1 and 2 header pins
for 1.8V SDIO voltage as shown in Figure 9.
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
14 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
Figure 9. AzureWave AW-CM358-uSD module header positions
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
15 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
3.4.7 AW-CM358-uSD module setup with i.MX 8M Quad
Plug AW-CM358-uSD module into the SDIO card slot of the i.MX 8M Quad board.
[ 3632.632050] mmc1: new ultra high speed SDR104 SDIO card at address
0001
Connect the antenna.
Use a Micro USB to USB cable to connect i.MX 8M Quad EVK to the host computer
running Linux OS.
Figure 10. AzureWave AZ-CM358-uSD module and i.MX 8M Quad EVK setup
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
16 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
3.5 88W8987-based AzureWave AW-CM358MA module
The AW-CM358MA module supports a SDIO device interface that conforms to the
industry SDIO Full-Speed card specification and allows a host controller using the SDIO
bus protocol to access the Wireless SoC device.
The AW-CM358MA is a Wi-Fi 5 and Bluetooth 5 combo stamp module with the M.2
adaptor board that features:
SDIO 3.0 standard
On-chip memory used for CIS
1-bit SDIO and 4-bit SDIO transfer modes
A special interrupt register for information exchange
3.5.1 Recommended antenna part
MAG.LAYERS: MSA-4008-25GC1-A2
3.5.2 Supported RF standards
Part number Wi-Fi Bluetooth
AW-CM358MA 1x1 Wi-Fi 5 (2.4/5GHz) 5.0
Table 6. AW-CM358MA supported RF standards
3.5.3 Supported Wi-Fi features
Refer to Azurewave AW-CM358SM datasheet.
3.5.4 Supported Bluetooth features
Refer to Azurewave AW-CM358SM datasheet.
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
17 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
3.5.5 AW-CM358MA module view
Figure 11. AzureWave AW-CM358MA module
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
18 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
3.5.6 Enabling SDIO on M.2 connector
The M.2 connector on AW-CM358MA wireless module supports SDIO interface for Wi-
Fi whereas the i.MX 8M Quad M.2 connector supports PCIe interface by default. This
section shows how to rework i.MX 8M Quad resistors to support SDIO on M.2 connector
for the AW-CM358MA module.
Note: The hardware rework instructions enable the SDIO support from an SD card
connector to an M.2 connector. A software change is also required to make the feature
fully functional. Please refer to Section 4.3 "Enabling uSD/M.2 88W8987-based wireless
module" to enable the SDIO on M.2 using DTB file. Please note that the SDIO on the
MicroSD card slot will be disabled after the rework.
Silkscreen of PCBA SCH-38820 / PCBA SCH-29615
Remove the following 0Ω 0402 resistors: R1603, R1617, R1618, R1619, R1620 and
R1621 (micro SD card J1601)
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
19 / 78
NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
Figure 12. MicroSD Card J1601 registers
Install the following 0Ω 0402 resistors: R1429, R1430, R1431, R1432, R1433, R1434,
R1435 and R1436 (M.2 J1401)
Figure 13. M.2 J1401 registers
UM11558 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2021. All rights reserved.
User manual Rev. 1 — 29 January 2021
20 / 78
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78

NXP 88W8987 User guide

Type
User guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI