This document is intended for customers using the AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer’s Kit V3 as the host. User guide Please read the sections “Important notice” and “Warnings” at the end of this document 002-38499 Rev. *A www.infineon.com 2023-09-29...
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Table of contents Table of contents About this document ........................1 Table of contents ..........................2 Document structure ..........................4 Overview of hardware components ..................5 What’s inside the box (included in kit) ....................
Page 3
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Table of contents 7.3.4 Initialize the build..........................35 7.3.5 Custom iMX toolchain ........................36 7.3.6 Building the image ........................... 36 7.3.7 Building the kernel zImage ......................36 Building the FMAC driver from backports ....................
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Overview of hardware components Document structure Section 2, Overview of hardware components provides an overview of the various hardware components provided in the kit. Section 3, CYW43022 rework for power measurement provides the hardware rework to be done for power...
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Overview of hardware components Overview of hardware components What’s inside the box (included in kit) Host platform – iMX8M Nano Developer’s Kit V3 from Embedded Artists (see Figure •...
Page 6
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Overview of hardware components The following are the hardware components of the setup: 1. Antennas 2. AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip 3. Power ON/OFF switch 4.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 CYW43022 rework for power measurement CYW43022 rework for power measurement Note: This section explains the hardware rework to be done for power measurement. Disable JTAG and Bluetooth®...
Page 8
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 CYW43022 rework for power measurement VDDIO changes: Remove R12 0Ω resistor to measure VDDIO current (I ) individually (the red and black • VDDIO wires highlighted in Figure 4 are connected at the VDDIO pad) and connect both wires across the pad of the...
Page 9
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 CYW43022 rework for power measurement JTAG changes : Mount R228 (JTAG pulled LOW) to disable JTAG. User guide 002-38499 Rev. *A 2023-09-29...
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Wi-Fi bringup Wi-Fi bringup Wi-Fi image compatibility Connect CYW43022 to the M.2 E-key connector (J33) on the iMX8 Nano Developer’s Kit V3 board, as shown in Figure Connect the serial port of the iMX8 Nano Developer’s Kit V3 to the USB port of the laptop to make a serial connection (see...
Page 11
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Wi-Fi bringup Figure 7 Serial Access Application-PuTTy Now, power on the host. It will show kernel logs on the terminal and will prompt you to add a username and password for login.
CYW43022.zip release package in the host platform. 3. Navigate to the CYW43022/Wi-Fi directory. Note: If you have a pre-flashed host from Infineon Technologies, the firmware files are already present in the /lib/firmware/cypress directory. If not and you flash the image using the Flashing the pre-build...
WEP, WPA, WPA2, WPA3 (IEEE 802.11i), and WPA-EAP. It implements the key negotiation with an authenticator and controls the roaming and association of STA devices. The wpa_supplicant version 2.10 or above with Infineon patches is required. /etc/wpa_supplicant.conf is the default path for the WPA supplicant configuration file.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Wi-Fi bringup 4.3.2 Using wpa_cli 1. Use the following command to initialize wpa_cli: root@imx8mnea-ucom:~/CYW43022/Wi-Fi# ./wpa_cli This command can be used to interact with wpa_supplicant. It can be used to query current status, change configuration, trigger events, and request interactive user input.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Wi-Fi bringup 4.3.3 Using wpa_supplicant configuration Use one of the following sample contents depending on the required security in the conf file available at etc/wpa_supplicant.conf: # WPA Supplicant with open networksecurity configuration.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Wi-Fi bringup ace=1p2p_device=1 update_config=1 device_name=EA-iMX8-LINUX config_methods=virtual_push_button physical_display keyboard interworking=1 sae_pwe=2 sae_groups=19 network={ ssid="ifx-wpa3" scan_ssid=1 ieee80211w=2 key_mgmt=SAE proto=RSN pairwise=CCMP sae_password="password" Configuring CYW43022 in Deep Sleep mode Wi-Fi or IoT devices should remain associated with an access point (AP) and need to consume less power.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Wi-Fi bringup 4.4.2 Set up current measurement 1. Power OFF the iMX8 Nano Developer Kit V3 board before making the series connections. 2. For VBAT (3.3 V), do the following (see Figure 11): a) Connect J4 of the reworked CYW43022 board in series with the power monitor.
Page 18
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Wi-Fi bringup SLEEP DEEP SLEEP SLEEP DEEP SLEEP TIME Figure 9 Waveform of the CYW43022 chip entering the Deep Sleep mode Figure 9 shows the waveform of Ivbat and Ivddio transitioning from the Sleep state to the Deep Sleep state. User guide 002-38499 Rev.
Page 19
81.582 µA 76.227 µA DTIM 10 55.912 µA 78.726 µA 54.907 µA 22.048 µA Note: Table 1 lists the sample of the current consumption tested in an Infineon development environment; actual results may vary. User guide 002-38499 Rev. *A 2023-09-29...
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Bluetooth® bringup Bluetooth® bringup Bring up AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip for Bluetooth® Verify whether the BT_REG_ON pin is configured properly using the following command (see Figure 11): Figure 11...
5.2.2 AIROC™ BTSTACK AIROC™ BTSTACK is optimized to work with Infineon controllers. It implements the WICED Bluetooth® APIs and supports Bluetooth® BR/EDR and Bluetooth® LE core protocols. AIROC™ BTSTACK is built with two variants: Bluetooth® LE only and Dual-Mode. The Bluetooth® LE library has APIs that only support Bluetooth® LE features, while the Dual-Mode library supports both Bluetooth®...
Send and receive command to and from the Bluetooth® chip to test few Bluetooth® features during • manufacturing. Test the RF performance of the Infineon Bluetooth® classic and Bluetooth® Low Energy devices. MBT sends • an HCI command to the device and then waits for HCI complete events.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Bluetooth® bringup 3. Copy the Bluetooth® firmware patch file from the release package (CYW43022/BT/FW/CYW43012C1_wlbga_iPA_dLNA.hcd) to the CYW43022/BT/mbt/cyw43022/scripts_for_imx8 directory and rename it to “FW.hcd”. 4. Navigate to the /home/ifx/scripts_for_imx8 directory. 5.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Bluetooth® bringup For example, you can use the following Bluetooth® firmware file for dLNA configuration: CYW43022/BT/FW/CYW43012C1_wlbga_iPA_dLNA.hcd. BlueZ support 1. Download the Bluetooth® firmware patch file. For more details, see the Programing Bluetooth®...
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip security AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip security Overview The value of IoT devices is based on being smart, connected, and increasingly secure. Many applications demand secure processing elements and secure connections to the cloud.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip security 4. BT SMEM: In compatibility mode, ARMCM4 in the Bluetooth® subsystem can directly access SoCs of the WLAN subsystem, while in secure mode, this shared interface is read or write disabled.
Page 29
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip security The following are the steps involved in the firmware validation: 1. The hash is calculated from the root public key that is available in the TRX Header. If this hash of the root public key matches “Hashed Public Key”...
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip security Root of Trust (RoT) and bootloader flow (Bluetooth®) RoT is the anchor for all security, and it requires HW support. The Cortex®-M4 core in the Bluetooth® subsystem and the Cortex®-M3 core in the Wi-Fi subsystem provide the necessary encryption services and isolation between system components.
This will download uuu_imx8mn_ucom_5.15.32.zip. 2. Unzip the uuu_imx8mn_ucom_5.15.32.zip image package. 3. Contact the local Infineon FAE or sales representative to get the CYW43022.zip release package. 4. Unzip the CYW43022.zip release package. 5. Copy the image file and imx8mn-ea-ucom-kit_v3_ifx_inband.dtb available in the CYW43022 package folder to uuu_imx8mn_ucom_5.15.32\files.
Page 32
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Appendix Figure 24 uuu -lsusb command Note: If the board already has the Linux 5.15.32 kernel, skip step 12 and proceed to step 13. 10.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Appendix 17. Enter the following command to save the changes: u-boot=> saveenv 18. Enter the following command to confirm the changes: u-boot=> printenv fdt_file 19.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Appendix 7.3.3 Download Yocto recipes The Yocto project consists of many recipes used when building an image. These recipes come from several repositories; the repo tool is used to download these repositories. A branch must be selected of the ea-yocto- base repository.
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Appendix 7.3.5 Custom iMX toolchain 1. Build an image to create the toolchain. See the following example: bitbake meta-toolchain This creates a file build-imx8mnea-ucom-xwayland/tmp/deploy/sdk. Go to the cd build-imx8mnea-ucom- xwayland/tmp/deploy/sdk location to install the toolchain.
Nano Developer Kit V3 Appendix Building the FMAC driver from backports 1. Contact a local Infineon FAE or sales representative to get the CYW43022.zip release package. 2. Build the FMAC driver using the following commands: cd ea-bsp/kernel/linux-imx $ copy the fmac zip file to the machine $ unzip cypress-fmac-*.zip...
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Appendix 7.4.1 Debugging the FMAC driver 1. Enable the debug feature in backports source code. Enable CPTCFG_BRCMDBG and CONFIG_DEBUG_FS in the following brcmfmac file: $ vi defconfigs/brcmfmac Add the following lines to the brcmfmac file: $ CPTCFG_BACKPORTED_DEBUG_INFO=y...
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Glossary Glossary Access Point Local Area Network Multimedia card On the Go SDIO Secure Digital Input Output Station Ultra-low-power Universal Serial Bus Universal update utility Wired Equivalent Privacy WLAN Wireless Local Area Network...
Getting started with AIROC™ CYW43022 Wi-Fi & Bluetooth® combo chip on iMX8 Nano Developer Kit V3 Revision history Revision history Document Date Description of changes revision 2023-09-04 Initial release. 2023-09-29 Added the CYW43022 rework for power measurement section. User guide 002-38499 Rev.
All referenced product or service names and trademarks are the property of their respective owners. The Bluetooth® word mark and logos are registered trademarks owned by Bluetooth SIG, Inc., and any use of such marks by Infineon is under license.