This repository contains examples and demos for PSoC 6 MCU family of devices, a single chip solution for the emerging IoT devices. PSoC 6 MCU bridges the gap between expensive, power hungry application processors and low‑performance microcontrollers (MCUs). The ultra‑low‑power, dual-core architecture of PSoC 6 MCU offers the processing performance needed by IoT devices, eliminating the tradeoffs between power and performance.
Cypress provides a wealth of data at www.cypress.com to help you select the right PSoC device and effectively integrate it into your design. Visit our PSoC 6 MCU webpage to explore more about PSoC 6 MCU family of device. Feel free to explore through the code example source files and let us innovate together!
The examples in this repository demonstrates PSoC 6 MCU with BLE Connectivity based Bluetooth Low Energy (BLE) connectivity feature. These code examples show how to integrate the complex BLE protocol into your design effortlessly. If you are new to developing projects with PSoC 6 MCU, we recommend you to refer the PSoC 6 Getting Started GitHub page which can help you familiarize with device features and guides you to create a simple PSoC 6 design with PSoC Creator IDE. For other block specific design please visit the following GitHub Pages:
You can use these block level examples to guide you through the development of a system-level design using PSoC 6 MCU. All the code examples in this repository comes with well documented design guidelines to help you understand the design and how to develop it. The code examples and their associated documentation are in the Code Example folder in the repository.
To use the code examples in this repository, please download and install PSoC Creator
Note Please refer to the code example documentation for selecting the appropriate kit for testing the project
This code example demonstrates the implementation of a simple BLE Immediate Alert Service (IAS)-based Find Me profile using PSoC 6 MCU with BLE Connectivity.
This example demonstrates the operation of the Internet Protocol Support Profile (IPSP) with the Bluetooth Low Energy (BLE_PDL) Component.
This code example demonstrates the new BLE 4.2 and 5.0 features of the PSoC® Creator BLE Component.
This example demonstrates how to configure the PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity device in simultaneous Multiple Master and Single Slave modes of operation.
This example demonstrates the operation of Bluetooth Low Energy (BLE) Battery Service (BAS) using the BLE_PDL Component.
This example project demonstrates how to configure and use the Bluetooth Low Energy (BLE) Component APIs and an application layer callback.
This example demonstrates the implementation of the Bluetooth Low Energy (BLE) HID over GATT Profile where the device operates as a HID keyboard.
This example demonstrates the implementation of the Bluetooth Low Energy (BLE) HID over GATT Profile where the device operates as a HID Mouse.
The design demonstrates the core functionality of the Bluetooth Low Energy (BLE) Component configured as a BLE Location and Navigation Service (LNS) device in the GATT Server role. The application uses a BLE Location and Navigation Profile to report location and navigation information to a Client. Also, the Location and Navigation Pod application uses the Battery Service to notify the battery level and the Device Information Service to assert the Device Name and so on.
This example demonstrates the HTTP Proxy Client and Server operation of the Bluetooth Low Energy (BLE) PSoC Creator Component.
This example demonstrates the capability of the PSoC 6 BLE device to be in all Generic Access Profile (GAP) roles (Central, Peripheral, Observer, and Broadcaster) simultaneously.
This example project demonstrates the Alert Notification Client operation of the BLE PSoC Creator Component. The Alert Notification Client uses the BLE Alert Notification Profile with one instance of the Alert Notification Service to receive information about Email, missed call, and SMS/MMS alerts from the Alert Notification Server. The device remains in Sleep mode between the BLE connection intervals.
The design demonstrates the core functionality of the BLE Component configured as a BLE Apple Notification Service (ANCS) device in the GATT Client role. The application uses the BLE Apple Notification Center Service in the GATT Client mode to communicate with a BLE Apple Notification Center Server (iPhone, iPod, and so on).
This example project demonstrates the BLE Blood Pressure Sensor application workflow. The Blood Pressure Sensor application uses the BLE Blood Pressure profile to report blood pressure measurement records to a client. Also, the Blood Pressure Sensor application uses the Battery Service to notify the Battery Level and the Device Information services to assert the Device Name and so on.
This example project demonstrates the Bluetooth Low Energy (BLE) Continuous Glucose Monitoring Sensor application workflow.
This example demonstrates the Cycling Speed and Cadence Service (CSCS) and Cycling Power Service (CPS) with PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity.
This example project demonstrates the Environmental Sensing Profile operation of the BLE PSoC Creator Component. The Environmental Sensor uses the Environmental Sensing Profile with one instance of Environmental Sensing and Device Information Services to simulate measuring the wind speed. The Environmental Sensor operates with other devices that implement the Environmental Collector Profile. The device switches to Deep Sleep mode between BLE connection intervals. The BLE Component supports PSoC 6 BLE.
This example project demonstrates the Find Me Profile operation of the BLE Component. The Find Me Target uses the Find Me Profile with one instance of the Immediate Alert Service to display the alerts if the Client has configured the device for alerting. The Find Me Target operates with other devices that implement the Find Me Locator Profile. The device switches to Deep Sleep mode between BLE connection intervals.
This example project demonstrates the BLE Glucose Meter application workflow. The Glucose Meter application uses the BLE Glucose Profile to report glucose measurement records to a Client. Also, the Glucose Meter application uses the Battery Service to notify the Battery Level and the Device Information Services to assert the Device Name, etc.
This example demonstrates the Heart Rate Client and Server operation of the Bluetooth Low Energy (BLE) PSoC Creator Component.
This code example demonstrates the current Ringer mode of the Phone Alert Server (a phone or CY8CKIT-062 PSoC 6 BLE Pioneer Kit) and the Ringer and Vibrate states on the user interface LEDs of the Phone Alert Client on the CY8CKIT-062 PSoC 6 BLE Pioneer Kit).
This example project demonstrates the Proximity operation of the BLE PSoC Creator Component. The Proximity Reporter uses the BLE Proximity Profile with one instance of the Link Loss Service and one instance of the Tx Power Service to display alerts on the device if connection to the client is lost. The Proximity Reporter operates with other devices which implement the Proximity Monitor Profile role. The device uses Limited Discovery mode during which it is visible to the BLE clients. The device remains in Deep Sleep mode between the BLE connection intervals.
The design demonstrates the core functionality of the BLE Component configured as the Running Speed and Cadence Sensor (RSCS) device in the GATT Server role. The device simulates running/walking data measurements and sends them over the BLE Running Speed and Cadence Service
This example demonstrates the Health Thermometer Profile operation of the BLE Component. The device simulates thermometer readings and sends it over to the BLE Health Thermometer Service. It also simulates a battery level value and sends it over to the BLE Battery Service.
This example demonstrates the Current Time Service (CTS) in GATT Client and GAP Peripheral role.
The design demonstrates the Weight Scale Profile operation of the BLE Component. The Weight Scale Sensor uses one instance of the Weight Scale Service (WSS), Body Composition Service (BCS), User Data Service (UDS), and Device Information Service (DIS) to simulate weight measurements for up to four registered users. The Weight Scale Sensor operates with other devices that implement the Weight Scale Collector Profile.
This example demonstrates the Wireless Power Transfer service in the Power Transmitter Unit and Power Receiver Unit role.
This Bluetooth Low Energy (BLE) example project demonstrates how to create an indoor navigation system using the BLE broadcasting mode that can be configured over a GATT connection.
This example demonstrates how to configure and use the Bluetooth Low Energy (BLE) Component APIs and application layer callbacks for the Pulse Oximeter Profile (PLXP).
This code example demonstrates Direct Test Mode (DTM) over the Host Controller Interface (HCI) using PSoC 6 MCU with Bluetooth Low Energy (BLE) Connectivity.
This example demonstrates over the air (OTA) bootloading with a PSoC® 6 MCU with Bluetooth Low Energy (BLE) connectivity using an external memory. The application is downloaded into the external memory, verified, and afterwards copied into the internal flash memory for execution.
This example demonstrates over the air (OTA) bootloading with a PSoC® 6 MCU with Bluetooth Low Energy (BLE) connectivity. The BLE stack code is shared between applications to reduce flash usage. The bootloader may download updates to the BLE stack or to the application.
This code example demonstrates how to maximize the BLE throughput on PSoC® 6 MCU with Bluetooth Low Energy (BLE) Connectivity device.
This example demonstrates the implementation of multi-slave functionality of the PSoC 6 MCU with BLE Connectivity (PSoC 6 BLE) device.
This example demonstrates how to configure the PSoC 6 MCU with Bluetooth Low Energy Connectivity (PSoC 6 BLE) device in simultaneous Multiple Master and Single Slave modes of operation.
This code example demonstrates a Bluetooth Low Energy (BLE) beacon that goes into Hibernate mode once the specified active time has elapsed.
PSoC 6 bridges the gap between expensive, power hungry application processors and low‑performance microcontrollers (MCUs). The ultra‑low‑power PSoC 6 MCU architecture offers the processing performance needed by IoT devices, eliminating the tradeoffs between power and performance. The PSoC 6 MCU contains a dual‑core architecture, with both cores on a single chip. It has an Arm® Cortex®‑M4 for high‑performance tasks, and an Arm® Cortex®‑M0+ for low-power tasks, and with security built-in, your IoT system is protected. To learn more on the device, please visit our PSoC 6 MCU webpage.
Device datasheets list the features and electrical specifications of PSoC 6 families of devices: PSoC 6 MCU Datasheets
Application notes are available on the Cypress website to assist you with designing your PSoC application: A list of PSoC 6 MCU ANs
PSoC Creator utilizes "components" as interfaces to functional Hardware (HW). Each component in PSoC Creator has an associated datasheet that describes the functionality, APIs, and electrical specifications for the HW. You can access component datasheets in PSoC Creator by right-clicking a component on the schematic page or by going through the component library listing. You can also access component datasheets from the Cypress website: PSoC 6 Component Datasheets
The TRM provides detailed descriptions of the internal architecture of PSoC 6 devices:PSoC 6 MCU TRMs
Need support for your design and development questions? Check out the Cypress Developer Community 3.0.
Interact with technical experts in the embedded design community and receive answers verified by Cypress' very best applications engineers. You'll also have access to robust technical documentation, active conversation threads, and rich multimedia content.
You can also use the following support resources if you need quick assistance: