Skip to content

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

Notifications You must be signed in to change notification settings

Infineon/PSoC4-MCU-Analog-Designs

Repository files navigation

Table of Contents

Introduction

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!

Navigating the Repository

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.

Required Tools

Software

Integrated Development Environment (IDE)

To use the code examples in this repository, please download and install PSoC Creator

Hardware

PSoC 4 MCU Development Kits

Note Please refer to the code example documnetation for selecting the appropriate kit for testing the project

Code Example List

ADC

1. CE95272 - PSoC 4 SAR ADC and Differential Amplifier

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.

2. CE95275 - Sequencing SAR ADC and Die temperature sensor with PSoC 4

This project demonstrates two channel measurements by the PSoC 4 sequencing SAR ADC, transferring results to the LCD and PWM using an ISR.

3. CE95340 - Amplifier with Dynamic Gain Switching with PSoC 4

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.

Comparator

1. CE95297 - 1.2 Volt Comparator (CSD Comp) using Analog Multiplexer with PSoC 4

This code example demonstrates how the comparator's input can be multiplexed using the Amux component.

2. CE95360 - Scanning Comparator using common mode with PSoC 3/4/5LP

This code example demonstrates operation of the Scanning Comparator (Common Mode) component with the PSoC Creator Software.

3. CE95293 - Analog Voltage Comparator with PSoC 4

This code example demonstrates the PSoC 4 Comparator in Non-Inverting mode.

4. CE95338 - Multiplexed Analog Comparator with PSoC 4

This code example demonstrates how to monitor multiple input signals using multiplexed analog comparator without any CPU intervention.

5. CE95297 - 1.2 Volt Comparator (CSD Comp) using Analog Multiplexer with PSoC 4

This code example demonstrates how the comparator's input can be multiplexed using the Amux component.

DAC

1. CE95351 - CE95327 PSoC 4 Current Digital-to-Analog Converter

This code example demonstrates basic functionality of PSoC4 IDAC8.

Debouncer/Filters

1. CE95298 - Switch Debouncer with PSoC 3, PSoC 4, and PSoC 5LP

This code example shows how to do switch debouncing in hardware using the PSoC Creator Debouncer component.

2. CE95319 - Hardware Glitch Filter with PSoC 3/4/5LP

This code example shows how to do glitch filtering in hardware using the PSoC Creator GlitchFilter component.

Amplifier

1. CE95341 PSoC® 4 Non-Inverting Opamp

This code example demonstrates the use of an opamp as a non-inverting operational amplifier

2. CE95340 - Amplifier with Dynamic Gain Switching with PSoC 4

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.

References

1. PSoC 4 MCU

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

2. PSoC 4 MCU Learning resource list

2.1 PSoC 4 MCU Datasheets

Device datasheets list the features and electrical specifications of PSoC 4 families of devices: PSoC 4 MCU Datasheets

2.2 PSoC 4 MCU Application Notes

Application notes are available on the Cypress website to assist you with designing your PSoC application: A list of PSoC 4 MCU ANs

2.3 PSoC 4 MCU Component Datasheets

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

2.4 PSoC 4 MCU Technical Reference Manuals (TRM)

The TRM provides detailed descriptions of the internal architecture of PSoC 4 devices:PSoC 4 MCU TRMs

FAQ

Technical Support

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages