Introduction to PSoC Designer 5 and PSoC Programmer

Similar documents
Programming Assignment 1: Pushbutton and Light

PSoC Designer Quick Start Guide

PSoC 1 I 2 C Bootloader

WirelessUSB PRoC Development Kit Tutorial

PSoC 1 In-Circuit Emulator Development Kit Guide

PSoC 1 In-Circuit Emulation (ICE) Lite Development Kit Guide CY3215A-DK. Doc. # Rev. *A

CY3660-enCoRe V and encore V LV DVK Kit Guide

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

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

PSoC 1 Evaluation Kit Guide

encore and PRoC Family Development Tool Selector Guide

Application Note. Energy Meter LAN Interface

ECE 381 Lab 1a PSoC5 Blinking LED 1. Launch PSoC Creator 3.3 from the star menu

PSoC Programmer 3.12 Release Notes

Test Procedure for the NCP1247USBPDGEVB Evaluation Board

Programmer User Guide

PSoC Creator Quick Start Guide

Micriμm. For the way Engineers work

Bend Sensor USB Glove Kit User Guide

PSoC & EZ- Color Development Tools Selector Guide For CY8C29x66, CY8C27x43, CY8C24x94, CY8C24x23A, CY8C21x34, CY8C21x23, CY20x34 and CY8CLEDxx

Circuit Breaker Calibration

Click on the SwCAD III shortcut created by the software installation.

The following table lists user modules used in this code example and the hardware resources occupied by each user module.

None. MICROCONTROLLERS III

PSoC 6 Current Digital to Analog Converter (IDAC7)

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

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

CY3280-BBM Universal CapSense TM Prototyping Module Kit Quick Start

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

Application Note. Interfacing to a Graphics LCD from PSoC. Summary This Application Note describes how to control a graphic LCD in a PSoC application.

FPGA Introductory Tutorial: Part 1

Release Notes srn020 PSoC Express Version 2.2 Release Date: December 18, 2006

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

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

LED Testing and Control Using PSoC

MPX-2515 User s Guide

PSoC 4 Low Power Comparator (LPComp) Features. General Description. When to Use a LPComp 2.0. Low input offset. User controlled offset calibration

P&E Microcomputer Systems, Inc. P.O. Box 2044, Woburn, MA 01888, USA

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

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

K191 3 Channel RGB LED Controller

3700 SERIES USER MANUAL

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

CYTRON USB PIC Programmer v2009 UP00B

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

Mark Schutzer December 9, 2007 (updated fix for older rev B and C ProCabs)


Lab 2.2 Ohm s Law and Introduction to Arduinos

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

Evaluation board for NXP LPC2103. User Guide. Preliminary Version updated 27 th Aug TechToys Company All Rights Reserved

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

2.2 Block Diagram of the CapSense Matrix Button Keypad Power-up the CapSense Matrix Button Keypad GPO Header...

Capable of adjusting detection timings for start bit and data bit

FUNCTIONAL BLOCK DIAGRAM DIGITAL POWER SUPPLY +5V +3.3V EXT. EXTERNAL ANALOG POWER SUPPLY V LOGIC V DD V SS SPI INTERFACE RDY RESET AD5292 GND

1. What is ProSpeckz IIK?

Tutorial 3: Using the Waveform Viewer Introduces the basics of using the waveform viewer. Read Tutorial SIMPLIS Tutorials SIMPLIS provide a range of t

PIC DESIGN (version 1) 2/11/2009

OCTOPROG User Manual Ver 103

I/O Expansion Module Installation & Reference

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

PSoC. The Programmable System-On-Chip. Empower Your Product

Home Security System with Remote Home Automation Control

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

THIS SPEC IS OBSOLETE

EVAL-AD5422. Evaluation Board for 16-Bit, Serial Input, Current Source and Voltage Output DAC FEATURES DEVICE DESCRIPTION EVALUATION BOARD DESCRIPTION

To complete this project, you will need the following folder:

Images Scientific OWI Robotic Arm Interface Kit (PC serial) Article

Designing a USB Keyboard with the Cypress Semiconductor CY7C63413 USB Microcontroller

Anadigm FPAA Solutions Training Class III

New York City College of Technology

Pickup Gaussmeter v.3.0

EZ-USB FX3 Development Kit Guide

MINIPROG C User Manual Ver101

PIC 28 Pin Board Documentation. Update Version 5.0

PSoC Programmer Release Notes

Lab 1 Introduction to Microcontroller

XTS36 Touch Screen X10 Lighting Control System Operating Manual

Cypress PSoC 4 Microcontrollers

PSoC Programmer User Guide. Doc. No Rev. *H

ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham

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

CY3280-MBR2 CapSense Express with SmartSense Auto-Tuning Kit Guide. Doc. # Rev. *C

Getting Started in C Programming with Keil MDK-ARM Version 5

EVAL-ADG2128EB. Evaluation Board I 2 C CMOS, 8 12 Analog Switch Array with Dual/Single Supplies FEATURES DESCRIPTION

EPM900 - Overview. Features. Technical Data

Laboratory of Sensors Engineering Sciences 9 CFU

Stellaris LM3S3748 Evaluation Kit README FIRST

Old Company Name in Catalogs and Other Documents

PSoC Designer Release Notes

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

PSoC Programmer Release Notes

1/Build a Mintronics: MintDuino

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.

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder

Good Idea to Working Electronic Model

Getting Started with STK200 Dragon

Workshop 5-1: Dynamic Link

Release Notes SRN065 PSoC Programmer Version Release Date: November 9, 2009

Cypress EZ-PD Configuration Utility User Manual

32 bit Micro Experimenter Board Description and Assembly manual

Transcription:

Introduction to PSoC Designer 5 and PSoC Programmer Abstract This application note will discuss the introduction to PSoC Designer 5 and PSoC Programmer. These programs are used to design programs and upload them to Cypress microcontrollers. Cypress has developed a visual drag and drop programming environment that is easy to use without the need for an extensive background in programming, which will save time developing programs and debugging them. Introduction PSoC Designer 5 is the program used to design your program. When a program has been completed the PSoC Programmer is used to program the microcontroller. PSoC Designer 5 has two types of project designs, system level and chip level. System level programming is a visual drag and drop interface which does not require much coding experience. Chip level programming is a more complex interface that requires much more training and programming experience to use. This application note will only demonstrate how to use the system level view to design a simple program and program it to a Cypress CY3214-PSoCEvalUSB development board. A current version of PSoC designer 5 and PSoC Programmer can be downloaded from www.cypress.com/psocdesigner. Once this software package is downloaded and installed it can be accessed from the start menu. Open PSoC designer by clicking Start > Programs > Cypress > PSoC Designer 5. The program should open in the default startup screen shown below: 1

To start a new project select File > New Project. A design selection menu is displayed: Select system level view and then type LEDex and click OK. A new project will open as shown here: 2

DESIGN In this LED example project we are going to create a program that will toggle an LED on and off every 5 seconds and also display LED: ON or LED: OFF on the LCD. The first step to do this is to go to the Input Catalog by selecting Inputs in the upper left of the project window or select View > Input Catalog. This window displays all the types of inputs the microcontroller can have. Select Timing > double click Interval Generator. Type FiveSecTimer for the name and for IntervalTime type 5000 for 5 seconds select OK. 3

Go to the Output Catalog by selecting Outputs in the upper left of the project window or select View > Output Catalog. Select Display > LCD > double click LCD Selectable Label Full Line. Type LEDoutput for name select Initial Value as Label_1 then type LED: OFF for Label 1 and type Label 2 LED: ON for Label 2. Click OK. Select Display > LED > Single Color > double click On/Off. Click OK. 4

Type LED for name and select Initial Value as OFF. Click OK. You should now have the 3 components show in the figure to the right that you can place anyway you like. Right click on the LEDoutput component and select Transfer Function from the Menu. Then select ProrityEncoder from the following dialog box. Click OK. 5

Fill in the following dialog box as show below: Similarly right click on the LED component and select Transfer Function from the Menu. Then select ProrityEncoder from the following dialog box. Click OK. Fill in the following dialog box as show below: If (FiveSecDelay==FiveSecDelay Triggered)&&(LED==LED ON) then LED_OFF If (FiveSecDelay==FiveSecDelay Triggered)&&(LED==LED OFF) then LED_ON 6

The program design is now complete and should look like this: Building the Project Now that the design of the program is finished it is now time to build it. Press F6 or from the menu bar select Build > generate/build LEDex Project. The following window will be displayed: 7

For this Project select CY8C24894, 56-Pin MLF and check off Assign pins automatically. Click OK. The Program will begin to build and once it finishes it will display any errors. Once building is complete you will be presented with a schematic of the chip and the assigned pins. Programming Now that the program has been built and the pins assigned it is now time to program the microcontroller. To do this go to the menu bar and select Program > PSoC Programmer, this will open the program used program the microcontroller. 8

At this time connect your MiniProg to the microcontroller. The MiniProg is used to program and power the board in this example through the USB port. Select 24x94 from the Device Family menu and select CY8C24894-24LFXI from the Device menu. Now click the Program button from the menu to program the microcontroller. Do not hook up any circuits to the microcontroller prior to programming the microcontroller because the programming will fail. 9

Once the microcontroller is programmed you can now connect your circuit show below: The positive terminal of the LED is connected to pin P1[0] and the negative terminal is connected through a 100 ohm resister to ground. Testing Now that the circuit is hooked up it is now time to turn on the microcontroller. To do this click the Toggle Device Power button in the PSoC Programmer window. The LED should now be toggling on and off every 5 seconds with the LCD displaying its state. Below are pictures on these on and off states. OFF state: 10

ON state: 11

Conclusion PSoC Designer is a very versatile tool in designing programs for PSoC microcontrollers. Its system level view of designing with drag and drop capabilities require very little programming experience to develop complex programs. 12