You are here

PSoC 6 MCU Code Examples | Cypress Semiconductor

PSoC 6 MCU Code Examples

Last Updated: 
Dec 04, 2017

The code examples linked in the table below are compatible with PSoC Creator 4.2. To access the latest code examples, follow the path File -> Code Example in PSoC Creator.

CE# Title Description
CE212736 PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity - Find Me This code example demonstrates the implementation of a simple BLE immediate alert service (IAS)-based Find Me profileusing PSoC® 6 MCU with BLE Connectivity.
CE218133 PSoC 6 MCU E-INK Display with CapSense This code example shows how to create a user-interface solution using an E-INK display and CapSense®
CE213903 PSoC 6 MCU BasicBootloaders These examples demonstrate basic bootloading with PSoC® 6 MCU. This includes downloading an application from a host and installing it in device flash, and then transferring control to that application.
CE220120 PSoC 6 MCU: Blocking Mode Flash Write This example demonstrates how to write to the flash memory of a PSoC® 6 MCU device. In this example, the flash write API function blocks the caller until the write is completed.
CE218135 PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity: BLE with Proximity This code example demonstrates connectivity between the PSoC® 6 MCU with BLE and CySmart™ BLE host emulation tool or mobile device running the CySmart mobile application, to transfer CapSense® proximity sensing information.
CE219881 PSoC 6 MCU Switching Between Power Modes This example demonstrates how to transition PSoC 6 between the following power modes - Active, Sleep, Low Power Active, Low Power Sleep and Deep Sleep.
CE219431 PSoC 6 MCU PDM-to-PCM Example This example demonstrates how to use the pulse-density modulation/pulse-code modulation (PDM/PCM) hardware block in PSoC 6 with a digital microphone.
CE220060 PSoC 6 MCU Watchdog Timer This example demonstrates the operation of watchdog timer (WDT) in PSoC® 6 MCU.
CE220061 PSoC 6 MCU: Multi-Counter Watchdog Interrupts This example demonstrates the operation of multi-counter watchdog timer (MCWDT) counters and interrupts in PSoC® 6 MCU
CE220167 PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity: BLE with User Interface This code example demonstrates interfacing PSoC® 6 MCU with BLE Connectivity with user interface functions such as an EINK display, RGB LED, and touch sensors based on self and mutual capacitance (CapSense® CSD and CSX). These functions provide bi-directional BLE connectivity between the PSoC 6 MCU device and a PC running the CySmart™ BLE Host Emulation tool or a mobile device running the CySmart mobile application.
CE218552 PSoC 6 MCU: UART to Memory Buffer Using DMA This PSoC 6 code example demonstrates a UART-to-memory buffer data transfer using DMA, with no CPU usage. DMA channels are used to implement data transfer both on received data and transmitted data of the UART.
CE219517 KitProg2 Power Monitoring This code example demonstrates how to create a bootloadable PSoC® 5LP (KitProg2) project to monitor the power consumed by the PSoC 6 MCU on CY8CKIT-062-BLE PSoC 6 BLE Pioneer Kit.
CE219521 PSoC 6 MCU - GPIO Interrupt This example demonstrates how to configure a GPIO to generate an interrupt using PSoC 6 MCU. The example also shows how the GPIO interrupt can be used to wake the CPU from Deep Sleep low-power mode.
CE219506 PSoC 6 MCU Clock Buffer with Smart I/O™ This example shows how to use a Smart I/O Component in PSoC® 6 MCU to implement a clock buffer that can operate in chip low-power modes. The example can also be used to drive a load higher than that is rated for one GPIO by replicating the signal and driving two GPIO pins.
CE219490 PSoC 6 MCU Breathing LED using Smart I/O This example demonstrates the flexibility of the PSoC® 6 MCU Smart I/O Component, by implementing the LED breathing effect exclusively in hardware with no CPU usage beyond initialization.
CE219656 PSoC 6 MCU UART using Low Level APIs This example demonstrates the UART transmit and receive operation in PSoC® 6 MCU using low level APIs. This is done using polling, ISR, and DMA methods.
CE220291 PSoC 6 MCU TCPWM Square Wave This code example demonstrates how to generate a square wave using the TCPWM Component on a PSoC® 6 MCU.
CE220290 PSoC 6 MCU TCPWM Breathing LED This code example demonstrates the implementation of an LED breathing effect using the TCPWM Component on a PSoC® 6 MCU.
CE218553 PSoC 6 MCU: PWM Triggering a DMA Channel This code examples demonstrates how to route trigger signals on a PSoC 6 device. The trigger signal, in this code example, is routed from the PWM to the DMA, using PSoC Creator's auto routing feature.
CE220169 PSoC 6 MCU: Periodic Interrupt using TCPWM This example demonstrates how to generate a periodic interrupt using the timer/counter pulse-width modulation (TCPWM) Component in Timer/Counter mode for PSoC® 6 MCU devices.
CE219339 PSoC 6 MCU - MCWDT and RTC Interrupts (Dual Core) This example demonstrates how to configure multiple peripherals to generate interrupts on multiple CPU cores in PSoC® 6 MCU.
CE220263 PSoC 6 MCU GPIO Pins Example This example demonstrates GPIO pin operation in PSoC® 6 MCU.
CE220511 PSoC 6 MCU Cryptography: SHA Demonstration This code example demonstrates generating a unique hash value or message digest for an arbitrary message using Secure Hash Algorithm (SHA) in PSoC® 6 MCU.
CE220465 PSoC 6 MCU Cryptography: AES Demonstration This code example demonstrates encryption and decryption of data using the Advanced Encryption Scheme (AES) algorithm in PSoC® 6 MCU.
CE220498 PSoC 6 MCU - Free-Running Multi-Counter Watchdog Timer This example demonstrates the operation of PSoC® 6 MCU multi-counter watchdog timer (MCWDT) counters in free-running mode.
CE220818 PSoC 6 MCU I2C Master This example demonstrates the use of I2C SCB (Serial Control Block) Component for PSoC® 6 MCU in master mode. Three different subprojects show the use of Peripheral Driver Library (PDL) functions to communicate with I2C and EzI2C slave.
CE220541 PSoC 6 MCU SCB EZI2C This code example demonstrates the implementation of an EZI2C Slave using the SCB Component on a PSoC® 6 MCU. It also demonstrates how to control the color and intensity of an RGB LED using TCPWM Components.
CE220823 PSoC 6 MCU SMIF Memory Write and Read Operation This example demonstrates the write and read operations to the Serial Memory Interface (SMIF) in PSoC® 6 MCU
CE220607 PSoC 6 MCU Watchdog Timer in interrupt mode This example demonstrates how to use the PSoC® 6 MCU Watchdog Timer (WDT) in interrupt mode. It blinks an LED using the WDT interrupt.
CE220608 PSoC 6 MCU Multi-Counter Watchdog Timer in Watchdog Mode This example demonstrates how to use the PSoC® 6 MCU Multi-Counter Watchdog Timer (MCWDT) in watchdog mode.
CE220272 PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity: Direct Test Mode This code example demonstrates Direct Test Mode (DTM) over the Host Controller Interface (HCI) using PSoC® 6 MCU with BLE Connectivity.
CE220186 PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity: RTC with Current Time Service This code example demonstrates accurate time keeping with PSoC® 6 MCU's real-time clock (RTC), which is synchronized with a current time server such as an iPhone using the BLE current time service (CTS).
CE220335 PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity: Eddystone Beacon This code example demonstrates a BLE beacon that broadcasts the core frame types (UID, URL, and TLM) of Google’s Eddystone beacon profile.
CE216795 PSoC 6 MCU Dual-Core Basics This code example demonstrates the two CPU cores in PSoC 6 MCU doing separate independent tasks, and communicating with each other using shared memory and the inter-processor communication (IPC) block.
CE220692 PSoC 6 MCU: Frequency Measurement Using TCPWM Frequency measurement is counting the number of edges (rising, falling, or both) that occur within a known time interval. To find this number, this project uses a one second time window and determines the number of counts (rising edges) within that time window.
CE220799 PSoC 6 MCU: Direction Detection Using Quadrature Decoder This code example demonstrates how to use the TCPWM Component in quadrature decoder mode in PSoC® 6 MCU.