Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/infineon/psoc4-mcu-analog-designs
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
https://github.com/infineon/psoc4-mcu-analog-designs
adc amplifier comporator cypress dac debouner mcu non-mtb-2-x psoc psoc-device
Last synced: 9 days ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/infineon/psoc4-mcu-analog-designs
- Owner: Infineon
- Created: 2018-03-23T05:06:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-27T15:04:46.000Z (about 6 years ago)
- Last Synced: 2024-03-15T07:57:05.805Z (8 months ago)
- Topics: adc, amplifier, comporator, cypress, dac, debouner, mcu, non-mtb-2-x, psoc, psoc-device
- Language: C
- Homepage:
- Size: 3.22 MB
- Stars: 13
- Watchers: 10
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Table of Contents
* [Introduction](#introduction)
* [Navigating the Repository](#navigating-the-repository)
* [Required Tools](#required-tools)
* [Code Examples List](#code-examples-list)
* [References](#references)# Introduction
This repository contains examples and demos for [PSoC 4 MCU](http://www.cypress.com/products/32-bit-arm-cortex-m0-psoc-4) 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](http://www.cypress.com/) to help you select the right PSoC device and effectively integrate it into your design. Visit our [PSoC 4 MCU](http://www.cypress.com/products/32-bit-arm-cortex-m0-psoc-4) 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](https://github.com/cypresssemiconductorco/PSoC4-MCU-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:#### 1. [Capacitive Touch Designs](https://github.com/cypresssemiconductorco/PSoC4-MCU-Capacitive-Touch-Designs)
#### 2. [Digital Designs](https://github.com/cypresssemiconductorco/PSoC4-MCU-Digital-Designs)
#### 3. [BLE Connectivity Designs](https://github.com/cypresssemiconductorco/PSoC4-MCU-BLE-Connectivity-Designs)
#### 4. [USB Connectivity Designs](https://github.com/cypresssemiconductorco/PSoC4-MCU-USB-Connectivity-Designs)
#### 5. [Device Related Designs](https://github.com/cypresssemiconductorco/PSoC4-MCU-Device-Related-Designs)
#### 6. [PSoC 4 Pioneer Kit](https://github.com/cypresssemiconductorco/PSoC4-MCU-Pioneer-Kits)
#### 7. [System Designs](https://github.com/cypresssemiconductorco/PSoC4-MCU-System-Designs)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](http://www.cypress.com/products/psoc-creator)## Hardware
### PSoC 4 MCU Development Kits
* [CY8CKIT-042-BLE-A Bluetooth® Low Energy 4.2 Compliant Pioneer Kit](http://www.cypress.com/documentation/development-kitsboards/cy8ckit-042-ble-bluetooth-low-energy-42-compliant-pioneer-kit).* [CY8CKIT-041-41XX PSoC 4100S CapSense Pioneer Kit](http://www.cypress.com/documentation/development-kitsboards/cy8ckit-041-41xx-psoc-4100s-capsense-pioneer-kit).
* [CY8CKIT-046 PSoC 4 L-Series Pioneer Kit](http://www.cypress.com/documentation/development-kitsboards/cy8ckit-046-psoc-4-l-series-pioneer-kit)
* [CY8CKIT-044 PSoC 4 M-Series Pioneer Kit](http://www.cypress.com/documentation/development-kitsboards/cy8ckit-044-psoc-4-m-series-pioneer-kit)
* [CY8CKIT-049-4xxx PSoC 4 Prototyping Kit](http://www.cypress.com/documentation/development-kitsboards/psoc-4-cy8ckit-049-4xxx-prototyping-kits)
* [CY8CKIT-042 PSoC 4 Pioneer Kit](http://www.cypress.com/documentation/development-kitsboards/cy8ckit-042-psoc-4-pioneer-kit)
**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](http://www.cypress.com/products/32-bit-arm-cortex-m0-psoc-4)#### 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](http://www.cypress.com/search/all?f%5b0%5d=meta_type%3Atechnical_documents&f%5b1%5d=field_related_products%3A1297&f%5b2%5d=resource_meta_type%3A575)
##### 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](https://community.cypress.com/external-link.jspa?url=http%3A%2F%2Fwww.cypress.com%2Fsearch%2Fall%3Ff%255b0%255d%3Dmeta_type%253Atechnical_documents%26f%255b1%255d%3Dfield_related_products%253A1297%26f%255b2%255d%3Dresource_meta_type%253A574)
##### 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](https://community.cypress.com/external-link.jspa?url=http%3A%2F%2Fwww.cypress.com%2Fsearch%2Fall%3Ff%255b0%255d%3Dmeta_type%253Asoftware_tools%26f%255b1%255d%3Dfield_related_products%253A1297%26f%255b2%255d%3Dsoftware_tools_meta_type%253A532)
##### 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](https://community.cypress.com/external-link.jspa?url=http%3A%2F%2Fwww.cypress.com%2Fsearch%2Fall%3Ff%255b0%255d%3Dmeta_type%253Atechnical_documents%26f%255b1%255d%3Dfield_related_products%253A1297%26f%255b2%255d%3Dresource_meta_type%253A583)## FAQ
### Technical Support
Need support for your design and development questions? Check out the [Cypress Developer Community 3.0](https://community.cypress.com/welcome).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](http://www.cypress.com/support)
Local Sales office locations: [http://www.cypress.com/about-us/sales-offices](http://www.cypress.com/about-us/sales-offices)