Back to Zephyr

Overview

boards/infineon/cy8cproto_041tp/doc/index.rst

4.4.05.0 KB
Original Source

.. zephyr:board:: 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


.. zephyr:board-supported-runners::

Building

Here is an example for building the :zephyr:code-sample:hello_world sample application.

.. zephyr-app-commands:: :zephyr-app: samples/hello_world :board: cy8cproto_041tp :goals: build

Flashing

The CY8CPROTO-041TP includes an onboard programmer/debugger (KitProg3_) 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_ and the ModusToolbox Programming Tools_ 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_ 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.

.. tabs:: .. group-tab:: Windows

     .. code-block:: shell

        # 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

  .. group-tab:: Linux

     .. code-block:: shell

        # 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_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:

  • Quick Start Guide: cy8cproto_041tp Quick Start Guide_
  • User Guide: cy8cproto_041tp User Guide_
  • Product Brief: cy8cproto_041tp Product Brief_
  • Release Notes: cy8cproto_041tp Release Notes_

References


.. target-notes::

.. _cy8cproto_041tp Board Website: https://www.infineon.com/evaluation-board/CY8CPROTO-041TP

.. _cy8cproto_041tp Quick Start Guide: https://www.infineon.com/content/dam/infineon/row/public/documents/30/68/infineon-cy8cproto-041tp-qsg-gettingstarted-en.pdf

.. _cy8cproto_041tp User Guide: https://www.infineon.com/content/dam/infineon/row/public/documents/30/44/infineon-cy8cproto-041tp-ug-usermanual-en.pdf

.. _cy8cproto_041tp Product Brief: https://www.infineon.com/content/dam/infineon/row/public/documents/30/45/infineon-cy8cproto-041tp-product-brief-productbrief-en.pdf

.. _cy8cproto_041tp Release Notes: https://www.infineon.com/content/dam/infineon/row/public/documents/30/44/infineon-cy8cproto-041tp-release-notes-usermanual-en.pdf

.. _ModusToolbox: https://www.infineon.com/design-resources/development-tools/sdk/modustoolbox-software

.. _ModusToolbox Programming Tools: https://www.infineon.com/design-resources/development-tools/sdk/modustoolbox-software/modustoolbox-programming-tools

.. _Infineon OpenOCD: https://github.com/Infineon/openocd/releases/latest

.. _KitProg3: https://github.com/Infineon/KitProg3