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.

cy8ckit_062s2_ai/cy8c624abzi_s2d44 target

On-target memory for this board target: 1 MiB of RAM, 2 MiB of Flash.

Type

Location

Description

Compatible

CPU

on-chip

ARM Cortex-M0+ CPU1

arm,cortex-m0+

on-chip

ARM Cortex-M4F CPU1

arm,cortex-m4f

ADC

on-chip

Infineon Cat1 ADC Each ADC group Cat1 is assigned to a Zephyr device1

infineon,adc

ARM architecture

on-chip

Infineon Serial Communication Blocks (SCB) node10

infineon,scb

Clock control

on-chip

Generic fixed-rate clock provider21

fixed-clock

on-chip

Generic fixed factor clock provider67

fixed-factor-clock

Counter

on-chip

Infineon counters32

infineon,counter

DMA

on-chip

Infineon CAT1 DMA2

infineon,dma

Flash controller

on-chip

Infineon CAT1 flash controller1

infineon,flash-controller

GPIO & Headers

on-chip

Infineon GPIO Port213

infineon,gpio

I2C

on-chip

Infineon CAT1 I2C driver1

infineon,i2c

Input

on-board

Group of GPIO-bound input keys1

gpio-keys

Interrupt controller

on-chip

ARMv7-M NVIC (Nested Vectored Interrupt Controller)1

arm,v7m-nvic

LED

on-board

Group of GPIO-controlled LEDs1

gpio-leds

MTD

on-chip

Flash node2

soc-nv-flash

Pin control

on-chip

Infineon CAT1 Pinctrl Container1

infineon,pinctrl

SDHC

on-chip

Infineon CAT1 SDHC/SDIO controller1

infineon,sdhc-sdio

Sensors

on-board

Infineon DPS310 temperature and pressure sensor1

infineon,dps310

on-board

The BMI270 is an inertial measurement unit1

bosch,bmi270

Serial controller

on-chip

Infineon CAT1 UART2

infineon,uart

SRAM

on-chip

Generic on-chip SRAM1

mmio-sram

Timer

on-chip

ARMv7-M System Tick1

arm,armv7m-systick

Watchdog

on-chip

Infineon CAT1 Watchdog1

infineon,watchdog

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 rtt debugserver attach
openocd ✅ (default) ✅ (default)
pyocd

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