CY8CPROTO-063-BLE
Overview
The CY8CPROTO-063-BLE is a PSOC™ 6 BLE Prototyping Kit featuring the CYBLE-416045-02 EZ-BLE module with a PSOC™ 63 dual-core microcontroller (Arm® Cortex®-M4 + Cortex®-M0+) and integrated BLE 5.0 with an on-module trace antenna. It is designed for low-power Bluetooth applications.
Key highlights include up to 36 GPIOs, CAPSENSE™ touch-sensing, PDM-PCM digital microphone interface, Quad-SPI, ADC, and comparators.
The kit features a snap-away form-factor allowing the user to separate components for independent use.
The board includes an onboard KitProg3 programmer/debugger with USB Micro-B connectivity.
Hardware
SoC: PSOC™ 63 with BLE (CYBLE-416045-02 EZ-BLE module)
CPU: Dual — Arm® Cortex®-M4 + Cortex®-M0+
Wireless: BLE 5.0 (on-module trace antenna)
GPIOs: Up to 36
Touch: CAPSENSE™
Peripherals: PDM-PCM, Quad-SPI, ADC, comparators
Debug: Onboard KitProg3 (SWD + UART bridge)
Power: USB powered (3.3 V operating)
Connector: USB Micro-B for programming and power
Form factor: Snap-away
For more information about the PSOC™ 63 and CY8CPROTO-063-BLE:
Kit Contents
PSOC™ 6 BLE Prototyping Kit board
USB Type-A to Micro-B cable
Quick start guide
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.
cy8cproto_063_ble/cyble_416045_02 target
On-target memory for this board target: 288 KiB of RAM, 1 MiB of Flash.
Type |
Location |
Description |
Compatible |
|---|---|---|---|
CPU |
on-chip |
ARM Cortex-M0+ CPU1 |
|
on-chip |
ARM Cortex-M4F CPU1 |
||
ADC |
on-chip |
Infineon Cat1 ADC Each ADC group Cat1 is assigned to a Zephyr device1 |
|
ARM architecture |
on-chip |
Infineon Serial Communication Blocks (SCB) node8 |
|
Bluetooth |
on-chip |
Bluetooth module that uses Infineon’s Host Controller Interface1 |
|
Clock control |
on-chip |
||
on-chip |
|||
Counter |
on-chip |
Infineon counters32 |
|
DMA |
on-chip |
Infineon CAT1 DMA1 |
|
Flash controller |
on-chip |
Infineon CAT1 flash controller1 |
|
GPIO & Headers |
on-chip |
Infineon GPIO Port7 |
|
Input |
on-board |
Group of GPIO-bound input keys1 |
|
Interrupt controller |
on-chip |
ARMv7-M NVIC (Nested Vectored Interrupt Controller)1 |
|
LED |
on-board |
Group of GPIO-controlled LEDs1 |
|
MTD |
on-chip |
Flash node2 |
|
Pin control |
on-chip |
Infineon CAT1 Pinctrl Container1 |
|
SDHC |
on-chip |
Infineon CAT1 SDHC/SDIO controller1 |
|
Serial controller |
on-chip |
Infineon CAT1 UART1 |
|
SRAM |
on-chip |
Generic on-chip SRAM1 |
|
Timer |
on-chip |
ARMv7-M System Tick1 |
|
Watchdog |
on-chip |
Infineon CAT1 Watchdog1 |
Connections and IOs
LEDs
Name |
GPIO Pin |
|---|---|
LED0 |
P6.3 (active low) |
Default Zephyr Peripheral Mapping
Pin |
Function |
Usage |
|---|---|---|
P5.1 |
SCB5 UART TX |
Console TX |
P5.0 |
SCB5 UART RX |
Console RX |
P6.3 |
GPIO |
LED0 |
P0.4 |
GPIO |
Button SW0 |
System Clock
The PSOC™ 63 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™ 63 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 cy8cproto_063_ble board requires binary blobs (Bluetooth controller
firmware, CM0+ prebuilt images). 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 cy8cproto_063_ble samples/hello_world
Programming and Debugging
The cy8cproto_063_ble board supports the runners and associated west commands listed below.
| flash | debug | rtt | debugserver | attach | |
|---|---|---|---|---|---|
| openocd | ✅ (default) | ✅ (default) | ✅ | ✅ | ✅ |
| pyocd | ✅ | ✅ | ✅ | ✅ | ✅ |
The CY8CPROTO-063-BLE includes an onboard programmer/debugger (KitProg3) which can be used to program and debug the PSOC™ 63 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 (J8) on the CY8CPROTO-063-BLE.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 cy8cproto_063_ble -p always samples/hello_world
west flash
One time, set the Infineon OpenOCD path:
west config build.cmake-args -- -DOPENOCD=path/to/infineon/openocd/bin/openocd
Build and flash the application:
west build -b cy8cproto_063_ble -p always samples/hello_world
west flash
You should see the following message on the console:
*** Booting Zephyr OS build vX.Y.Z ***
Hello World! cy8cproto_063_ble
Debugging
# From the root of the zephyr repository
west build -b cy8cproto_063_ble samples/hello_world
west debug
Once the GDB console starts, you may set breakpoints and perform standard GDB debugging on the PSOC™ 63 Cortex-M4 core.