Example

Description

PSOC Edge Basic Secure App

This code example guides the user to sign a basic application (proj_cm33_s) and enable "secure boot" in Extended Boot. With "secure boot" enabled, Extended Boot ensures that the application is validated before being launched.This example can also be utilized with the Edge Protect Bootloader code exampleFor more details, see the

README on GitHub

.

PSOC Edge Basic TF-M

This is a basic code example for getting started with Trusted Firmware-M (TF-M) on Infineon's PSOC™ Edge MCU. The example demonstrates how to initialize the TF-M NS interface in CM33 NS project and use the services offered by TF-M with PSA APIs. The code example is designed to work on Edge Protect Category 2 (EPC2) MCU.For more details, see the

README on GitHub

.

PSOC Edge Basic TF-M

This is a basic code example for getting started with Trusted Firmware-M (TF-M) on Infineon's PSOC™ Edge MCU. The example demonstrates how to initialize the TF-M NS interface in CM33 NS project and use the services offered by TF-M with PSA APIs. The code example is designed to work on Edge Protect Category 4 (EPC4) MCU.For more details, see the

README on GitHub

.

PSOC Edge BTstack OTA

This code example demonstrates an over-the-air (OTA) firmware update via a Bluetooth® interface using the Arm® Cortex® M33 CPU on Infineon's PSOC™ Edge MCU coupled with AIROC™ CYW55513 in the ModusToolbox™ environment.For more details, see the

README on GitHub

.

PSOC Edge CM33 RAM App

This code example demonstrates how to use the Alternate Serial Interface (ASF) capabilities of Extended boot to load and execute a CM33 RAM application from SRAM in SPE(Secure Processing Environment). The application also performs a read and write operation on RRAM and external flash memory.For more details, see the

README on GitHub

.

PSOC Edge cryptography AES demonstration

This code example encrypts and decrypts user input data using the AES algorithm with a 128-bit key. The encrypted and decrypted data is displayed on the UART terminal emulator.For more details, see the

README on GitHub

.

PSOC Edge cryptography SHA-256 demonstration

This code example demonstrates how to generate a 32-byte hash value or message digest for an arbitrary user input message with the SHA-256 algorithm using the cryptographic hardware block in PSOC™ Edge MCU. This code example further demonstrates any change in the message results in a unique hash value for the message. The hash value generated for the message is displayed on the UART terminal emulator.For more details, see the

README on GitHub

.

PSOC Edge DFU User-defined Commands

This code example demonstrates how Infineon's Device Firmware Update Middleware (DFU) can be utilized to send DFU user-defined commands over a serial interface, such as UART, SPI, or I2C. Host (typically a PC) running the DFU Host Tool establishes a connection with the target device and sends series of user-defined commands to the device. Once the application receives the command, if command belongs to the range of user-defined commands, DFU MW calls the user-defined command handler registered by the application.For more details, see the

README on GitHub

.

PSOC Edge Encrypted boot

This code example demonstrates image encryption, execution, and updates using EdgeProtect bootloader. It showcases a secure workflow for protecting external memory using encryption capabilities of Infineon's PSOC™ Edge MCU.For more details, see the

README on GitHub

.

PSOC Edge MBEDTLS PSA Crypto

This code example shows how to use PSA APIs from mbedtls library for cryptographic operations on PSOC™ Edge MCU.For more details, see the

README on GitHub

.

PSOC Edge MCU OTW Update

This code example demonstrates how Infineon's Device Firmware Update Middleware (DFU) can be utilized to update firmware over a serial interface, such as UART, SPI, or I2C. Host (typically a PC) running the DFU Host Tool establishes a connection with the target device and downloads an application intended for the update to the staging region. Once the application is successfully downloaded, application resets the device to transfers the control to the bootloader. This example allows for easy switching between I2C, UART, or SPI interfaces while application is running, without requiring the device to be power cycled.For more details, see the

README on GitHub

.

PSOC Edge OTA Wi-Fi HTTPS

This code example demonstrates the firmware update of user application over-the-air (OTA) via the Wi-Fi interface using HTTPS/HTTP protocol, using Arm® Cortex®-M33 CPU on PSOC™ Edge MCU coupled with AIROC™ CYW55513 Wi-Fi & Bluetooth® combo chip in ModusToolbox™.For more details, see the

README on GitHub

.

PSOC Edge OTA Wi-Fi MQTT

This code example demonstrates the firmware update of user application over-the-air (OTA) via the Wi-Fi interface using MQTT protocol, using Arm® Cortex® M33 CPU on PSOC™ Edge MCU coupled with AIROC™ CYW55513 in ModusToolbox™ environment.For more details, see the

README on GitHub

.

PSOC Edge Power Management with TF-M

This code example guides you through getting started with Power management with Trusted Firmware-M (TF-M) and FreeRTOS on PSOC™ Edge MCU. The example demonstrates how to initialize the TF-M NS interface in CM33 NS project and use the services offered by TF-M with PSA APIs. The code example is designed to work on Edge Protect Category 2 (EPC2) MCU.For more details, see the

README on GitHub

.

PSOC Edge Power Management with TF-M

This code example guides you through getting started with Power management with Trusted Firmware-M (TF-M) and FreeRTOS on Infineon's PSOC™ Edge MCU. The example demonstrates how to create custom partition, initialize the TF-M NS interface in CM33 NS project and use the services offered by TF-M with PSA APIs. The code example is designed to work on Edge Protect Category 4 (EPC4) MCU.For more details, see the

README on GitHub

.

PSOC Edge Protect Bootloader

This is Edge Protect Bootloader code example for PSOC™ Edge MCU.

PSOC Edge Secure Non-secure GPIO

This code example illustrates how to configure GPIOs as Secure and Non-secure for PSOC™ Edge MCU devices. Additionally, it showcases the registration of secure and non-secure GPIO interrupts, along with the handling of these interrupts in their respective projects.For more details, see the

README on GitHub

.

PSOC Edge Secure Power Management with SRF

This code example demonstrates secure power management of Infineon's PSOC™ Edge devices using Infineon's secure request framework (SRF), where non-secure CM33 application requests secure CM33 applications to perform the necessary configurations to achieve the desired power mode.For more details, see the

README on GitHub

.

PSOC Edge Secure SMIF Access

This code example demonstrates how to implement protection on the Serial Memory Interface (SMIF) and granting controlled access to applications for predefined, selected regions of the memory using Secure Request Framework (SRF) on PSOC™ Edge MCU.For more details, see the

README on GitHub

.

PSOC Edge SRAM Loading

This code example showcases a simple application running from SRAM memory. The application is copied to SRAM by Edge Protect BootloaderFor more details, see the

README on GitHub

.

PSOC Edge TF-M Crypto

This code example demonstrates cryptography using Trusted Firmware-M (TF-M) on PSOC™ Edge MCU. The example demonstrates how to initialize the TF-M NS interface in CM33 NS and CM55 NS projects, and use the crypto services offered by TF-M with PSA APIs. The code example is designed to work on Edge Protect Category 2 (EPC2) MCU.For more details, see the

README on GitHub

.

PSOC Edge TF-M Crypto

This code example demonstrates cryptography using Trusted Firmware-M (TF-M) on PSOC™ Edge MCU. The example demonstrates how to initialize the TF-M NS interface in CM33 NS and CM55 NS projects, and use the crypto services offered by TF-M with PSA APIs. The code example is designed to work on Edge Protect Category 4 (EPC4) MCU.For more details, see the

README on GitHub

.

PSOC Edge TF-M Initial Attestation

This is a TF-M-based code example for demonstrating the initial attestation on Infineon's PSOC™ Edge MCU. The example demonstrates how to initialize the TF-M NS interface in CM33 NS and CM55 NSPE projects and use the initial attestation service offered by TF-M to generate an attestation token. The example also shows how to verify the attestation token with the IAK public key. The code example is designed to work on Edge Protect Category 2 (EPC2) MCU.For more details, see the

README on GitHub

.

PSOC Edge TF-M Initial Attestation

This is a TF-M-based code example for demonstrating the initial attestation on Infineon's PSOC™ Edge MCU. The example demonstrates how to initialize the TF-M NS interface in CM33 NS and CM55 NSPE projects and use the initial attestation service offered by TF-M to generate an attestation token. The example also shows how to verify the attestation token with the IAK public key. The code example is designed to work on Edge Protect Category 4 (EPC4) MCU.For more details, see the

README on GitHub

.