PSoC Creator Quick Start Guide

Similar documents
Digital Multiplexer and Demultiplexer. Features. General Description. Input/Output Connections. When to Use a Multiplexer. Multiplexer 1.

This section describes the various input and output connections for the SysInt Component.

Use the Status Register when the firmware needs to query the state of internal digital signals.

Digital Logic Gates. Features. General Description. Input/Output Connections. When to Use a Logic Gate. Input 1. Input 2. Inputs 3-8 * 1.

This input determines the next value of the output. The output does not change until the next rising edge of the clock.

Use the Status Register when the firmware needs to query the state of internal digital signals.

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0

Setting Oscillation Stabilization Wait Time of the main clock (CLKMO) and sub clock (CLKSO)

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

Capable of adjusting detection timings for start bit and data bit

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0

One 32-bit counter that can be free running or generate periodic interrupts

PSoC 6 Current Digital to Analog Converter (IDAC7)

The AMuxSeq is capable of having between 2 and 32 analog inputs. The paired inputs are present when the MuxType parameter is set to "Differential.

Use a DieTemp component when you want to measure the die temperature of a device.

Automatic reload of the period to the count register on terminal count

ModusToolbox USB Configurator Guide

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

Cypress BLE-Beacon ios App User Guide

PSoC 4 Current Digital to Analog Converter (IDAC)

Analog Multiplexer (AMux) Features. General Description. Input/Output Connections. When to Use an AMux Single or differential connections

EZ-PD Analyzer Utility User Guide

Comparator (Comp) Features. General Description. When to use a Comparator Low input offset. User controlled offset calibration

THIS SPEC IS OBSOLETE

Optional Pause Pulse for constant frame length of 282 clock ticks

CE CY8CKIT-042-BLE F-RAM Data Logger

Supports a range of speeds of external memories (from 5 to 200 ns) Supports external memory power-down, sleep, and wakeup modes

W H I T E P A P E R. Timing Uncertainty in High Performance Clock Distribution. Introduction

W H I T E P A P E R. Introduction. Devices. Energy Comparison of Cypress F-RAM and EEPROM

Scanning Comparator (ScanComp) Features. General Description. Input/Output Connections. When to Use a Scanning Comparator. clock - Digital Input* 1.

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

CE95314 PSoC 3, PSoC 4, and PSoC 5LP EZI2C

Configurable transfer modes: single transfer, 1D transfer (using X loop) and 2D transfer (using both X and Y loops).

Supports Analog, Digital I/O and Bidirectional signal types

AN F²MC-16FX Family, I2C. Contents. 1 Introduction. This application note describes how to communicate via I2C with a Serial EEPROM.

F²MC-8FX Family MB95200H/210H Series Capacitance Touch Sensor

FM3 Family Motor Graphical Interface User Manual

Shift Register. Features. General Description 1.20

BGM Adaptor MB E Operation Manual. 8FX Family 8-bit Microcontroller. Doc. # Rev. *A

Nine-Output 3.3 V Buffer

AN FR Family, MB91F467S Emulation. 1 Introduction. 2 Hardware Setup. 2.1 Required parts

For More Information Please contact your local sales office for additional information about Cypress products and solutions.

Chip Errata for the MB96300/MB96600 Series MOVS/MOVSW Overlap of source and destination region, F 2 MC-16FX Microcontroller

MB39C811-EVB-03. PMIC for Solar/Vibration Energy Harvesting, Evaluation Board Operation Guide. Doc. No Rev. *B

Sequencing Successive Approximation ADC (ADC_SAR_Seq) Features. General Description. When to Use the ADC_SAR_Seq Supports PSoC 5LP devices

The Emulated EEPROM Component should be used to store nonvolatile data on a target device.

Use the Status Register when the firmware needs to query the state of internal digital signals.

PSoC Creator 4.2 Production Release Notes

Version February 02, 2018

FM4 S6E2Cx Series Over The Air Update 32-Bit Microcontroller With Embedded Dual Flash

EZ I2C Slave. Features. General Description. When to use a EZ I 2 C Slave Industry standard Philips I 2 C bus compatible interface

PSoC 1 In-Circuit Emulator Development Kit Guide

CY8CKIT-002. PSoC MiniProg3 Program and Debug Kit Guide. Doc. # Rev. *H

External Library. Features. General Description 1.0. The library provides documentation for external components

Use the Status Register when the firmware needs to query the state of internal digital signals.

TI: Uses a short pulse on spi_select to indicate start of transaction. National Semiconductor (Microwire): Transmission and Reception occur separately

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

GPIF II Designer - Quick Start Guide

PSoC 4 Voltage Comparator (Comp) Features. General Description. When to Use Comparator Low input offset. User controlled offset calibration

This optional pin is present if the Mode parameter is set to SyncMode or PulseMode. Otherwise, the clock input does not show.

Peripheral Driver Library (PDL) Component (PDL Application Programming Interface (API) only)

Operational Amplifier (Opamp) Features. General Description. Input/Output Connections. Noninverting Analog Follower or Opamp configuration

FM0+ Family S6E1A1 Series, Flash Programming Guide

FM Universal Peripheral Driver Library Quick Start Guide

Master modes provide all functionality necessary to work in a multi-master environment.

Cypress EZ-PD Configuration Utility User Manual

CY4701 EZ-USB GX3 Reference Design Guide

PSoC 4 Operational Amplifier (Opamp) Features. General Description. When to Use the Opamp Follower or Opamp configuration

Voltage Reference (Vref) Features. General Description. Input/Output Connections. When to Use a Vref Voltage references and supplies

Controller Continuum. for Microcontrollers V6.3. Quick Start

for ColdFire Architectures V7.2 Quick Start

FR Family SOFTUNE Workbench User's Manual for V6

Overview Contents Update 1 Features Known Issues... 3

16-Mbit (512 K words 32 bits) Static RAM with Error-Correcting Code (ECC)

Graphic LCD Interface (GraphicLCDIntf) Features. General Description. When to Use a GraphicLCDIntf 1.80

Cypress HX2VL Configuration Utility Blaster User Guide

MB39C831-EVB-02 Thermal Energy Harvesting Evaluation Board Operation Guide

Hardware Design Guidelines for Using EZ-PD CCG3PA Devices in Power Adapter Applications

EZ-PD Dock Reference Design Guide

Version June 2, 2017

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA

Filter_ADC_VDAC_poll Example Project Features. General Description. Development Kit Configuration

CodeWarrior Development Studio for Freescale 68HC12/HCS12/HCS12X/XGATE Microcontrollers Quick Start SYSTEM REQUIREMENTS Hardware Operating System 200

ADC Successive Approximation Register (ADC_SAR)

Installing Service Pack Updater Archive for CodeWarrior Tools (Windows and Linux) Quick Start

Application Development Guide

Old Company Name in Catalogs and Other Documents

Old Company Name in Catalogs and Other Documents

PSoC Creator Component Datasheet

CY4532 EZ-PD CCG3PA Evaluation Kit Guide

CY3660-enCoRe V and encore V LV DVK Kit Guide

PSoC 1 I 2 C Bootloader

Writing to Internal Flash in PSoC 3 and PSoC 5

HX2VL Development Kit Guide. Doc. # Rev. *A

Comparator (Comp) Features. General Description. When to use a Comparator 1.60

CYClockMaker Programming Kit Guide CY3675. Doc. # Rev. *C

The color of the Clock component waveform symbol will change based on the clock's domain (as shown in the DWR Clock Editor), as follows:

CYClockMaker Programming Kit Guide CY3675. Doc. # Rev. **

8-Bit Voltage Digital to Analog Converter (VDAC8)

for Freescale MPC55xx/MPC56xx Microcontrollers V2.10 Quick Start

Transcription:

PSoC Creator Quick Start Guide Install Download PSoC Creator from www.cypress.com/psoccreator, or install from a kit CD. For assistance, go to http://www.cypress.com/go/support For features, system requirements, and installation notes, refer to the Release Notes available at: http://www.cypress.com/products/psoc-creator-integrated-design-environment-ide. Launch Find the PSoC Creator 4.1 icon to launch the tool. Windows 8 or above Windows 7 or before You can launch the tool from the Installer application. You can also use the Windows Start key and type PSoC Creator to locate it. Create New Project Click the Create New Project link on the Start Page to open the New Project dialog. Note There are also code examples available from a link on the Start Page and from the File menu. Document Number: 001-64494, Rev. *O 1

Complete New Project Wizard Follow the instructions on the New Project wizard to select/complete information needed for your project. This wizard provides several options to create projects from code examples and pre-populated schematics. Select a Target kit if it is installed, or select a specific Target module or Target device. Then click Next >. Select Code example and click Next >. Select an example from the list and click Next >. Click Finish to create the project. Note For PSoC 6 devices, the Target IDEs page displays to select one or more IDEs for which to generate files. See also Optional: 3rd Party IDE Integration in this document. For more information, refer to the PSoC Creator Help topic Creating a New Project. Also, each code example project contains a description document. Document Number: 001-64494, Rev. *O 2

Modify the Design As needed, you can add components and functionality to modify the design to fit your needs. For PSoC 4xxx devices, pre-populated schematics contain preconfigured Components to use in your design. Components are divided into separate categories by schematic tabs. There is a "My Design" tab to customize your design. You can disable individual Components or disable complete schematic tabs. Component Categories As needed, add a Pin, Clock, and other Components to complete the design by dragging items from the Component Catalog. If needed, connect various components using the Wire tool. If you have complex or frequent wiring, double-click the wire tool to enable Sticky mode to use it repeatedly. Then press [Esc] to return to Normal mode. For more information, refer to the PSoC Creator Help topic Schematic Editor. Document Number: 001-64494, Rev. *O 3

Configure Components As needed, configure various component parameters to modify the behavior. For more information, refer to each component's datasheet, available from the Configure dialog, the Component Catalog, or from the Datasheets tab in the Workspace Explorer. Configure Design-Wide Resources Double-click on a node in the Workspace Explorer to open Design-Wide Resources, such as pins, clocks, interrupts, DMA, and more. Once open, use the tabs to switch between them. DWR Editor Tabs For more information, refer to the PSoC Creator Help topic Design-Wide Resources. Document Number: 001-64494, Rev. *O 4

Build the Design After completing the design, use the Build command to generate source code. For more information about these files, refer to the System Reference Guide, located on the Help menu, under Documentation. Add Code in PSoC Creator Inside PSoC Creator, open the main.c file and insert the necessary code for your application. Note For many components, you must add at least a start function to enable the component. This start function is usually named [component_instance_name]_start(). For more information, refer to the applicable Component datasheet API section. Cypress provides various PSoC Creator code example projects that can help you design faster. Open the Code Example dialog from the File menu or Start Page. For more information, refer to the PSoC Creator Help topic Find Code Example. Document Number: 001-64494, Rev. *O 5

Program the Device Connect your development kit to your computer, and click Program You can obtain a kit from the Cypress web page at: http://www.cypress.com/go/store. If your design has no errors, PSoC Creator will build the design Build Messages Generated Files Status Indicator and program the device. Programming Status If there are errors, view the Notice List window and click Go To Error to find and resolve them. Next Steps Now that you have created a design, open a few example projects and explore different ways to improve it. The PSoC Creator Help and various documents are available from the Help menu. Refer also to the PSoC Creator web page for more information, such as design guides, application notes, and training videos. Document Number: 001-64494, Rev. *O 6

Optional: 3 rd Party IDE Integration If preferred, you can use your PSoC Creator design with a 3 rd Party IDE to code, debug, and test firmware. For PSoC 3, PSoC 4, PSoC 5LP, and FM0+ devices, select Export to IDE from the Project menu to open the IDE Export Wizard. For PSoC 6 devices, this step is included as part of creating a new design. You can also select Build Settings from the Project menu, and then select Target IDEs. Refer to the PSoC Creator Help topic Integrating into 3rd Party IDEs for full details. Document Number: 001-64494, Rev. *O 7

Cypress Semiconductor Corporation, 2010-2017. This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC ( Cypress ). This document, including any software or firmware included or referenced in this document ( Software ), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress hereby grants you a personal, non-exclusive, nontransferable license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress s patents that are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software is prohibited. TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or programming code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this information and any resulting product. Cypress products are not designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weapons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution control or hazardous substances management, or other uses where the failure of the device or system could cause personal injury, death, or property damage ( Unintended Uses ). A critical component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products. You shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products. Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners. Document Number: 001-64494, Rev. *O 8