This repository contains examples and demos for PSoC 4 MCU family of devices, world's Most Flexible 32-bit ARM Cortex-M0 One-Chip Solution. 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 4 MCU webpage to explore more about PSoC 4 MCU family of device.
Feel free to explore through the code example source files and Let us innovate together!
This repository provides examples that demonstrates how to develop PSoC 4 MCU based analog designs. These examples help you to use peripherals like ADC, DAC, Comparators etc. If you are new to developing projects with PSoC 4 MCU, we recommend you to refer the PSoC 4 Getting Started GitHub page which can help you familiarize with device features and guides you to create a simple PSoC 4 design with PSoC Creator IDE. For other block specific designs please refer to the following GitHub repositories:
You can use these block level examples to guide you through the development of a system-level design. 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 documnetation for selecting the appropriate kit for testing the project
This code example shows the usage of DMA with ADC and VDAC components. The ADC is configured in default single ended mode. The ADC EOC signal is connected to DRQ input of DMA. On each rising edge of EOC signal, ADC output is transferred to VDAC input register. VDAC converts this digital value to analog signal which can be measured using a multimeter.
This project demonstrates two channel measurements by the PSoC 4 sequencing SAR ADC, transferring results to the LCD and PWM using an ISR.
This code example demonstrates how to multiplex three different channels with ADC using Analog Mux and send results to HyperTerminal (PC) using UART. The ADC input and gain can be changed on the fly by pressing a switch.
This code example demonstrates how the comparator's input can be multiplexed using the Amux component.
This code example demonstrates operation of the Scanning Comparator (Common Mode) component with the PSoC Creator Software.
This code example demonstrates the PSoC 4 Comparator in Non-Inverting mode.
This code example demonstrates how to monitor multiple input signals using multiplexed analog comparator without any CPU intervention.
This code example demonstrates how the comparator's input can be multiplexed using the Amux component.
This code example demonstrates basic functionality of PSoC4 IDAC8.
This code example shows how to do switch debouncing in hardware using the PSoC Creator Debouncer component.
This code example shows how to do glitch filtering in hardware using the PSoC Creator GlitchFilter component.
This code example demonstrates the use of an opamp as a non-inverting operational amplifier
This code example demonstrates how to multiplex three different channels with ADC using Analog Mux and send results to HyperTerminal (PC) using UART. The ADC input and gain can be changed on the fly by pressing a switch.
PSoC 4 is the world's Most Flexible 32-bit ARM Cortex-M0 One-Chip Solution. PSoC 4 has tackled some of the complex portions of embedded system design making it easier for you to get your product to market. Functions such as analog sensor integration, capacitive touch, and wireless connectivity have been integrated and optimized in PSoC 4 to “just work” so you don’t have to. To learn more on the device. Learn more: PSoC 4 MCU
Device datasheets list the features and electrical specifications of PSoC 4 families of devices: PSoC 4 MCU Datasheets
Application notes are available on the Cypress website to assist you with designing your PSoC application: A list of PSoC 4 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 4 Component Datasheets
The TRM provides detailed descriptions of the internal architecture of PSoC 4 devices:PSoC 4 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:
Self-help: http://www.cypress.com/support
Local Sales office locations: http://www.cypress.com/about-us/sales-offices