CY8CPROTO-041TP

Overview

The PSOC™ 4100T Plus CAPSENSE™ Prototyping Kit (CY8CPROTO-041TP) enables you to evaluate and develop applications using the PSOC™ 4100T Plus microcontroller, part of Infineon’s PSOC™ 4 family. The device integrates an Arm Cortex-M0 CPU running up to 48 MHz, combining programmable analog and digital subsystems to support flexible mixed-signal designs. It features up to 128 KB Flash and 16 KB SRAM, and includes a wide range of configurable peripherals such as SAR ADC, CAPSENSE™ capacitive touch sensing, and TCPWM for timer/counter/PWM functionality.

  • 32-bit MCU subsystem

    • 48-MHz Arm® Cortex®-M0+ CPU with single-cycle multiply

    • Up to 128 KB of flash with read accelerator

    • Up to 32 KB of SRAM

    • Direct memory access (DMA)

    • Low-power 1.71 V to 5.5 V operation

    • Deep sleep mode with 6 μA always-on touch sensing

    • Active touch detection and tracking with 200 μA (average)

    • Real Time clock-SW is available

    • Power supply: 3.3 V or 5 V operation

Programming and Debugging

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

flash debug debugserver attach rtt
openocd ✅ (default) ✅ (default)

Building

Here is an example for building the Hello World sample application.

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

Flashing

The CY8CPROTO-041TP includes an onboard programmer/debugger (KitProg3 [8]) 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 [5] and the ModusToolbox Programming Tools [6] 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 [7] 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_041tp -p always samples/hello_world

west flash
west debug

Once the gdb console starts after executing the west debug command, you may now set breakpoints and perform other standard GDB debugging.

Documentation

The following documentation is available for the CY8CPROTO-041TP board:

References