PSOC™ 6 AI Evaluation Kit

Overview

The CY8CKIT-062S2-AI is a PSOC™ 6 AI Evaluation Kit featuring the CY8C624ABZI-S2D44 dual-core microcontroller with an Arm® Cortex®-M4 and a Cortex®-M0+, up to 2 MB flash, and 1 MB SRAM. It is designed for AI/ML edge applications with a rich set of onboard sensors.

Key highlights include a Murata 1YN module (AIROC™ CYW43439) providing Wi-Fi 4 (802.11n) and Bluetooth® 5.2 connectivity, a 512-Mb QSPI NOR flash, microSD card slot, full-speed USB, and I2C interfaces.

Onboard sensors include a DPS368 pressure sensor, BGT60TR13C radar, BMI270 6-axis IMU, BMM350 magnetometer, and a PDM-PCM microphone.

The board includes an onboard KitProg3 programmer/debugger with USB Micro-B connectivity.

Hardware

  • SoC: PSOC™ 62 (CY8C624ABZI-S2D44)

  • CPU: Dual — Arm® Cortex®-M4 + Cortex®-M0+

  • Flash: Up to 2 MB

  • SRAM: 1 MB

  • Wireless: Murata 1YN (AIROC™ CYW43439) — Wi-Fi 4 + Bluetooth® 5.2

  • Storage: 512-Mb QSPI NOR flash, microSD slot

  • Sensors: DPS368 barometric pressure, BGT60TR13C 60 GHz radar, BMI270 IMU, BMM350 magnetometer, PDM-PCM mic

  • USB: Full-speed USB host and device

  • Debug: Onboard KitProg3 (SWD + UART bridge)

  • Power: USB powered (3.3 V operating)

  • Connector: USB Micro-B for programming and power

  • User I/O: Two user LEDs, one push button

For more information about the PSOC™ 62 and CY8CKIT-062S2-AI:

Kit Contents

  • PSOC™ 6 AI Evaluation Kit board

Note

USB cable is not included with this kit.

Supported Features

The cy8ckit_062s2_ai board supports the hardware features listed below.

on-chip / on-board
Feature integrated in the SoC / present on the board.
2 / 2
Number of instances that are enabled / disabled.
Click on the label to see the first instance of this feature in the board/SoC DTS files.
vnd,foo
Compatible string for the Devicetree binding matching the feature.
Click on the link to view the binding documentation.

Connections and IOs

LEDs

Name

GPIO Pin

LED0

P5.3 (active high)

LED1

P5.4 (active high)

Push Buttons

Name

GPIO Pin

SW0

P5.2 (active low)

Default Zephyr Peripheral Mapping

Pin

Function

Usage

P5.1

SCB5 UART TX

Console TX

P5.0

SCB5 UART RX

Console RX

P10.1

SCB1 UART TX

Alt UART TX

P10.0

SCB1 UART RX

Alt UART RX

P5.3

GPIO

LED0

P5.4

GPIO

LED1

P5.2

GPIO

Button SW0

System Clock

The PSOC™ 62 uses the Internal Main Oscillator (IMO) as the default system clock source. The clock path is:

  • IMO (Internal Main Oscillator): 8 MHz

  • FLL: IMO → 100 MHz

  • PLL: IMO → 48 MHz

  • CLK_HF0: 100 MHz (system clock)

Serial Port

The PSOC™ 62 has multiple SCB (Serial Communication Block) interfaces that can be configured as UART, SPI, or I2C. The Zephyr console output is assigned to SCB5 (uart5), which is routed through the KitProg3 USB-UART bridge.

Default communication settings are 115200 8N1.

Prerequisites

Fetch Binary Blobs

The cy8ckit_062s2_ai board requires binary blobs (CM0+ prebuilt sleep image). Run the following command to fetch them:

west blobs fetch hal_infineon

Building

Here is an example for the Hello World application.

# From the root of the zephyr repository
west build -b cy8ckit_062s2_ai samples/hello_world

Programming and Debugging

The cy8ckit_062s2_ai board supports the runners and associated west commands listed below.

flash debug

The CY8CKIT-062S2-AI includes an onboard programmer/debugger (KitProg3) which can be used to program and debug the PSOC™ 62 Cortex-M4 core.

Infineon OpenOCD Installation

The ModusToolbox™ Programming Tools package includes Infineon OpenOCD. Alternatively, a standalone installation can be done by downloading the Infineon OpenOCD release for your system and extracting the files to a location of your choice.

Note

Linux requires device access rights to be set up for KitProg3. This is handled automatically by the ModusToolbox™ Programming Tools installation. When doing a standalone OpenOCD installation, this can be done manually by executing the script openocd/udev_rules/install_rules.sh.

Configuring a Console

Connect a USB cable from your PC to the KitProg3 USB Micro-B connector (J1) on the CY8CKIT-062S2-AI.Use the serial terminal of your choice (minicom, PuTTY, etc.) with the following settings:

  • Speed: 115200

  • Data: 8 bits

  • Parity: None

  • Stop bits: 1

Flashing

One time, set the Infineon OpenOCD path:

west config build.cmake-args -- "-DOPENOCD=path/to/infineon/openocd/bin/openocd.exe"

Build and flash the application:

west build -b cy8ckit_062s2_ai -p always samples/hello_world
west flash

Alternatively, pyOCD can be used to flash the board using the --runner (or -r) option:

west flash --runner pyocd

You should see the following message on the console:

*** Booting Zephyr OS build vX.Y.Z ***
Hello World! cy8ckit_062s2_ai

Debugging

# From the root of the zephyr repository
west build -b cy8ckit_062s2_ai samples/hello_world
west debug

Once the GDB console starts, you may set breakpoints and perform standard GDB debugging on the PSOC™ 62 Cortex-M4 core.

References