background image

NXP Semiconductors

UM11558

Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS

6.2.3 Firmware dump

Firmware dump is the capability to retrieve the firmware memory from the device and

store it into a file for debugging purposes. A firmware dump can be triggerred from the 

/

proc

. The driver also dumps the firmware memory in the dmesg logs when fatal errors

such as command timeout, Tx timeout occur.
Example of command to trigger the firmware dump

evk_8mq:/ # echo "debug_dump" > /proc/mwlan/adapter0/config

Command output example

[ 9273.136909] Receive debug_dump command

[ 9273.140730] ------------mlan_debug_info-------------

[ 9273.145714] mlan_processing =0

[ 9273.148776] main_lock_flag =0

[ 9273.151756] main_process_cnt =681

[ 9273.155078] delay_task_flag =0

[ 9273.158132] mlan_rx_processing =0

[ 9273.161456] rx_pkts_queued=0

[ 9273.164343] tx_pkts_queued=0

 ….

[ 9273.472313] tx_lock_flag = 0

[ 9273.475206] port_open = 0

[ 9273.477823] scan_processing = 0

[ 9273.480978] ------------mlan_debug_info End-------------

[ 9273.486300] Driver version = SD8987---16.92.10.p80-MX4X16175-GPL-

(FP92)

[ 9273.573011] Create directory /data/dump_9273 successfully

[ 9273.580013] Directory name is /data/dump_9273

[ 9273.584383] === START DRIVER INFO DUMP===

[ 9273.584501] DRV dump data in /data/dump_9273/file_drv_info

[ 9273.594141] Wakeup device...

[ 9273.666600] wlan_interrupt: sdio_ireg = 0x40

[ 9273.670939] wlan0: 

[ 9273.670940] _

[ 9273.673040] Delay Sleep Confirm ()

[ 9273.678033] Delay Sleep Confirm ()

[ 9273.681445] Delay Sleep Confirm ()

[ 9273.722932] Drv info total bytes = 349889 (0x556c1)

[ 9273.727831] === DRIVER INFO DUMP END===

[ 9273.727888] ==== DEBUG MODE OUTPUT START: 9273.629641 ====

[ 9273.748370] DUMP_SIZE=0xf0000

[ 9273.751519] Start DUMP output 9273.653273, please wait...

[ 9294.594068] DUMP done:size = 0x129780

[ 9294.598001] Dump data file_sdio_DUMP saved in /data/dump_9273/

file_sdio_DUMP

[ 9294.608983] Dump data file_sdio_DUMP saved in /data/dump_9273/

file_sdio_DUMP successfully

[ 9294.617605] ==== DEBUG MODE OUTPUT END: 9294.519358 ====

[ 9294.622940] ==== DEBUG MODE END ====

The firmware dump files are created in the following directory:

evk_8mq:/ # ls /data/dump_XXXX/file_drv_info file_sdio_DUMP 

    

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

50 / 78

Summary of Contents for i.MX 8M Quad

Page 1: ...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 ...

Page 2: ...odules 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 ...

Page 3: ...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 ...

Page 4: ...ard 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 pr...

Page 5: ...etooth 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 gen...

Page 6: ...valuation 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 ...

Page 7: ...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 ...

Page 8: ...ot 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 provi...

Page 9: ...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 su...

Page 10: ...en 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 differ...

Page 11: ...P 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 ...

Page 12: ...he 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 r...

Page 13: ...r 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 t...

Page 14: ... 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...

Page 15: ...ess 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 ...

Page 16: ... 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 Re...

Page 17: ...r 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 Az...

Page 18: ...odules 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 ...

Page 19: ...nstructions 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 R...

Page 20: ...ure 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 21: ...ith iMX 8M Quad EVK Connect AW CM358MA module into the M 2 connector of the i MX 8M Quad board and screw Figure 14 Azurewave AW CM358MA module plugged into i MX 8M Quad bottom side M 2 connector 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 21 78 ...

Page 22: ...the antenna and use a Micro USB to USB cable to connect i MX 8M Quad EVK to the host computer running Linux OS Figure 15 Azurewave AW CM358MA module and i MX 8M Quad 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 22 78 ...

Page 23: ...A supports PCIE and high speed UART interfaces to the host processor for Wi Fi and Bluetooth Read more in AzureWave AW CM276MA PUR datasheet 3 6 1 AzureWave AW CM276MA module view Figure 16 AW CM276MA module top and bottom views 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 23 78 ...

Page 24: ...umber Wi Fi Bluetooth AW CM276MA 2x2 Wi Fi 5 2 4 GHz 5 GHz 5 0 Table 7 AW CM276MA supported RF standards 3 6 4 Supported Wi Fi features Refer to AzureWave AW CM276MA PUR datasheet 3 6 5 Supported Bluetooth features Refer to AzureWave AW CM276MA PUR 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 Janua...

Page 25: ...the images 4 1 Using the pre built image Note The 88W8997 based M 2 PCIe module AW CM276MA is used as default configuration for Android pre built image Therefore Android pre built image supports only AW CM276MA module This section describes the steps to prepare eMMC to boot up an i MX 8M Quad board using a Linux host machine The pre built image can be downloaded from the release page after selecti...

Page 26: ...xt NOTICE_VENDOR txt partition table 28GB dual img partition table 28GB img partition table dual img partition table img product img rpmb_key_test bin SCR android 10 0 0_2 5 0 txt spl imx8mq dual bin spl imx8mq trusty dual bin super img system img testkey_public_rsa4096 bin u boot imx8mq evk uuu imx u boot imx8mq imx u boot imx8mq trusty imx u boot imx8mq trusty secure unlock imx uuu_imx_android_f...

Page 27: ...and unpacking Android 10 release package Accept the agreement to download Q10 0 0_2 6 0_ANDROID_SOURCE from NXP website Run the command to unpack the Android 10 release package ubuntu ubuntu desktop tar xzvf imx android 10 0 0_2 6 0 tar gz 4 2 3 Setting up Repo utility Repo is a tool built on top of Git that makes it easier to manage projects that contain multiple repositories which do not need to...

Page 28: ...fied The code repository revision is specified with the release tag in this file The release tag should not be moved when the code is externally released so that when the imx_android_setup sh is executed the working area of the code repositories synchronized by this script are the same If i MX Android team has critical fixes on the released code another xml file is created to help the users synchr...

Page 29: ...pen and modify the SharedBoardConfig mk file to add NXP 88W8987 Wi Fi driver module support The file path is absolute path android_build device fsl imx8m evk_8mq Replace the following lines NXP 8997 wifi driver module BOARD_VENDOR_KERNEL_MODULES KERNEL_OUT drivers net wireless marvell mrvl8997 wlan_src mlan ko KERNEL_OUT drivers net wireless marvell mrvl8997 wlan_src pcie8xxx ko with NXP 8987 wifi...

Page 30: ...name pcieuart8997_combo_v4 bin with insmod vendor lib modules moal ko sta_name wlan uap_name wlan wfd_name p2p max_vir_bss 1 cfg80211_wext 0xf cal_data_cfg none fw_name sdiouart8987_combo_v0 bin Step 6 Open and modify evk_8mq mk file to add NXP 88W8987 firmware The file path is absolute path android_build device fsl imx8m evk_8mq Replace the following lines NXP 8997 Wifi and Bluetooth Combo Firmwa...

Page 31: ...TS_CONFIG imx8mq imx8mq evk pcie1 m2 dtb with TARGET_BOARD_DTS_CONFIG imx8mq imx8mq evk usd wifi dtb Note To enable the support for uSD 88W8987 based wireless modules the modification shown above is required in addition to the other modifications detailed in steps 2 to 6 in Section 4 3 1 But the modifications detailed in Section 4 3 1 and Section 4 3 2 are not required for the 88W8997 based wirele...

Page 32: ...nt to the tool ubuntu ubuntu desktop export AARCH64_GCC_CROSS_COMPILE opt gcc arm 8 3 2019 03 x86_64 aarch64 linux gnu bin aarch64 linux gnu Step 2 Change to the top level build directory ubuntu ubuntu desktop cd MY_ANDROID Step 3 Set up the environment for building This only configures the current terminal ubuntu ubuntu desktop source build envsetup sh Step 4 Execute Android lunch command with th...

Page 33: ...key_test bin installed files json spl imx8mq dual bin installed files product json spl imx8mq trusty dual bin installed files product txt super_empty img installed files ramdisk debug json super img installed files ramdisk debug txt symbols installed files ramdisk json system installed files ramdisk txt system img installed files recovery json testkey_public_rsa4096 bin installed files recovery tx...

Page 34: ...oot pin to serial download mode refer to Section 2 4 i MX 8M Quad switch settings Execute the command to download the Android 10 images into the eMMC of i MX 8M Quad EVK board MY_ANDROID out target product evk_8mq ubuntu ubuntu desktop sudo uuu_imx_android_flash sh f imx8mq a e u trusty 4 7 Booting from eMMC To boot the i MX 8M Quad EVK board from eMMC set the boot switch per the settings given in...

Page 35: ...d and screw For AW CM358 uSD connect the micro USB power supply to the module and plug it into the SDIO card slot of the i MX 8M Quad EVK board 3632 632050 mmc1 new ultra high speed SDR104 SDIO card at address 0001 4 7 3 Software package release version information The software package release version information is provided in the release notes UM11558 All information provided in this document is...

Page 36: ...is available for GNU Linux and Windows Installing scrcpy tool Use the following steps to set up scrcpy on Linux Ubuntu and access the Android 10 GUI Use a USB type C OTG cable to connect the i MX 8M Quad EVK to the PC Use the command line to install scrcpy ubuntu ubuntu desktop sudo apt update ubuntu ubuntu desktop sudo apt install snapd ubuntu ubuntu desktop sudo snap install scrcpy Launching scr...

Page 37: ...M Quad EVK board 5 1 Bring up of Wi Fi Swipe up the Home screen and look for the Settings icon Click on Settings to open the window Go to Network and internet left screenshot in Figure 18 and select Wi Fi right screenshot in Figure 18 Figure 18 Access to Wi Fi settings in Android 10 GUI UM11558 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserv...

Page 38: ...ng the white dot to the right left screenshot in Figure 19 to view the list of available networks right screenshot in Figure 19 Figure 19 Turning on Wi Fi and selecting the Wi Fi network 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 38 78 ...

Page 39: ...OS Select the network left screenshot in Figure 20 type the password and click on Connect right screenshot in Figure 20 Figure 20 Connecting to the Wi Fi network 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 39 78 ...

Page 40: ...EVK Running Android 10 OS Look for the Connected status for your Wi Fi network Figure 21 Figure 21 Successful connection to Wi Fi network 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 40 78 ...

Page 41: ...ngs icon Click on Settings to open the Settings window Go to Network and internet left screenshot in Figure 22 and select Hotspot tethering right screenshot in Figure 22 Figure 22 Access to Hotspot tethering settings in Android 10 GUI 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 41 78 ...

Page 42: ...ect Wi Fi hotspot left screenshot in Figure 23 and click on Hotspot password right screenshot in Figure 23 Figure 23 Selecting Wi Fi Hostpot and capturing the password 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 42 78 ...

Page 43: ... password left screenshot in Figure 24 and click OK Click on AP band and select the AP band left screenshot in Figure 24 Figure 24 Entering Hotspot password and selecting the AP band 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 43 78 ...

Page 44: ...uad EVK Running Android 10 OS Turn on Wi Fi Hotspot by sliding the white dot to the right Figure 25 Figure 25 Turning on Wi Fi Hotspot 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 44 78 ...

Page 45: ...ibed in Section 5 1 Bring up of Wi Fi Select Wi Fi preferences in the Wi Fi window left screenshot in Figure 26 and select Advanced right screenshot in Figure 26 Figure 26 Setting Wi Fi preferences in Android 10 GUI 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 45 78 ...

Page 46: ... to initiate the scanning of devices left screenshot in Figure 27 Select the peer device in the list right screenshot in Figure 27 Figure 27 Selecting Wi Fi Direct and the peer device 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 46 78 ...

Page 47: ...VK Running Android 10 OS Look for Connected status for the selected peer device Figure 28 Figure 28 Successful connection with Wi Fi Direct 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 47 78 ...

Page 48: ...mwlan adapter0 wlan1 info Command output example driver_name uap driver_version SD8987 w8987o V0 MXXX FP92 16 92 10 p204 MX4X16186 p4 GPL FP92 interface_name wlan1 firmware_major_version 16 92 10 media_state Disconnected mac_address 70 66 55 26 8b 6b 6 2 Driver debug logs 6 2 1 Enabling driver debug logs Use proc at run time to enable the driver debug logs evk_8mq echo drvdbg bit masks of driver d...

Page 49: ...t 16 to enable all driver logs with log level MDAT_D and provide the corresponding hexdump in dmesg logs Bit 17 MCMD_D PRINTM MCMD_D DBG_HEXDUMP MCMD_D Set bit 17 to enable all driver logs with log level MCMD_D and provide the corresponding hexdump in dmesg logs Bit 18 MEVT_D PRINTM MEVT_D DBG_HEXDUMP MEVT_D Set bit 18 to enable all driver logs with log level MEVT_D and provide the corresponding h...

Page 50: ...16 92 10 p80 MX4X16175 GPL FP92 9273 573011 Create directory data dump_9273 successfully 9273 580013 Directory name is data dump_9273 9273 584383 START DRIVER INFO DUMP 9273 584501 DRV dump data in data dump_9273 file_drv_info 9273 594141 Wakeup device 9273 666600 wlan_interrupt sdio_ireg 0x40 9273 670939 wlan0 9273 670940 _ 9273 673040 Delay Sleep Confirm 9273 678033 Delay Sleep Confirm 9273 6814...

Page 51: ...h log entry includes the following a qualifier or priority with values among VERBOSE DEBUG INFO WARNING ERROR or FATAL a tag that identifies the origin of the log the log message Logcat also works as an adb command The command line syntax is shown hereafter evk_8mq logcat options filterspecs evk_8mq logcat help UM11558 All information provided in this document is subject to legal disclaimers NXP B...

Page 52: ...r the Settings icon Click on Settings to open the window Go to Connected devices left screenshot in Figure 29 and select Pair new device right screenshot in Figure 29 Figure 29 Looking for connected devices on Android 10 GUI 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 52 78 ...

Page 53: ...id 10 OS Wait until the list of Bluetooth devices found in the vicinity is displayed Figure 30 Figure 30 List of Bluetooth devices detected in the vicinity 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 53 78 ...

Page 54: ...s up to confirm or cancel the pairing Tap on PAIR to pair the device left screenshot in Figure 31 The paired Bluetooth device shows as Active upon successful connection right screenshot in Figure 31 Figure 31 Pairing a Bluetooth device 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 54 78 ...

Page 55: ... active Bluetooth device in the Connected devices window left screenshot in Figure 32 Tap on FORGET if you want to remove the device from the list right screenshot in Figure 32 Figure 32 Disconnecting forgetting the paired Bluetooth device 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 55 78 ...

Page 56: ...f Bluetooth for guidance and pair the Bluetooth device Download the sample audio file from Sample wav download site into the computer and copy the same audio file into i MX 8M Quad board using adb push command adb push path of sample file path to copy file on i MX8M board Click on the Files icon to open Android file manager on Android 10 GUI home screen Figure 33 Figure 33 Accessing Android file m...

Page 57: ...droid 10 GUI to control audio parameters such as volume up and down and pause or play right screenshot in Figure 34 Figure 34 Selecting and playing the sample audio file 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 57 78 ...

Page 58: ...etooth device refer to Section 7 Bring up of Bluetooth Open an application from which voice call can be carried out for example Skype or WhatsApp Figure 35 is a screenshot of a voice call done using Bluetooth Hands Free Profile Figure 35 Voice call using Bluetooth hands free profile UM11558 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved U...

Page 59: ...end and or receive a file to from a remote device over Bluetooth 8 3 1 Using object push profile to send a file Click on the Files icon to open Android file manager Figure 36 Figure 36 Accessing Android file manager 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 59 78 ...

Page 60: ...uetooth device number 1 on the left screenshot in Figure 37 Tap on the Share icon on the top right side of the screen number 2 on the left screenshot in Figure 37 Figure 37 Selecting and sharing a file via Bluetooth 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 60 78 ...

Page 61: ...opens and displays the list of Bluetooth devices available for sharing Figure 38 Select the remote Bluetooth device to which you want to send the file Make sure the remote device is in pairing mode Figure 38 Selecting the remote Bluetooth device 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 61 78...

Page 62: ... request the progress of the file sending shows on the screen of Android 10 GUI left screenshot in Figure 39 The successful or unsuccessful status of the file sending is displayed at the end of the process right screenshot in Figure 39 Figure 39 File sending status UM11558 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved User manual Rev 1 2...

Page 63: ...shares a file with i MX 8M EVK connected to Bluetooth a notification about an incoming file pops up Figure 40 Tap on ACCEPT to receive the incoming file or click tap on DECLINE to interrupt the file transfer Figure 40 Incoming file notification 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 63 78 ...

Page 64: ...roid 10 OS Wait for the successful unsuccessful file transfer status Figure 41 Figure 41 File transfer status with i MX 8M EVK as slave Bluetooth device 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 64 78 ...

Page 65: ...ile manager and look for the bluetooth folder left screenshot in Figure 42 Open the bluetooth folder and look for the file that was received successfully right screenshot in Figure 42 Figure 42 Finding the received file in Bluetooth folder 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 65 78 ...

Page 66: ...ut from humans and gives output to humans Follow the steps provided in Section 7 Bring up of Bluetooth to pair a Bluetooth device Tap on the Bluetooth device on the Pair new device screen left screenshot in Figure 43 Enter the pairing code and press Return or Enter right screenshot in Figure 43 Figure 43 Pairing i MX8M EVK board with a Bluetooth device UM11558 All information provided in this docu...

Page 67: ...d in CURRENTLY CONNECTED list left screenshot in Figure 44 The right screenshot in Figure 44 shows the working operation of the Bluetooth keyboard Figure 44 Bluetooth keyboard connected to the Bluetooth device 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 67 78 ...

Page 68: ... Frontline Bluetooth Analyzer can be used for the debugging 9 1 Switching to developer mode You need to set the developer mode in Android 10 so you can enable btsnoop log Select the Settings icon on Android 10 GUI home screen Scroll down the settings and look for the About Tablet icon left screenshot in Figure 45 Look for the Build number right screenshot in Figure 45 Figure 45 Accessing the Build...

Page 69: ...roid 10 OS Tap on the Build number seven times until the notification You are now a developer pops up Figure 46 Confirmation of developer mode being set 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 69 78 ...

Page 70: ...roid 10 GUI home screen Scroll down the settings and look for the System icon left screenshot in Figure 47 On System screen select Advanced right screenshot in Figure 47 Figure 47 Accessing Advanced system settings on Android 10 GUI 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 70 78 ...

Page 71: ...n the Advanced system screen left screenshot in Section 9 2 Select Enable Bluetoth HCI snoop log right screenshot in Section 9 2 Figure 48 Accessing Bluetooth HCI snoop log developer option 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 71 78 ...

Page 72: ...ure Bluetooth packets pops up Figure 49 Figure 49 Selecting Enabled on Capture Bluetooth packets notification window Note Once Bluetooth HCI snoop log is enabled toggle the Bluetooth from ON to OFF or OFF to ON for Bluetooth snoop log to start capturing logs UM11558 All information provided in this document is subject to legal disclaimers NXP B V 2021 All rights reserved User manual Rev 1 29 Janua...

Page 73: ...tsnoop_hci log last represents the the previous HCI snoop log Use the ADB command line tool to export the files from the Android device to a local system nxp nxp adb start server nxp nxp adb pull data misc bluetooth logs btsnoop_hci log nxp nxp adb pull data misc bluetooth logs btsnoop_hci log last UM11558 All information provided in this document is subject to legal disclaimers NXP B V 2021 All r...

Page 74: ...he following links for more product details queries and support Home page www nxp com Web support nxp com support NXP community community nxp com iMX community community nxp com community imx 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 74 78 ...

Page 75: ...d Support Package BT Bluetooth DTB Device Tree Blob EVK Evaluation Kit FW Firmware HCI Host Controller Interface HIDP Human interface device profile HFP Hands free Profile OPP Object Push Profile uSD Micro SD WLAN Wireless Local Area Network WPA Wi Fi Protected Access Table 9 Acronyms and abbreviations UM11558 All information provided in this document is subject to legal disclaimers NXP B V 2021 A...

Page 76: ...ications or customer product design It is customer s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer s applications and products planned as well as for the planned application and use of customer s third party customer s Customers should provide appropriate design and operating safeguards to minimize the risks associated with their appli...

Page 77: ...ssful connection to Wi Fi network 40 Fig 22 Access to Hotspot tethering settings in Android 10 GUI 41 Fig 23 Selecting Wi Fi Hostpot and capturing the password 42 Fig 24 Entering Hotspot password and selecting the AP band 43 Fig 25 Turning on Wi Fi Hotspot 44 Fig 26 Setting Wi Fi preferences in Android 10 GUI 45 Fig 27 Selecting Wi Fi Direct and the peer device 46 Fig 28 Successful connection with...

Page 78: ...Android 10 release package 27 4 2 3 Setting up Repo utility 27 4 2 4 Creating Android 10 build environment for i MX 28 4 3 Enabling uSD M 2 88W8987 based wireless module 29 4 3 1 Enabling M 2 88W8987 based wireless module support 29 4 3 2 Enabling uSD 88W8987 based wireless module support 31 4 4 Building Android 10 image 32 4 5 Image deployment 33 4 6 Flashing Android 10 image to eMMC 34 4 7 Booti...

Reviews: