Peripherals
Example | Description |
|---|---|
ADC basic | This example demonstrates use of the ADC HAL driver to perform voltage measurements. For more details, see the README on GitHub . |
| Cryptography AES Demonstration | This code example encrypts and decrypts user input data using the AES algorithm using a 128-bit key. The encrypted and decrypted data are displayed on a UART terminal emulator. For more details, see the README on GitHub . |
| Cryptography SHA 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-2 algorithm using the Cryptographic hardware block in PSOC™ 6 MCU. For more details, see the README on GitHub . |
| Cryptography TRNG Demonstration | This code example demonstrates how to generate a one-time password (OTP) of eight characters in length with the true random number generation feature using the cryptographic hardware block in MCU. For more details, see the README on GitHub . |
emFile Filesystem | This example uses the Arm® Cortex®-M4 (CM4) CPU of PSOC™ 6 MCU to execute an emFile filesystem task. This example uses the emFile middleware library that includes emFile in the form of pre-built libraries along with the hardware layer and OS layer implementation for PSOC™ 6 MCUs. For more details, see the README on GitHub . |
GPIO Pins | This example demonstrates the GPIO pin operation on the PSOC™ 6 MCU, using Eclipse IDE for ModusToolbox™. This includes reading, writing, interrupts, and full port configurations. For more details, see the README on GitHub . |
HAL Blinky LED | This code example demonstrates the blinking LED functionality implemented by ThreadX tasks on CYW55xxx devices. For more details, see the README on GitHub . |
HAL GPIO Interrupt | This example demonstrates the use of a GPIO configured as an input pin to generate interrupts on an Infineon MCU. For more details, see the README on GitHub . |
HAL Hello World | This code example demonstrates a simple UART communication by printing the "Hello world" message on a terminal and toggling an LED using the UART communication as control signal. The code example is based on HAL(Hardware Abstraction Layer) libraries. For more details, see the README on GitHub . |
HAL I2C Master | This example demonstrates the use of I2C (HAL) resource in Master mode. The I2C master is configured to send command packets to control a user LED on the slave. For more details, see the README on GitHub . |
HAL I2C Slave | This code example demonstrates the use of I2C resource in HAL in slave mode. The I2C slave is configured to receive command packets to control a user LED on the kit. For more details, see the README on GitHub . |
HAL Low-Power Timer | This code example demonstrates how to configure a low-power timer to measure the timing between events in free-running mode using the LPTimer HAL resource. For more details, see the README on GitHub . |
HAL PWM Square Wave | This code example generates a square wave using the PWM driver. An LED connected to the PWM output pin blinks at 2 Hz. For more details, see the README on GitHub . |
HAL SPI Master | This example demonstrates the use of SPI (HAL) resource in Master mode. The SPI master is configured to send command packets to control a user LED on the slave. For more details, see the README on GitHub . |
HAL Watchdog Timer | This example explains how to set up a Watchdog Timer (WDT) using the WDT HAL resource. The WDT resets the device if it is not serviced or "kicked" within the configured timeout interval. For more details, see the README on GitHub . |
I2C Master EzI2C Slave | This example demonstrates the use of I2C (HAL) resource in Master mode with an EzI2C slave. The I2C master is configured to send command packets to control a user LED on the slave. Both the slave and the master can be configured on the same kit. For more details, see the README on GitHub . |
I2C Slave Using Callbacks | This example demonstrates the operation of the I2C (HAL) resource in Slave mode using callbacks. For more details, see the README on GitHub . |
I2S Audio | This example demonstrates how to use the I2S hardware block in PSOC™ 6 MCU to interface with an audio codec. For more details, see the README on GitHub . |
Littlefs Filesystem | This example uses the Arm® Cortex®-M4 (CM4) CPU of PSOC™ 6 MCU to execute a littlefs filesystem task. This example uses the mtb-littlefs middleware library that implements the littlefs-compatible block device drivers for different storage devices such as SD card and NOR flash. For more details, see the README on GitHub . |
LZ4 compression and decompression demo | This code example demonstrates a simple LZ4 compression and decompression on a byte array. The byte array included with this application is the pre-built image of the hello-world application . The application boots the decompressed byte array on a user command. For more details, see the README on GitHub . |
MCUboot-Based Basic Bootloader | This example demonstrates using MCUboot with PSOC™ 6 MCUs and XMC™ 7000 MCUs an open-source secure bootloader for 32-bit MCUs. The bootloader app runs on CM0+. For more details, see the README on GitHub . |
PDM PCM Audio | This example demonstrates how to use the pulse-density modulation/pulse-code modulation (PDM/PCM) hardware block in PSOC™ 6 MCU with a digital microphone. For more details, see the README on GitHub . |
PDM to I2S Audio | This example demonstrates how to route Pulse-Density Modulation (PDM) audio data to the Inter-IC Sound (I2S) Interface in PSOC™ 6 MCU. For more details, see the README on GitHub . |
QSPI F-RAM Access | This code example demonstrates interfacing with an external QSPI F-RAM memeory and access it in single, dual or quad SPI mode using the serial memory interface (SMIF) block in PSOC™ 6 MCU. This example uses the PSOC™ 6 MCU standard QSPI HAL driver library to build the QSPI F-RAM access API. For more details, see the README on GitHub . |
Serial Flash Read Write | This code example demonstrates interfacing an external NOR flash memory using serial flash library. For more details, see the README on GitHub . |
UART Transmit and Receive | This example demonstrates the UART (HAL) transmit and receive operation in an Infineon MCU. For more details, see the README on GitHub . |