CY8CPROTO-063-BLE

Overview

The PSOC 6 BLE Proto Kit (CY8CPROTO-063-BLE) is a hardware platform that enables design and debug of the Cypress PSOC 63 BLE MCU.

Hardware

For more information about the PSOC 63 BLE MCU SoC and CY8CPROTO-063-BLE board:

Supported Features

The cy8cproto_063_ble 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.

System Clock

The PSOC 63 BLE MCU SoC is configured to use the internal IMO+FLL as a source for the system clock. CM0+ works at 50MHz, CM4 - at 100MHz. Other sources for the system clock are provided in the SOC, depending on your system requirements.

Fetch Binary Blobs

cy8cproto_063_ble board requires fetch binary files (e.g Bluetooth controller firmware, CM0p prebuilt images, etc).

To fetch Binary Blobs:

west blobs fetch hal_infineon

Build blinking led sample

Here is an example for building the Blinky sample application.

# From the root of the zephyr repository
west build -b cy8cproto_063_ble samples/basic/blinky

Programming and Debugging

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

flash debug

The CY8CPROTO-063-BLE includes an onboard programmer/debugger (KitProg3 [11]) to provide debugging, flash programming, and serial communication over USB. Flash and debug commands use OpenOCD and require a custom Infineon OpenOCD version, that supports KitProg3, to be installed.

Infineon OpenOCD Installation

Both the full ModusToolbox [8] and the ModusToolbox Programming Tools [9] packages include Infineon OpenOCD. Installing either of these packages will also install Infineon OpenOCD. If neither package is installed, a minimal installation can be done by downloading the Infineon OpenOCD [10] release for your system and manually extract 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 and ModusToolbox Programming Tools installations. When doing a minimal installation, this can be done manually by executing the script openocd/udev_rules/install_rules.sh.

West Commands

The path to the installed Infineon OpenOCD executable must be available to the west tool commands. There are multiple ways of doing this. The example below uses a permanent CMake argument to set the CMake variable OPENOCD.

# Run west config once to set permanent CMake argument
west config build.cmake-args -- -DOPENOCD=path/to/infineon/openocd/bin/openocd.exe

# Do a pristine build once after setting CMake argument
west build -b cy8cproto_063_ble -p always samples/basic/blinky

west flash
west debug

References