This document is intended for customers and FAEs using the AIROC™ CYW89570 Wi-Fi chip for an Android device as host. Note: Wi-Fi glossary for terms and acronyms used in this document. User guide Please read the sections “Important notice” and “Warnings” at the end of this document 002-39210 Rev. ** www.infineon.com 2023-12-17...
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Table of contents Table of contents About this document ........................1 Table of contents ..........................2 Introduction .......................... 3 Overview of hardware components ..................4 Host – VIM3 .............................. 4 AIROC™...
This guide provides step-by-step instructions to build and flash VIM3 board with Android 13, to build and load the Infineon WLAN driver and configuring chip in STA or AP role to establish a Wi-Fi connection between the STA and the AP.
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Overview of hardware components Overview of hardware components Host – VIM3 The VIM3 SBC is the latest addition from the Khadas VIM series. It uses the Amlogic A311D SoC. It has a variety of interfaces with an M.2 slot for NVMe SSDs that can switch between PCIe and USB 3.0 via Khadas KBI commands.
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Overview of hardware components AIROC™ CYW89570 Wi-Fi chip Table 1 lists the AIROC™ Wi-Fi chip and its packages. Table 1 Packaging name and corresponding chip MPN Packaging name Chips MPN Flip chip ball ground array (FCBGA) CYW989570PCM2FCIPA, CYW989570SDM2FCIPA Figure 2...
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Overview of hardware components Adapters 2.3.1 CYW9M2ME2PCIEAD M.2 Key-M, Key-E to PCIe x1 slot adapter board. This converts the M.2 Key-M to M.2 Key-E. Figure 4 CYW9M2ME2PCIEAD revision 1.0 2.3.2 CYW9EMLFF3 CYW9EMLFF3 (also called as LFF3 adaptor) board is used for PCIe based chips.
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Overview of hardware components 2.3.3 CYW9M2AD60P-PCIe Adapter for M.2 socket to 60pins connector. Figure 6 CYW9M2AD60P-PCIe Hardware connections Figure 7 illustrates how the hardware components described above are connected with each other: 1.
Country Locale Matrix (CLM) is the Infineon dmaintained database that represents the regulatory configuration (target power outputs) of Wi-Fi modules to countries, bands, data rates, and channels. While loading the DHD driver, the clm_blob file is loaded.
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Host bringup Host bringup Serial console setup VIM3 setup to set up the serial console for VIM3. Use the same USB to TTL adapter that used for Hikey960. Figure 8 Serial console Setup Environment setup for Android build For building Android, an Ubuntu 14.04 or 16.04 setup is recommended.
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Host bringup Kernel 5.15 download and build Use the Hikey Linaro’s 5.15 kernel provided by Android, to download the source code and build the kernel. Do the following: mkdir kernel5.15; cd kernel5.15 git clone https://android.googlesource.com/kernel/hikey-linaro -b android-amlogic- bmeson-5.15 3.
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Host bringup 4.5.3 Build Android images Run the following commands to build Android Image. The build can take around 30 minutes to 9 hours depending on the machine’s capacity. source ./build/envsetup.sh lunch yukawa-userdebug make TARGET_USE_TABLET_LAUNCHER=true TARGET_VIM3=true TARGET_KERNEL_USE=5.15 -j64...
Page 12
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Host bringup 7. Unplug the USB cable and plug in again. cd ../../../.. cd out/target/product/yukawa fastboot flash boot boot.img fastboot flash super super.img fastboot flash cache cache.img fastboot flash userdata userdata.img fastboot flash recovery recovery.img fastboot flash dtbo dtbo-unsigned.img fastboot reboot...
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Wi-Fi bringup Wi-Fi bringup PCIe card detection Run the following command, to check the chip ID detected on the PCIe bus: vim3:/ # cat /sys/bus/pci/devices/0000\:01\:00.0/device 0xbd31 Driver compilation To compile the driver, cross compile it on your Ubuntu machine where the kernel is built. Copy the bcmdhd source code onto the Ubuntu machine.
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Wi-Fi bringup Load the driver and firmware and start STA/AP 5.3.1 Push driver and firmware Before loading the driver make sure to push the driver and firmware files onto the VIM3 board inside the vendor/firmware and /vendor/lib/modules folder with adb push user@hostname:~$ adb root...
Page 15
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Wi-Fi bringup You can see output in to see the interfaces: ifconfig adb shell vim3:/ # ifconfig Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope: Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0...
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Wi-Fi bringup 5.3.2.2 Starting AP For creating SoftAP, go to Settings > Network & Internet > Hotspot and Tethering > Wi-Fi Hotspot; and toggle it ON. Figure 10 Wi-Fi hotspot You can see output in to see the interfaces:...
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Wi-Fi bringup inet addr:192.168.0.111 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::9c49:5dff:fed8:391d/64 Scope: Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:29 errors:0 dropped:238 overruns:0 frame:0 TX packets:36 errors:0 dropped:2 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2694 TX bytes:3198 wlan1 Link encap:Ethernet...
Page 18
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Wi-Fi bringup -b <bssid> - Set specific BSSID. -r auto|none|persistent|non_persistent - MAC randomization scheme for the network Execute the following commands to bring up STA and connect to any AP. See the following example of connect- network command: vim3:/ # svc wifi enable vim3:/ # cmd wifi connect-network cae_open_5g open...
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Wi-Fi bringup 96Mbps, Rx Link speed: -1Mbps, Max Supported Rx Link speed: 96Mbps, Frequency: 5180MHz, Net ID: -1, Metered hint: false, score: 53, isUsable: true, Ca rrierMerged: false, SubscriptionId: -1, IsPrimary: 1, Trusted: true, Restricted: false, Ephemeral: false, OEM paid: false, OEM private: false, OSU AP: false, FQDN: <none>, Provider friendly name: <none>, Requesting package name: <none><none>MLO Information: , AP MLD Address: <none>, AP MLO Link Id:...
Page 20
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Wi-Fi bringup start-lohs <ssid> (open|wpa2|wpa3|wpa3_transition|owe|owe_transition) <passphrase> [-b 2|5|6|any] Start local only softap (hotspot) with provided params <ssid> - SSID of the network open|wpa2|wpa3|wpa3_transition|owe|owe_transition - Security type of the network. - Use 'open', 'owe', 'owe_transition' for networks with no passphrase - Use 'wpa2', 'wpa3', 'wpa3_transition' for networks with passphrase...
Getting started with AIROC™ CYW89570 Wi-Fi chip in Android 13 Revision history Revision history Document Date Description of changes revision 2023-12-17 Initial release. User guide 002-39210 Rev. ** 2023-12-17...
All referenced product or service names and trademarks are the property of their respective owners. Warnings Due to technical requirements products may contain Edition 2023-12-17 dangerous substances. For information on the types in question please contact your nearest Infineon Published by Technologies office. Except as otherwise explicitly approved by Infineon Infineon Technologies AG...
Need help?
Do you have a question about the AIROC CYW89570 and is the answer not in the manual?
Questions and answers