Code examples for ModusToolbox™ software
There are hundreds of code examples available. Use the links below to find the example you want, learn more about each repo, and discover how to bring that code example into your development environment.
For details on how to use a code example, see the Getting Started chapter of the ModusToolbox™ user guide.
See the individual Mbed OS or Amazon FreeRTOS example repository for details on how to import each code example into the Mbed or Amazon FreeRTOS build system respectively. Typically, you'll find the precise command line in the readme file.
|PSoC™ 6 MCU examples||This search link displays all PSoC™ 6 MCU examples for ModusToolbox™ 2.x software. These examples demonstrate the MCU and its features and functionality.|
|PSoC™ 4 MCU examples||This search link displays all PSoC™ 4 MCU examples for ModusToolbox™ 2.x software. These examples demonstrate the MCU and its features and functionality.|
|XMC MCU examples||This search link displays all XMC MCU examples for ModusToolbox™ 2.x software. These examples demonstrate the MCU and its features and functionality.|
|PMG1 MCU examples||This search link displays all PMG1 MCU examples for ModusToolbox™ 2.x software. These examples demonstrate the MCU and its features and functionality.|
|AnyCloud SDK examples||This search link displays AnyCloud examples for PSoC™ 6 MCUs with AIROC™ CYW43xxx connectivity devices. These examples demonstrate how to use ModusToolbox™ Wi-Fi and Bluetooth® connectivity libraries that are not tied to a specific cloud or device management solution. These include MQTT publisher and subscriber, OTA bootloading, and secure socket examples.|
|Bluetooth® SDK examples||This link finds all btsdk-related examples.|
|Mbed OS examples||This link displays a list of all Mbed-OS examples on our GitHub site, including CAPSENSE™, the emWin library, AWS IoT, and more.|
|AWS IoT examples||This link displays a list of all our Amazon FreeRTOS examples. In addition, the Amazon FreeRTOS repository demo folder contains multiple examples, including additional AWS IoT examples. Some examples may not be supported on our hardware. See the Getting Started guide for each board, available through the repository ReadMe file.|
The AWS examples rely on the AWS IoT Client Library. The examples will link to that library automatically.
Some of the links above just search our repositories to find what you're looking for. To create your own search, go to the GitHub home page and enter a search term in the Find a repository field.
These examples and links reference ModusToolbox 2.x. If you are interested in code examples for ModusToolbox v1.1:
ModusToolbox™ software is a collection of tools and libraries that enable you to develop embedded and connected applications in your ecosystem of choice. ModusToolbox™ software includes configuration tools, low-level drivers, middleware libraries, and operating system support, as well as other packages that enable you to create MCU and wireless applications. It also includes the optional Eclipse IDE. Unless specifically stated otherwise, ModusToolbox™ resources are compatible with Linux, macOS, and Windows-hosted environments.
We provide low-cost development kits for the PSoC™ 6 MCU platform.
PSoC™ 6 Bluetooth® LE pioneer kit (CY8CKIT-062-BLE): The PSoC 6 Bluetooth® LE Pioneer Kit enables design and debug of the PSoC™ 63 Line. The kit includes an E-Ink display, and our industry-leading CAPSENSE™ technology.
PSoC™ 6 Bluetooth® LE prototyping kit (CY8CPROTO-063-BLE): This is a low-cost hardware platform that enables design and debug of PSoC™ 6 MCUs. This kit is designed with a snap-away form-factor, allowing you to separate the KitProg (on-board programmer and debugger) from the target board and use independently.
PSoC™ 6 Wi-Fi Bluetooth® pioneer kit (CY8CKIT-062-WIFI-BT): The PSoC™ 6 WiFi-BT Pioneer Kit enables design and debug of the PSoC™ 62 MCU and the Murata LBEE5KL1DX Module (AIROC™ CYW4343W Wi-Fi & Bluetooth combo chip). It includes a TFT display and our industry-leading CAPSENSE™ technology.
PSoC™ 6 Wi-Fi Bluetooth® prototyping kit (CY8CPROTO-062-4343W: This enables design and debug of PSoC™ 6 MCUs. It comes with industry-leading CAPSENSE™ technology for touch buttons and slider, on-board debugger/programmer with KitProg3, μSD card interface, 512-Mb Quad-SPI NOR flash, PDM-PCM microphone, and a thermistor. It also includes a Murata LBEE5KL1DX module, based on the AIROC™ CYW4343W Wi-Fi & Bluetooth combo chip.
We provide 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 families of devices.
For a comprehensive list of PSoC™ 6 MCU resources, see KBA223067 in the community.
Device datasheets list the features and electrical specifications of PSoC™ 6 MCU families of devices.
Application notes are available on our website to assist you with designing your PSoC™ application.
The TRM provides detailed descriptions of the internal architecture of PSoC™ 6 MCUs.
Need support for your design and development questions? Check out the ModusToolbox™ forum, or the PSoC™ 6 forum on the Developer community 3.0. Interact with technical experts in the embedded design community and receive answers verified by our very best applications engineers. You'll also have access to robust technical documentation, active conversation threads, and rich multimedia content.