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.
cy8cproto_063_ble/cyble_416045_02
target
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 DMA node1 |
|
Flash controller |
on-chip |
Infineon CAT1 flash controller1 |
|
GPIO & Headers |
on-chip |
Infineon CAT1 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 SRAM description1 |
|
Timer |
on-chip |
ARMv7-M System Tick1 |
|
Watchdog |
on-chip |
Infineon CAT1 Watchdog1 |
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 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# Run west config once to set permanent CMake argument west config build.cmake-args -- -DOPENOCD=path/to/infineon/openocd/bin/openocd # Do a pristine build once after setting CMake argument west build -b cy8cproto_063_ble -p always samples/basic/blinky west flash west debug