Cypress.com: Documentation http://www.cypress.com/?app=search&searchType=advanced&id%3D2232 "mkdepend.exe Has Stopped Working" Error While Building a Project in PSoC<sup>®</sup> Creator™ – KBA93735 http://www.cypress.com/?rID=99231 Answer: The "mkdepend.exe has stopped working" error in PSoC Creator is likely caused by a compatibility issue between certain software products and the Microsoft® .NET Framework. The incompatible products include Citrix® Offline Plug-in and Citrix Virtual Memory Optimization Service. To resolve the issue, disable or remove the incompatible products and then run the following command from the Command Prompt (Administrator privileges required):

%windir%\Microsoft.NET\Framework\v2.0.50727\ngen.exe update /force

The following articles contain additional information about the problem:

Memory Optimizing Tools That Rebase DLL Load Addresses Cause .NET Applications to Crash with FatalExecutionEngineException

Citrix Virtual Memory Optimization Service can lead to .NET application corruption

]]>
Thu, 21 Aug 2014 04:53:35 -0600
Learning Embedded C – KBA93302 http://www.cypress.com/?rID=99224 Answer: There are several ways to get started with learning Embedded C programming.

Online compilers (for beginners):

For a quick on-line reference, see Wikipedia http://en.wikipedia.org/wiki/C_syntax.

Links for Books and other resources:

C Courses organized by universities:

  • Many universities, community colleges, and training organizations have live C courses; some even have C/embedded programming classes. For example, Embedded Software Bootcamp from the Barr Group.

Hands on with PSoC® Creator™:

If you want to try an embedded project, you can use one of the example projects available with PSoC Creator. Most of the PSoC Creator Components have an example project to go with them. Follow these steps to try an example project:

  1. Open PSoC Creator
  2. Click File > Example Project
  3. Select the example project from the list to get started, as shown in Figure 1.

    Figure 1. Find Example Project

]]>
Thu, 21 Aug 2014 04:22:43 -0600
AN76474 - PSoC<sup>®</sup> 3 Power Supervisor http://www.cypress.com/?rID=66896 AN76474 demonstrates how you can quickly implement and customize a full-featured power supervisor that supports up to 13 power supply rails with Cypress’s PSoC® 3.

Introduction

Power supervision plays a critical role in modern communications systems such as routers, switches, storage systems, servers and base stations. These systems require multiple power supply rails for their various components including ASICs, PHY devices, FPGAs, CPUs, memory modules, and peripheral I/O devices.

]]>
Thu, 21 Aug 2014 03:45:51 -0600
IBIS - CY8C36 FAMILY http://www.cypress.com/?rID=88169 Mon, 18 Aug 2014 03:00:16 -0600 IBIS - CY8C38 FAMILY http://www.cypress.com/?rID=88170 Mon, 18 Aug 2014 03:00:16 -0600 IBIS - CY8C34 FAMILY http://www.cypress.com/?rID=88168 Mon, 18 Aug 2014 03:00:15 -0600 QTP 101208: 48-LEAD SSOP, KEG3000 M/C, NIPDAU, MSL3, 260C REFLOW CML-RA http://www.cypress.com/?rID=60326 Thu, 14 Aug 2014 03:00:14 -0600 QTP 102610: 48-Lead QFN (7x7x1.0 mm) NiPdAu, MSL3, 260°C Reflow CML-RA http://www.cypress.com/?rID=60324 Thu, 14 Aug 2014 03:00:13 -0600 AN54181 - Getting Started with PSoC<sup>®</sup> 3 http://www.cypress.com/?rID=39157 AN54181 briefly introduces you to PSoC® 3, an 8051-based programmable system-on-chip. In this application note, you will learn about the PSoC 3 architecture and how the 8051-based MCU subsystem works closely with PSoC's programmable digital and analog fabric. You will also learn how to use Cypress's powerful design tools to start your first PSoC project, utilizing PSoC 3's hardware and software programmability.

Introduction

PSoC 3 is a true programmable embedded system-onchip, integrating custom analog and digital peripheral functions, memory, and an 8051 microcontroller on a single chip.

PSoC contains a processor, but it is not an MCU. The name PSoC (Programmable-System-on-Chip) defines its true identity. AN54181 introduces the Programmable-System-on-Chip concept with specific emphasis on PSoC 3. Here, you learn about PSoC 3 and what it can do for you and your projects. It also introduces PSoC Creator™, a powerful IDE development tool for PSoC 3 and PSoC 5LP.The following video gives brief introduction for PSoC3:

 

The following video guides how to create projects using PSoC3:

 

 

The following table indicates the PSoC devices, PSoC Creator versions, compilers, and development kits that will work with this application note project:


Project
Device
PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Compiler
Architecture
Silicon
Revision
V3.0 SP1
or higher
V2.1 SP1/
2.1
001
DVK
030/050
DVK
003/014
FTK
Keil
GCC
RVDS
MDK

AN54181.zip

Prod
YES
NO
YES
YES*
NO
YES
N/A
N/A
N/A
Prod
YES
NO
YES
YES*
NO
N/A
YES
YES
YES
AN54181_Archive.zip
ES3, Prod
NO
YES
YES
YES*
YES
YES
N/A
N/A
N/A

*Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/050

Notes:
  1. Click on AN77835 - PSoC® 3 to PSoC 5LP Migration Guide to learn differences between PSoC 3 and PSoC 5LP.
  2. For PSoC 5 project and related document, please download file AN54181_Archive.zip.

Projects associated with this application note can be downloaded from the ‘Related Files’ section below. For your convenience, we have provided projects that are compatible with the two most recent versions of PSoC Creator:

  • AN54181.zip is used with PSoC Creator 3.0 SP1
  • AN54181_Archive.zip is used with PSoC Creator 2.1 SP1/2.1.

The project’s default settings may not be compatible with your device or kit, and you may need to change your project settings. For more information, see:

PSoC® 3, PSoC 4 and PSoC 5LP AN Project File Naming Convention and Use
]]>
Wed, 13 Aug 2014 08:17:20 -0600
Pins v2.0 Pulled-Up and Pulled-Down POR Settings Show a Glitch at Power Up - KBA93531 http://www.cypress.com/?rID=98709 Answer: The glitch appears in Pins v2.0 for PSoC 3 and PSoC 5LP due to a firmware bug that switches the Power-On Reset settings for Pulled-Up and Pulled-Down modes. The Component is not affected if it is set as Don't Care or High-Z Analog. If you wish to use the Pulled-Up or Pulled-Down POR settings, then choose one of the following workaround options:

  • The preferred workaround is to downgrade to the Pins v1.90 Component in the design. This will allow you to configure the Power-On Reset state to Pulled-Up or Pulled-Down without any issues.
  • If you want to use Pins v2.0 in PSoC 3 and PSoC 5LP designs, then there are two options:
    • Leave the Power-On Reset configuration as Don't Care, which is a high-impedance state, and use external pull-up or pull-down resistors.
    • Flip the POR settings for Pulled-Up and Pulled-Down (i.e., select pull-up if you want pull-down, or vice-versa). However, if you upgrade to the Pins v2.10 Component, then you must undo this change.
]]>
Wed, 13 Aug 2014 00:23:51 -0600
PSoC 3 Device Programming http://www.cypress.com/?rID=40740 Thu, 07 Aug 2014 17:22:27 -0600 AN84401 - PSoC<sup>®</sup> 3 and PSoC 5LP SPI Bootloader http://www.cypress.com/?rID=78703 AN84401 describes a SPI-based bootloader for PSoC® 3 and PSoC 5LP. In this application note you will learn how to use PSoC Creator™ to quickly and easily build SPI-based bootloader and bootloadable projects. It also shows how to build a SPI-based embedded bootloader host program.

Introduction

Bootloading is a process that allows you to upgrade your system firmware over a standard communication interface such as USB, I2C, UART or SPI. A bootloader communicates with a host to get new application code or data, and writes it into the device's flash memory.

This application note describes a SPI based bootloader for PSoC 3 and PSoC 5LP. To get introduced to basics of PSoC 3 and PSoC 5LP Bootloader please refer AN73854 - PSoC® 3 and PSoC 5LP - Introduction to Bootloaders. If you intend to learn how to develop USB and I2C Bootloader for PSoC 3 and PSoC 5LP, AN73503 - USB HID Bootloader for PSoC® 3 and PSoC 5LP and AN60317 – PSoC 3 and PSoC 5LP I2C Bootloader  respectively should get you going.

The following table indicates the PSoC devices, PSoC Creator versions, compilers, and development kits that will work with this application note project:


Project
Device
PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Compiler
Architecture
Silicon
Revision
V3.0 SP1
or higher
V2.1 SP1
001
DVK
030/050
DVK
003/014
FTK
Keil
GCC
RVDS
MDK

AN84401.zip

Prod
YES
NO
YES*
YES
NO
YES
N/A
N/A
N/A
Prod
YES
NO
YES*
YES
NO
N/A
YES
YES
YES

*Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050

Projects associated with this application note can be downloaded from the 'Related Files' section below.

]]>
Mon, 04 Aug 2014 02:07:38 -0600
AN60317 - PSoC<sup>®</sup> 3 and PSoC 5LP I<sup>2</sup>C Bootloader http://www.cypress.com/?rID=41002 Beginning with PSoC Creator 2.1, the bootloader system has been reorganized to provide more configuration options. In previous releases, the bootloader system was part of the cy_boot component (a required component that is automatically and invisibly instantiated in all designs). From PSoC Creator 2.1 onwards the bootloader component is separated from cy_boot component and is available as a separate component in component catalogue. Please refer ‘Chapter11.Bootloader Migration’ in System Reference Guide (Help>Documentation>System Reference) to know how to migrate your older versions of bootloader/bootloadable projects to PSoC Creator 2.1.

AN60317 describes how to add an I2C bootloader to a PSoC® 3 / PSoC 5LP project. It also discusses how to use the PC based bootloader host program provided with PSoC Creator. Finally the application note illustrates how to create your own embedded bootloader host. Each of these is explained with examples.

To learn about PSoC 3 and PSoC5 Bootloader implementation refer to video: PSoC3, PSoC5, PSoC Creator Bootloader Overview

The following video describes the steps to add an I2C Bootloader to PSoC3 or PSoC5 projects.

-->

AN60317 describes an I2C-based bootloader for PSoC® 3 and PSoC 5LP. In this application note you will learn how to use PSoC Creator™ to quickly and easily build an I2C-based bootloader project, and bootloadable projects. It also shows how to build an I2C-based embedded bootloader host program.

Bootloading is a process that allows you to upgrade your system firmware over a standard communication interface such as USB, I2C, UART or SPI. A bootloader communicates with a host to get new application code or data, and writes it into the device's flash memory.

This application note describes an I2C based bootloader for PSoC 3 and PSoC 5LP. To get introduced to basics of PSoC 3 and PSoC 5LP Bootloader please refer AN73854 - PSoC® 3 and PSoC 5LP - Introduction to Bootloaders. If you intend to learn how to develop USB Bootloader for PSoC 3 and PSoC 5LP, AN73503 - USB HID Bootloader for PSoC® 3 and PSoC 5LP should get you going.

The following table indicates the PSoC devices, PSoC Creator versions, compilers, and development kits that will work with this application note project:


Project
Device
PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Compiler
Architecture
Silicon
Revision
V3.0 SP1
or higher
V2.2
001
DVK
030/050
DVK
003/014
FTK
Keil
GCC
RVDS
MDK

AN60317.zip

Prod
YES
NO
YES*
YES
NO
YES
N/A
N/A
N/A
Prod
YES
NO
YES*
YES
NO
N/A
YES
YES
YES
AN60317_Archive.zip
Prod
NO
YES
YES*
YES
NO
YES
N/A
N/A
N/A
Prod
NO
YES
YES*
YES
NO
N/A
YES
YES
YES

*Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050

Notes:
  1. For PSoC 5 project and related document, please download file AN60317_Archive.zip.

Projects associated with this application note can be downloaded from the ‘Related Files’ section below. For your convenience, we have provided projects that are compatible with the two most recent versions of PSoC Creator:

  • AN60317.zip is used with PSoC Creator 3.0 SP1
  • AN60317_Archive.zip is used with PSoC Creator 2.2

The project’s default settings may not be compatible with your device or kit, and you may need to change your project settings. For more information, see:

PSoC® 3, PSoC 4 and PSoC 5LP AN Project File Naming Convention and Use
]]>
Fri, 01 Aug 2014 06:00:34 -0600
AN68272 - PSoC<sup>®</sup> 3, PSoC 4 and PSoC 5LP UART Bootloader http://www.cypress.com/?rID=50230

AN68272 describes a UART-based bootloader for PSoC® 3, PSoC 4 and PSoC 5LP. In this application note you will learn how to use PSoC Creator™ to quickly and easily build a UART-based bootloader project, and bootloadable projects. It also shows how to build a UART-based embedded bootloader host program.

Introduction

Bootloaders are a common part of MCU system design. A bootloader makes it possible for a product's firmware to be updated in the field. At the factory, initial programming of firmware into a product is typically done through the MCU's Joint Test Action Group (JTAG) or the ARM Serial Wire Debugger (SWD) interface. However, these interfaces are usually not accessible in the field.

This is where bootloading comes in. Bootloading is a process that allows you to upgrade your system firmware over a standard communication interface such as USB, I2C, UART or SPI. A bootloader communicates with a host to get new application code or data, and writes it into the device's flash memory.

 


The following table indicates the PSoC devices, PSoC Creator versions, compilers, and development kits that will work with this application note project:

Project Device PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Architecture Silicon
Revision
V3.0 SP1
or higher
V2.2 SP1 001
DVK
030/050
DVK
042 Pioneer DVK
AN68272.zip PSoC3 Prod YES NO YES YES* N/A
PSoC4 Prod YES NO YES N/A YES**
PSoC5LP Prod YES NO YES YES* N/A
AN68272_Archive.zip PSoC3 Prod NO YES YES YES* N/A
PSoC5 Prod NO YES YES YES* N/A

* Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050.
** The project can be easily adapted to this DVK.

Notes:
  1. For PSoC 5 project and related document, please download file AN68272_Archive.zip.

Projects associated with this application note can be downloaded from the ‘Related Files’ section below. For your convenience, we have provided projects that are compatible with the two most recent versions of PSoC Creator: 

  • AN68272.zip is used with PSoC Creator 3.0 SP1
  • AN68272_Archive.zip is used with PSoC Creator 2.2 SP1

The project’s default settings may not be compatible with your device or kit, and you may need to change your project settings. For more information, see:

PSoC® 3, PSoC 4 and PSoC 5LP AN Project File Naming Convention and Use
]]>
Fri, 01 Aug 2014 04:31:50 -0600
AN73503 - USB HID Bootloader for PSoC<sup>®</sup> 3 and PSoC 5LP http://www.cypress.com/?rID=57561 AN73503 describes how to implement a USB bootloader for PSoC 3 and PSoC 5LP devices by using the USB Human Interface Device (HID) class. It also shows how to build a Windows-based USB host program. A PSoC Creator project and an example host program are included.

Introduction

Bootloaders are a common part of MCU system design. A bootloader makes it possible for a product's firmware to be updated in the field. At the factory, initial programming of firmware into a product is typically done through the MCU’s Joint Test Action Group (JTAG) or Serial Wire Debugger (SWD) interface. However, these interfaces are usually not available in the field.

This is where bootloading comes in. Bootloading is a process that allows you to upgrade your system firmware over a standard communication interface such as USB or I2C. A bootloader communicates with a host to get new application code or data, and writes it into the device’s flash memory.

To get introduced to basics of PSoC 3 and PSoC 5LP Bootloader please refer  AN73854 - PSoC® 3 and PSoC 5LP - Introduction to Bootloaders. If you intend to learn how to develop I2C Bootloader for PSoC 3 and PSoC 5LP,  AN60317 - PSoC® 3/PSoC 5LP I2C Bootloader  should get you going. 

Since the projects involve the use of USB component, in case of PSoC 5LP it is mandatory to use an external 24 MHz crystal.

The Bootloader GUI provided with this App Note has been tested to work on full-fledged Windows operating system only.
The GUI is not tested and not guaranteed to work on Virtual machines.
 


Project
Device
PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Compiler
Architecture
Silicon
Revision
V2.2 V2.1 SP1
/V2.1
001
DVK
030/050
DVK
003/014
FTK
Keil
GCC
RVDS
MDK

AN73503.zip

Prod
YES
NO
YES
YES*
NO
YES
N/A
N/A
N/A
Prod
YES
NO
YES
YES*
NO
N/A
YES
YES
YES
AN73503_Archive.zip
ES3, Prod
NO
YES
YES
YES*
NO
YES
N/A
N/A
N/A
ES1, Prod
NO
YES
YES
YES*
NO
N/A
YES
YES
YES

*Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050

Notes:

  1. Click on AN77835 - PSoC® 3 to PSoC 5LP Migration Guide to learn differences between PSoC 3 and PSoC 5LP.
  2. For PSoC 5 project and related document, please download file AN73503_Archive.zip.

Projects associated with this application note can be downloaded from the ‘Related Files’ section below. For your convenience, we have provided projects that are compatible with the two most recent versions of PSoC Creator:

  • AN73503.zip is used with PSoC Creator 2.2
  • AN73503_Archive.zip is used with PSoC Creator 2.1 SP1/2.1

The project’s default settings may not be compatible with your device or kit, and you may need to change your project settings. For more information, see:

PSoC® 3, PSoC 5, and PSoC 5LP AN Project File Naming Convention and Use
]]>
Fri, 01 Aug 2014 04:26:36 -0600
AN73854 - PSoC<sup>®</sup> 3, PSoC 4, and PSoC 5LP – Introduction to Bootloaders http://www.cypress.com/?rID=56014 AN73854 gives a brief introduction to bootloader theory and technology, and then shows how bootloaders are quickly and easily implemented in PSoC® 3, PSoC 4, and PSoC 5LP devices, using PSoC Creator™. Topics include bootloader system description, features, and customization.

Introduction

This application note gives an overview of bootloader fundamentals and design principles, and then shows how they are implemented for PSoC 3, PSoC 4, and PSoC 5LP in PSoC Creator projects.

]]>
Fri, 01 Aug 2014 01:52:36 -0600
AN82156 - PSoC® 3, PSoC 4, and PSoC 5LP - Designing PSoC Creator™ Components with UDB Datapaths http://www.cypress.com/?rID=69774

Introduction

AN82156 explains how to design PSoC Creator Components that use PSoC 3, PSoC 4, and PSoC 5LP Universal
Digital Block (UDB) datapaths. Datapath-based Components can implement common functions such as counters,
PWMs, Shifters, UARTs, SPI, etc. They can also be used to create custom digital peripherals, and to perform data
management tasks to offload the CPU. The use of the PSoC Creator UDB Editor Tool to create, view, and modify
datapath instances is described.
 

Notes:

  1. Click on AN77835 - PSoC® 3 to PSoC 5LP Migration Guide to learn differences between PSoC 3 and PSoC 5LP.
  2. For PSoC 5 project and related document, please download file AN82156_Archive.zip.

Project Device PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Architecture Silicon
Revision
V3.0 SP1
or higher
V2.2 SP1
/2.1
001
DVK
030/050
DVK
042 Pioneer DVK
AN82156.zip PSoC3 Prod YES NO YES YES* N/A
PSoC4 Prod YES NO YES N/A YES**
PSoC5LP Prod YES NO YES YES* N/A
AN82156_Archive.zip PSoC3 ES2, ES3, Prod NO YES YES YES* N/A
PSoC5 ES1, Prod NO YES YES YES* N/A

* Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050.
** The project can be easily adapted to this DVK.

Projects associated with this application note can be downloaded from the 'Related Files' section below. For your convenience, we have provided projects that are compatible with the two most recent versions of PSoC Creator:

  • AN82156.zip is used with PSoC Creator 3.0 SP1 and 2.2 SP1
  • AN82156_Archive.zip is used with PSoC Creator 2.1 SP1/2.1

The project’s default settings may not be compatible with your device or kit, and you may need to change your project settings. For more information, see:

PSoC® 3, PSoC 5, and PSoC 5LP AN Project File Naming Convention and Use
]]>
Wed, 30 Jul 2014 16:59:43 -0600
External Library http://www.cypress.com/?rID=56759 Features

  • The library provides documentation for annotation components.
     

General Description

The External Library provides a way for you to mix external and internal components on the same schematic. This makes it possible to improve documentation and better understand the internal schematic and entire design. The components in this library cover the most common components that are most likely to be placed on the periphery of a PSoC device. These components consist of resistors, capacitors, transistors, inductors, switches, and others. The library is not intended to supply every possible part, but should support a wide range of designs. You can easily create your own part or parts library if your design includes a custom or unique component.

]]>
Wed, 30 Jul 2014 01:24:05 -0600
Pins http://www.cypress.com/?rID=48513 Features

  • Rapid setup of all pin parameters and drive modes
  • Allows PSoC Creator to automatically place and route signals
  • Allows interaction with one or more pins simultaneously
Symbol Diagram

General Description

The Pins component allows hardware resources to connect to a physical port-pin. It provides access to external signals through an appropriately configured physical IO pin. It also allows electrical characteristics (e.g., Drive Mode) to be chosen for one or more pins; these characteristics are then used by PSoC Creator to automatically place and route the signals within the component.

]]>
Wed, 30 Jul 2014 00:45:45 -0600
AN52927 - PSoC<sup>®</sup> 3 and PSoC 5LP - Segment LCD Direct Drive http://www.cypress.com/?rID=37795 AN52927 demonstrates how easy it is to drive a segment LCD glass using the integrated LCD driver in PSoC 3 and PSoC 5LP. This application note gives a brief introduction to segment LCD drive features and provides a step-bystep procedure to design Segment LCD applications using the PSoC Creator tool.

PSoC3 device is equipped with segment LCD driver which allows segment LCD glass to be directly driven without using any external components.

Segment LCD glass interface to PSoC3

The driver supports LCDs upto 16 commons and can drive upto 768 segments. PSoC Creator tool provides Segment LCD component which simplifies the task of handling different types of segment LCD features such as 7-segment, 14-segment, 16-segment, Dot-Matrix and special symbols. This application note explains how to use Segment LCD component for a given LCD specifications.

This application note only covers segment LCD drive capability of PSoC3. Another type of LCDs- the graphic LCDs can also be interfaced to PSoC3. For details of interfacing graphic LCDs to PSoC3, click the following links-

http://www.cypress.com/?rID=48850

http://www.cypress.com/?rID=48854

 

Demo Video: PSoC3 Segment LCD Direct Drive Demo

This video explains how to create projects with Segment LCD Component of PSoC3.

 

 

The following table indicates the PSoC devices, PSoC Creator versions, compilers, and development kits that will work with this application note project:


Project
Device
PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Compiler
Architecture
Silicon
Revision
V3.0 SP1
or higher
V2.1 SP1/
V2.1
001
DVK
030/050
DVK
003/014
FTK
Keil
GCC
RVDS
MDK

AN52927.zip

Prod
YES
NO
YES
YES*
NO
YES
N/A
N/A
N/A
Prod
YES
NO
YES
YES*
NO
N/A
YES
YES
YES
AN52927_Archive.zip
ES3, Prod
NO
YES
YES
YES*
NO
YES
N/A
N/A
N/A

*Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050


Projects associated with this application note can be downloaded from the ‘Related Files’ section below. For your convenience, we have provided projects that are compatible with the two most recent versions of PSoC Creator:

  • AN52927.zip is used with PSoC Creator 3.0 SP1
  • AN52927_Archive.zip is used with PSoC Creator 2.1 SP1/2.1

The project’s default settings may not be compatible with your device or kit, and you may need to change your project settings. For more information, see:

PSoC® 3 and PSoC 5 AN/CE project file naming convention and usage
]]>
Mon, 28 Jul 2014 05:15:14 -0600
PSoC® USB Audio Class Support - KBA93271 http://www.cypress.com/?rID=98073 Answer: All PSoC 3 and PSoC 5LP devices that are USB capable support the USB Audio Class and conform to it as a slave device. Additionally, PSoC Creator™ supports the USB Audio Class by default. The potential applications for USB audio are quite large and at the moment, Cypress provides a limited number of example projects for reference. Two of the available example projects are included with PSoC Creator: USB_MIDI and USB_AUDIO. These projects can be obtained using the Find Example Project window, accessed via either the PSoC Creator Tool Bar (File > Example Project) or the PSoC Creator Start Page. Figure 1 shows the available USB audio projects that can be found using the USBFS keyword.

Figure 1. Find Example Project Window

Additionally, PSoC 4 Pioneer Kit Community Project#102 – USB Audio using the PSoC 5LP is a more advanced example project that can be found at the Element14 community forum, developed by Cypress, and is targeted towards PSoC 5LP devices. This project builds upon the basics by including information on using an I2S interface and a pulse density modulation (PDM) microphone.

These three examples should provide the fundamental framework needed to develop a broad range of audio applications using isochronous (ISO) endpoints. In conjunction with these examples, you can use information provided in the Universal Serial Bus Device Class Definition for Audio Devices, provided by the USB Implementers Forum (USB-IF), to develop additional audio applications.

Note that Microsoft® Windows® 2000/XP and beyond are released with built in Audio Class Drivers. No additional drivers need to be provided by the end user. For additional information on USB descriptors and ISO endpoints, refer to the following application notes or contact Cypress Technical Support.

AN57294 - USB 101: An Introduction to Universal Serial Bus 2.0
AN56377 - PSoC® 3 and PSoC 5LP USB Transfer Types

]]>
Mon, 28 Jul 2014 04:52:59 -0600
AN52705 - PSoC® 3 and PSoC 5LP - Getting Started with DMA http://www.cypress.com/?rID=37793 AN52705 provides an introduction to direct memory access (DMA) in PSoC® 3 and PSoC 5LP. PSoC DMA can transfer data between on-chip peripherals and memory with no CPU intervention. The application note illustrates how to configure the DMA for simple data transfers, including peripheral to memory, memory to peripheral, peripheral to peripheral and memory to memory, using example projects.

Introduction

The DMA controller (DMAC) in PSoC 3 and PSoC 5LP can transfer data from a source to a destination with no CPU intervention. This allows the CPU to handle other tasks while the DMA does data transfers, thereby achieving a 'multiprocessing' environment.

The PSoC DMA Controller (DMAC) is highly flexible – it can seamlessly transfer data between memory and on chip peripherals including ADCs, DACs, Filter, USB, UART, and SPI. There are 24 independent DMA channels.

 The following table indicates the PSoC devices, PSoC Creator versions, compilers, and development kits that will work with this application note project:


Project
Device
PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Compiler
Architecture
Silicon
Revision
V3.0 SP1
or higher
V2.1/2.0
001
DVK
030/050
DVK
003/014
FTK
Keil
GCC
RVDS
MDK

AN52705.zip

Prod
YES
NO
YES
YES*
NO
YES
N/A
N/A
N/A
Prod
YES
NO
YES
YES*
NO
N/A
YES
YES
YES
AN52705_Archive.zip
ES2, ES3, Prod
NO
YES
YES
YES*
NO
YES
N/A
N/A
N/A
ES1, Prod
NO
YES
YES
YES*
NO
N/A
YES
YES
YES

 *Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050

Note:
  1. For PSoC 5 project and related document, please download file AN52705_Archive.zip.

Projects associated with this application note can be downloaded from the ‘Related Files’ section below. For your convenience, we have provided projects that are compatible with the two most recent versions of PSoC Creator:

  • AN52705.zip is used with PSoC Creator 3.0 SP1
  • AN52705_Archive.zip is used with PSoC Creator 2.1/2.0

The project’s default settings may not be compatible with your device or kit, and you may need to change your project settings. For more information, see:

PSoC® 3, PSoC 4 and PSoC 5LP AN Project File Naming Convention and Use
]]>
Mon, 28 Jul 2014 03:51:09 -0600
Voltage Sequencer http://www.cypress.com/?rID=68786 Features

  • Supports sequencing and monitoring of up to 32 power converter rails
  • Supports power converter circuits with logic-level enable inputs and logic-level power good (pgood) status outputs
  • Autonomous (standalone) or host driven operation
  • Sequence order, timing and inter-rail dependencies can be configured through an intuitive, easy-to-use graphical configuration GUI


General Description

The Voltage Sequencer component provides a simple way to define power-up and power-down sequencing of up to 32 power converters to meet user-defined system requirements. Once the sequencing requirements have been entered into the easy-to-use graphical configuration GUI, the component will automatically take care of the sequencing implementation without requiring any firmware development by the user.

Voltage Sequencer_1
]]>
Thu, 24 Jul 2014 11:55:59 -0600
Toggle Flip Flop http://www.cypress.com/?rID=73664 Features

  • T input toggles Q values
  • Configurable width for array of Toggle Flip Flops with a single enable
Symbol Diagram

General Description

The Toggle Flip Flop captures a digital value that can be toggled.  Use to implement sequential logic.

 

]]>
Thu, 24 Jul 2014 11:53:46 -0600
SR Flip Flop http://www.cypress.com/?rID=73663 Features

  • Clocked for safe use in synchronous circuits
  • Configurable width for array of SR Flip Flops
Symbol Diagram

General Description

The SR Flip Flop stores a digital value that can be set or reset.  Use to implement sequential logic.

 

]]>
Thu, 24 Jul 2014 11:51:18 -0600
MDIO Interface http://www.cypress.com/?rID=76699 Features
Symbol Diagram
  • Used in conjunction with Ethernet products
  • Configurable physical address
  • Supports up to 4.4 MHz in the clock bus (mdc)
  • Compliant with IEEE 802.3 Clause 45
  • Automatically allocates memory for the register spaces that can be configured through an intuitive, easy-to-use graphical configuration GUI

General Description

The MDIO Interface component supports the Management Data Input/Output, which is a serial bus defined for the Ethernet family of IEEE 802.3 standards for the Media Independent Interface (MII). The MII connects Media Access Control (MAC) devices with Ethernet physical layer (PHY) circuits. The component is compliant with IEEE 802.3 Clause 45.

]]>
Thu, 24 Jul 2014 11:48:23 -0600
Frequency Divider http://www.cypress.com/?rID=73667 Features

  • Divides a clock or arbitrary signal by a specified value
  • Enable and Reset inputs to control and align divided output
Symbol Diagram

General Description

The Frequency Divider component produces an output that is the clock input divided by the specified value.  Use as a simple clock divider for UDB components or to divide the frequency of another signal.

 

]]>
Thu, 24 Jul 2014 11:45:59 -0600
Edge Detector http://www.cypress.com/?rID=73666 Features

  • Detects Rising Edge, Falling Edge, or Either Edge
Symbol Diagram

General Description

The Edge Detector component samples the connected signal and produces a pluse when the selected edge occurs.  Use when a circuit needs to respond to a state change on a signal.

 

]]>
Thu, 24 Jul 2014 11:42:54 -0600
Digital Comparator http://www.cypress.com/?rID=73665 Features

  • 1 to 32 bit Configurable Digital Comparator
  • Six selectable comparison operators
Symbol Diagram

General Description

The Digital Comparator component provides a selectable-width, selectable-type comparator implemented in PLD macrocells.  Use when the digital values of two signals need to be compared.

 

]]>
Thu, 24 Jul 2014 11:40:16 -0600
Logic High/Logic Low http://www.cypress.com/?rID=48514 Features

  • Constant digital high or low signal
Symbol Diagram

General Description

The Logic High and Logic Low components provide constant digital values and are used to hard code digital inputs. Hard coding of static inputs results in optimized resource usage and is the preferred method of providing a constant input state.

]]>
Thu, 24 Jul 2014 11:35:44 -0600
ILO TRIM http://www.cypress.com/?rID=78823 Features Symbol Diagram
  • Trims 1 kHz and 100 kHz ILO for PSoC 3, PSoC 4, and PSoC 5LP
  • ILO trimming support for PSoC 3, PSoC 4, and PSoC 5LP
  • UDB and Fixed-Function modes
  • User-specified reference clock

General Description

The ILO Trim component allows your application to determine the accuracy of the ILO. It provides a scaling function to allow the application to compensate for this inaccuracy. For PSoC 3, PSoC 4, and PSoC 5LP devices, it can also directly improve the accuracy of the ILO by using a user-defined higher frequency, higher accuracy reference clock to count the number of ILO clock cycles. The derived information is then used to trim the ILO trim registers to incrementally approach the desired ILO frequency. The component supports both UDB and Fixed-Function implementations.

]]>
Thu, 24 Jul 2014 11:33:17 -0600
Digital Constant http://www.cypress.com/?rID=73661 Features

  • Represents a digital value clearly on a schematic
  • Display in hexadecimal or decimal
  • Configurable width up to 32 bits
Symbol Diagram

General Description

The Digital Constant provides a convenient way to represent digital values in designs.  Use whenever a constant digital value is needed in a design including bit-masks and magnitude comparisons.

]]>
Thu, 24 Jul 2014 11:30:44 -0600
Component Locking Feature Using the Analog Device Editor in PSoC<sup>®</sup> Creator™ – KBA85474 http://www.cypress.com/?rID=97356 Answer: There are two methods by which this can be achieved.

Method 1: Use the placement force directives under the Directives tab of the .cydwr file of the project.

Example: Forcing a SAR ADC component on Top Design to a particular location in the fitter (i.e., a way of telling the routing tool which of the available two fixed function SAR ADCs to select for this component). The following design schematic has two SAR ADCs: ADC1 and ADC2, which should be locked down to SAR0 and SAR1 respectively.

Figure 1. Design Schematic

Design Schematic

Figure 2. The .cydwr Settings under the Directives Tab

Directives Tab

Method 2: Use the lock down and relocate feature of the Analog Device Editor. This is limited to locking down only analog components, signals, and nets.

For the same example and Top Design as the above method, do the following.

  1. Go to the Analog tab under the .cydwr file of the project.
  2. For relocating the current selection of component using the fitter tool: Right-click the component, select Relocate, and make the appropriate selection.
  3. For locking the existing selection of a component: Right-click a particular SAR ADC position—say, SAR0—and click Lock to F(SAR,0).
  4. The display table on the right side also has a description of the components, muxes, pins, and nets. Locking can also be done by checking the corresponding Locked check box. The locked components have a small lock symbol at the top of the component.

Figures 3–5 depict the procedure explained here.

Figure 3. Relocating an Existing Selection of the Component

Relocating

Figure 4. Lock-Down Feature in the Analog Device Editor

Lock-Down

Figure 5. The Lock Symbol at the Top Left of SAR0

Lock Symbol

]]>
Thu, 24 Jul 2014 07:15:48 -0600
Digital Logic Gates http://www.cypress.com/?rID=48520 Features

  • Industry standard logic gates
  • Configurable number of inputs up to 8
  • Optional array of gates
Symbol Diagram

General Description

Logic gates provide basic boolean operations. The output of a logic gate is a boolean combinatorial function of the inputs. There are seven basic logic gates: AND, OR, Inverter (NOT), NAND, NOR, XOR, and XNOR.

]]>
Wed, 23 Jul 2014 12:49:50 -0600
Voltage Reference (Vref) http://www.cypress.com/?rID=48512 Features

  • Voltage references and supplies
  • Multiple options
  • Bandgap principle to achieve timer, temperature, and voltage stability
Symbol Diagram

General Description

This description applies to PSoC 3 and PSoC 5LP devices. The Voltage Reference (Vref) component provides one of several voltage reference outputs. The 1.024 V and 0.256 V outputs are temperature compensated using the bandgap principle to achieve excellent stability.

]]>
Wed, 23 Jul 2014 12:44:45 -0600
Virtual Mux http://www.cypress.com/?rID=48511 Features

  • Selects 1 of up to 16 inputs
  • Selection is static
  • Configurable number of inputs
Symbol Diagram

General Description

Virtual mux components are similar to conventional muxes in that they connect a selected input to an output. For a conventional mux, the input selection can be dynamically controlled by a control signal. For a virtual mux, the input selection is determined by an expression that evaluates to a constant when used within a design. The purpose of the virtual mux is to pick one input at build time.

There are two separate virtual mux components: one analog and one digital.

]]>
Wed, 23 Jul 2014 12:41:07 -0600
Vector CAN http://www.cypress.com/?rID=56768 Features
Symbol Diagram
  • CAN2.0 A/B protocol implementation, ISO 11898-1 compliant
  • Programmable bit rate up to 1 Mbps @ 8 MHz (BUS_CLK)
  • Two or three wire interface to external transceiver (Tx, Rx, and Tx Enable)
  • Driver provided and supported by Vector

General Description

The Vector CANbedded environment consists of a number of adaptive source code components that cover the basic communication and diagnostic requirements in automotive applications.

The Vector CANbedded software suite is customer specific and its operation will vary according to application and OEM. This component for the Vector CANbedded suite is written to generically support the CANbedded structure regardless of the flavor of the particular OEM application. 

]]>
Wed, 23 Jul 2014 12:16:08 -0600
PSoC<sup>®</sup> USB Mass Storage Class Support – KBA93269 http://www.cypress.com/?rID=97863 Answer: All PSoC devices that are USB capable can support the USB MSC and conform to it as a slave device. At the moment, Cypress® does not provide any working examples nor does PSoC Designer™ or PSoC Creator™ support it natively. However, it is possible to implement the MSC yourself. This functionality can be implemented by making modifications to the descriptor table in the USBFS_descr.c file. To gain an understanding of what the mass storage descriptors should look like, refer to Universal Serial Bus Mass Storage Class: Bulk-Only Transport, a document provided by the USB Implementers Forum (USB-IF).

Additionally, Use of User-Defined Descriptors in a Full Speed USB Component – KBA91688 will provide instructions on how to use user-defined descriptors.

Once the proper descriptors are implemented, the PSoC device will enumerate as a mass storage device. At that point, the bulk endpoints can be used to transfer data upstream and downstream. If you are using a PSoC 3 or PSoC 5LP device, the emFile Component could be used in conjunction with the USBFS Component, configured for mass storage, as a way to provide expanded storage capabilities.

Note that Microsoft® Windows® 2000/XP and beyond are released with built in MSC drivers. No additional drivers need to be provided by the end user. For additional information on understanding USB descriptors and bulk endpoints, refer to the following application notes or contact Cypress Technical Support.

AN57294 – USB 101: An Introduction to Universal Serial Bus 2.0

AN56377 – PSoC® 3 and PSoC 5LP USB Transfer Types

]]>
Wed, 23 Jul 2014 04:50:37 -0600
PSoC<sup>®</sup> 3 and PSoC 5LP Boost Inductor Current Rating - KBA80957 http://www.cypress.com/?rID=39945 Answer: The DC current rating of the inductor should be greater than or equal to 700mA. The inductor peak current can go up to a maximum of 700 mA during start-up. So, if you use an inductor with a lesser current rating, the boost converter may not start properly.

During startup or transient operation (when the output voltage changes), the load capacitor acts like a short circuit and will draw as much current as the converter can deliver. There are current limiting provisions inside the boost converter that prevent the current from growing unbounded. The effective current limit is under 700mA. So, if you use an underrated inductor the boost converter may not start properly. The reason is that the inductor becomes saturated and ceases to behave as an inductor, dissipating energy in it and hence, not transferring the energy effectively.

The boost converter can give a maximum load current of 75mA. Even if the load is small, the inductor must be capable of delivering peak currents. This is because transient loads will pull the output below the narrow regulation window provided by minimum PWM signals, requiring occasional full current (maximum duty cycle) pulses to restore the voltage to target value.

Thus the inductor always needs to be rated for full current.

Note: The maximum ratio of the output voltage to the input voltage of the boost can be 4.

]]>
Wed, 23 Jul 2014 04:32:31 -0600
Voltage Fault Detector (VFD) http://www.cypress.com/?rID=69014 Features
  • Monitor up to 32 voltage inputs
  • User-defined over and under voltage limits
  • Simply outputs a good/bad status result
Symbol Diagram

General Description

The Voltage Fault Detector component provides a simple way to monitor up to 32 voltage inputs against user-defined over and under voltage limits without using the ADC and without having to write any firmware. The component simply outputs a good/bad status result (“power good” or pgood[x]) for each voltage being monitored.

The component operates entirely in hardware without any intervention from PSoC’s CPU core resulting in known, fixed fault detection latency.

Note: This component supports PSoC 3 and PSoC 5LP devices only.

]]>
Tue, 22 Jul 2014 11:51:19 -0600
UDB Clock Enable (UDBClkEn) http://www.cypress.com/?rID=48865 Features

  • Clock enable support
  • Addition of synchronization on a clock when needed
Symbol Diagram

General Description

The UDBClkEn component supports precise control over clocking behavior.

]]>
Tue, 22 Jul 2014 11:39:06 -0600
Full Speed USB (USBFS) http://www.cypress.com/?rID=48924 Features
  • USB Full Speed device interface driver
  • Support for interrupt, control, bulk, and isochronous transfer types
  • Runtime support for descriptor set selection
  • Optional USB string descriptors
  • Optional USB HID class support
  • Optional Bootloader support
  • Optional Audio class support
  • Optional MIDI devices support
  • Optional CDC class support
Symbol Diagram

General Description

The USBFS component provides a USB full-speed Chapter 9 compliant device framework. It provides a low-level driver for the control endpoint that decodes and dispatches requests from the USB host. Additionally, this component provides a USBFS customizer to make it easy to construct your descriptor.   

 

PSoC Creator USB FS Component Video

use for camtasia screencasts

]]>
Mon, 21 Jul 2014 18:58:22 -0600
Sample/Track and Hold Component (Sample_Hold) http://www.cypress.com/?rID=56758 Features Symbol Diagram
  • Two operating modes: Sample and Hold, Track and Hold
  • Four power mode settings

General Description

The Sample/Track and Hold component provides a way to sample a continuously varying analog signal and to hold or freeze its value for a finite period of time. It supports both Track and Hold and Sample and Hold functions, which can be selected in the customizer.

]]>
Mon, 21 Jul 2014 18:54:06 -0600
Real-Time Clock (RTC) http://www.cypress.com/?rID=48907 Features

  • Multiple Alarm Options
  • Multiple Overflow Options
  • Daylight Savings Time (DST) Option
Symbol Diagram

General Description

The Real-Time Clock (RTC) component provides accurate time and date information for the system. The time and date are updated every second based on a one pulse per second interrupt from a 32.768-kHz crystal. Clock accuracy is based on the crystal provided and is typically 20 ppm.   

]]>
Mon, 21 Jul 2014 18:49:21 -0600
Design Reuse - It is Time for New IP Creation Tools http://www.cypress.com/?rID=43833 For many years design reuse has been touted as an essential part of completing projects on-time and on-budget. This idea is not new and the expression “don’t reinvent the wheel” is used in high-tech environments the world over for very good reasons. However, design reuse is typically approached either from a solely hardware (microprocessor cores, reusable IP peripherals, hardware acceleration, and so on) or software (RTOS, protocol stacks, run-time libraries and so on) perspective, but rarely both. Why is that and how can it change?  To read more, click the download link below or visit: SOCcentral.

]]>
Mon, 21 Jul 2014 06:59:45 -0600
PSoC 3 Architecture http://www.cypress.com/?rID=40738 Sun, 20 Jul 2014 12:27:05 -0600 PSoC 3 Known Problems and Solutions http://www.cypress.com/?rID=40741 Mon, 14 Jul 2014 02:48:02 -0600 AN61102 - PSoC<sup>®</sup> 3 and PSoC 5LP - ADC Data Buffering Using DMA http://www.cypress.com/?rID=44335 AN61102 describes how to configure the direct memory access (DMA) to buffer the analog-to-digital converter (ADC) data. It discusses how to overcome some of the limitations of the DMA when buffering the ADC data.

The DMA controller in PSoC® 3 and PSoC 5LP is used to handle data transfer without CPU intervention. This is useful in applications that require ADC data buffering and allows the CPU to do simultaneous tasks.

The video describes the case of using a DMA to buffer ADC data. Buffering of 20 bit ADC data is taken as an example and discussed. The video also gives a preview of the project implementing the 20 bit data buffering and explains the DMA configuration in code.

 

 

The following table indicates the PSoC devices, PSoC Creator versions, compilers, and development kits that will work with this application note project:


Project
Device
PSoC Creator
Version
Development Kit
CY8CKIT-xxx
Compiler
Architecture
Silicon
Revision
V3.0 SP1
V2.1 SP1
/2.1
001
DVK
030/050
DVK
003/014
FTK
Keil
GCC
RVDS
MDK

AN61102.zip

Prod
YES
NO
YES
YES*
NO
YES
N/A
N/A
N/A
Prod
YES
NO
YES
YES*
NO
N/A
YES
YES
YES
AN61102_Archive.zip
ES3, Prod
NO
YES
YES
YES*
NO
YES
N/A
N/A
N/A
ES1, Prod
NO
YES
YES
YES*
NO
N/A
YES
YES
YES

*Refer to Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050

Notes:

  1. Click on AN77835 - PSoC® 3 to PSoC 5LP Migration Guide to learn differences between PSoC 3 and PSoC 5LP.
  2. For PSoC 5 project and related document, please download file AN61102_Archive.zip.

Projects associated with this application note can be downloaded from the ‘Related Files’ section below. For your convenience, we have provided projects that are compatible with the two most recent versions of PSoC Creator:

  • AN61102.zip is used with PSoC Creator 3.0 SP1
  • AN61102_Archive.zip is used with PSoC Creator 2.1 SP1/2.1

The project’s default settings may not be compatible with your device or kit, and you may need to change your project settings. For more information, see:

PSoC® 3, PSoC 4 and PSoC 5LP AN Project File Naming Convention and Use
]]>
Fri, 11 Jul 2014 03:56:20 -0600
Universal Asynchronous Receiver Transmitter (UART) http://www.cypress.com/?rID=48892 Features

  • 9-bit address mode with hardware address detection
  • Baud rates from 110 to 921600 bps or arbitrary up to 4 Mbps
  • RX and TX buffers = 4 to 65535
  • Detection of Framing, Parity, and Overrun errors
  • Full Duplex, Half Duplex, TX only, and RX only optimized hardware
  • Two out of three voting per bit
  • Break signal generation and detection
  • 8x or 16x oversampling
Symbol Diagram

General Description

The UART provides asynchronous communications commonly referred to as RS232 or RS485. The UART component can be configured for Full Duplex, Half Duplex, RX only, or TX only versions. All versions provide the same basic functionality. They differ only in the amount of resources used.

]]>
Wed, 09 Jul 2014 19:18:33 -0600
Timer http://www.cypress.com/?rID=48870 Features

  • Fixed-function (FF) implementation for PSoC 3 and PSoC 5 devices
  • 8-, 16-, 24-, or 32-bit timer
  • Optional capture input
  • Enable, trigger, and reset inputs, for synchronizing with other components
  • Continuous or one shot run modes
Symbol Diagram

General Description

The Timer component provides a method to measure intervals. It can implement a basic timer function and offers advanced features such as capture with capture counter and interrupt/DMA generation.

 
]]>
Wed, 09 Jul 2014 18:54:15 -0600
Thermocouple Calculator http://www.cypress.com/?rID=69779 Features
  • Supports B, E, J, K, N, R, S, and T Type Thermocouples
  • Provides functions for thermo-emf to temperature and temperature to voltage conversions
  • Displays Calculation Error Vs. Temperature graph
Symbol Diagram

General Description

In thermocouple temperature measurement, the thermocouple temperature is calculated based on the measured thermo-emf voltage. The voltage to temperature conversion is characterized by the National Institute of Standards and Technology (NIST), and NIST provides tables and polynomial coefficients for thermo-emf to temperature conversion. The NIST tables and polynomial coefficients can be found in the following link:

http://srdata.nist.gov/its90/download/download.html

Thermocouple temperature measurement also involves measuring the thermocouple reference junction temperature and converting it into a voltage. The Thermocouple Calculator component simplifies the thermocouple temperature measurement process by providing APIs for thermo-emf to temperature conversion and vice versa for all thermocouple types mentioned above, using polynomials generated at compile time. The thermocouple component evaluates the polynomial in an efficient way to reduce computation time.

]]>
Wed, 09 Jul 2014 18:50:31 -0600
Thermistor Calculator http://www.cypress.com/?rID=69783 Features
  • Adaptable for majority of negative temperature coefficient (NTC) thermistors
  • Look-Up-Table (LUT) or equation implementation methods
  • Selectable reference resistor, based on thermistor value
  • Selectable temperature range
  • Selectable calculation resolution for LUT method
Symbol Diagram

General Description

The Thermistor Calculator component calculates the temperature based on a provided voltage measured from a thermistor. The component is adaptable to most NTC thermistors. It calculates the Steinhart-Hart equation coefficients based on the temperature range and corresponding user-provided reference resistances. The component provides API functions that use the generated coefficients to return the temperature value based on measured voltage values.

This component doesn't use an ADC or AMUX inside and thus requires those components to be placed separately in your projects.

]]>
Wed, 09 Jul 2014 18:45:47 -0600
Terminal Reserve http://www.cypress.com/?rID=56767 Features

  • Prevents an analog router from using an analog block terminal routing resource
  • Allows safe firmware access to an analog block terminal routing resource
Symbol Diagram

General Description

The Terminal Reserve component reserves the analog routing resource connected to a component, such as the analog wire connected to a comparator or pin. This is an advanced feature that is not needed for most designs, and should be used with caution.

]]>
Wed, 09 Jul 2014 18:41:16 -0600
Digital Filter Block (DFB) Assembler http://www.cypress.com/?rID=60720 Features Symbol Diagram
  • Provides an editor to enter the assembler instructions to configure the DFB block and an assembler that converts the assembly instructions to instruction words.
  • Supports simulation of the assembly instructions.
  • Supports a code optimization option that provides a mechanism to incorporate up to 128 very large instruction words inside the DFB Code RAM.
  • Provides hardware signals such as DMA requests, DSI inputs and outputs, and interrupt lines.
  • Supports semaphores to interact with the system software and the option to tie the semaphores to hardware signals.

General Description

The digital filter block (DFB) in PSoC 3 and PSoC 5LP can be used as mini DSP processor and allows you to configure the DFB using assembly instructions. The component assembles the instructions entered in the editor and generates the corresponding hex code words, which can be loaded into the DFB. It also includes a simulator, which helps the user to simulate and debug the assembly instructions.

The DFB consists of a programmable 24*24 multiplier/accumulator (MAC), an arithmetic logic unit (ALU), shifter, and various program and data memory to store instructions and data. The DFB runs on the bus clock, and can interface with both CPU and DMA. It can be used to offload the CPU and can speed up arithmetic calculations that involve intensive multiply accumulate operations. Typical operations you can use the DFB component to implement include: vector operations, matrix operations, filtering operations, and signal processing.

]]>
Wed, 09 Jul 2014 18:36:32 -0600
Sync http://www.cypress.com/?rID=48925 Features

  • Synchronizes 1 to 32 input signals
Symbol Diagram

General Description

The Sync component resynchronizes a set of input signals to the rising edge of the clock signal.

]]>
Wed, 09 Jul 2014 18:32:15 -0600
Status Register http://www.cypress.com/?rID=46453 Features

  • Up to 8-bit Status Register
  • Interrupt support
Symbol Diagram

General Description

The Status Register allows the firmware to read digital signals.

]]>
Wed, 09 Jul 2014 18:23:42 -0600
Sleep Timer http://www.cypress.com/?rID=48912 Features

  • Wakes up devices from low-power modes: Alternate Active and Sleep
  • Contains configurable option for issuing interrupt
  • Generates periodic interrupts while the device is in Active mode
  • Supports twelve discrete intervals: 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, and 4096 ms
     
Symbol Diagram
General Description

The Sleep Timer component can be used to wake the device from Alternate Active and Sleep modes at a configurable interval. It can also be configured to issue an interrupt at a configurable interval. For PSoC 5 architectures, an interrupt is required for the CPU to wake up.

For PSoC 5, the supported intervals are restricted to: 4, 8, 16, 32, 64, 128 or 256 ms. Refer to the CyPmSleep() function description in the System Reference Guide for details about this restriction. The PSoC 5LP device supports the full set of intervals.

]]>
Wed, 09 Jul 2014 18:10:07 -0600
Shift Register (ShiftReg) http://www.cypress.com/?rID=48887 Features

  • Adjustable shift register size: 2 to 32 bits
  • Simultaneous shift in and shift out
  • Right shift or left shift
  • Reset input forces shift register to all 0s
  • Shift register value readable by CPU or DMA
  • Shift register value writable by CPU or DMA 

 

Symbol Diagram
General Description

The Shift Register (ShiftReg) component provides synchronous shifting of data into and out of a parallel register. The parallel register can be read or written to by the CPU or DMA. The Shift Register component provides universal functionality similar to standard 74xxx series logic shift registers including: 74164, 74165, 74166, 74194, 74299, 74595 and 74597. In most applications the Shift Register component will be used in conjunction with other components and logic to create higher-level application-specific functionality, such as a counter to count the number of bits shifted.

]]>
Wed, 09 Jul 2014 18:00:15 -0600
Software Transmit UART (SW_Tx_UART) http://www.cypress.com/?rID=82360 Features Symbol Diagram
  • Baud rates from 9,600 up to 115,200 bps
  • High baud rate accuracy
  • Low Flash/ROM resource usage

General Description

The Software Transmit UART (SW_Tx_UART) component is an 8-bit RS-232 data-format compliant serial transmitter.


]]>
Wed, 09 Jul 2014 17:24:17 -0600
Serial Peripheral Interface (SPI) Slave http://www.cypress.com/?rID=48908 Features

  • 3- to 16-bit data width
  • 4 SPI modes
  • Bit Rate up to 5 Mbps
Symbol Diagram

General Description

The SPI Slave provides an industry-standard, 4-wire slave SPI interface. It can also provide a 3-wire (bidirectional) SPI interface. Both interfaces support all four SPI operating modes, allowing communication with any SPI master device. In addition to the standard 8-bit word length, the SPI Slave supports a configurable 3- to 16-bit word length for communicating with nonstandard SPI word lengths.

]]>
Wed, 09 Jul 2014 17:17:56 -0600
Serial Peripheral Interface (SPI) Master http://www.cypress.com/?rID=48906

Features

  • 3- to 16-bit data width
  • Four SPI operating modes
  • Bit Rate up to 18 Mbps
Symbol Diagram

General Description

The SPI Master component provides an industry-standard, 4-wire master SPI interface. It can also provide a 3-wire (bidirectional) SPI interface. Both interfaces support all four SPI operating modes, allowing communication with any SPI slave device. In addition to the standard 8-bit word length, the SPI Master supports a configurable 3- to 16-bit word length for communicating with nonstandard SPI word lengths.     


PSoC Creator SPI Master Component video

use for camtasia screencasts

]]>
Wed, 09 Jul 2014 17:13:11 -0600
SMBus and PMBus Slave http://www.cypress.com/?rID=69782 Features
  • SMBus Slave mode
  • PMBus Slave mode
  • SMBALERT# pin support
  • 25 ms Timeout
  • Fixed Function (FF) and UDB implementations
  • Configurable SM/PM Bus commands
     
Symbol Diagram

General Description

The System Management Bus (SMBus) and Power Management Bus (PMBus) Slave component provides a simple way to add an I2C physical layer interface to a PSoC 3 or PSoC 5LP design with either SMBus or PMBus protocol running on top of it.

The SMBus is a two-wire interface with various System Management chips that can communicate with the system host. It uses I2C as a physical layer. The SMBus Slave component implements most of the SMBus Slave device specifications and provides options for configuring the slave device parameters. The slave device can communicate with the SMBus Master using the provided APIs.

The PMBus protocol is a specific implementation of the more generic SMBus protocol. With the PMBus, the component presents all the possible PMBus commands and allows you to select which commands are relevant to your application.

]]>
Wed, 09 Jul 2014 16:43:07 -0600
Stay Awake http://www.cypress.com/?rID=51208 Features

  • Use routes which remain active during sleep
Symbol Diagram

General Description

To protect against unintended shorts, the SC/CT and SAR blocks disconnect their terminals when the block goes to sleep. This will also disconnect any routes (static or dynamic) which use the block terminal as a via, or use the block terminal for track jumping.

We allow the user to identify those routes which must stay awake during device sleep using the Stay Awake component, which has a single connection and no parameters. The net to which the stay_awake component is attached will be routed without using the SC/CT or SAR block terminals.

]]>
Wed, 09 Jul 2014 16:39:14 -0600
Trans-Impedance Amplifier (TIA) http://www.cypress.com/?rID=48921 Features

  • Selectable conversion gain
  • Selectable corner frequency
  • Compensation for capacitive input sources
  • Adjustable power settings
  • Selectable input reference voltage
Symbol Diagram

General Description

The Trans-Impedance Amplifier (TIA) component provides an opamp-based current-to-voltage conversion amplifier with resistive gain and user-selected bandwidth. It is derived from the SC/CT block. 

]]>
Wed, 09 Jul 2014 16:32:52 -0600
Switched-Capacitor / Continuous-Time Comparator (SCCT_COMP) http://www.cypress.com/?rID=82358 Features Symbol Diagram
  • Selectable input reference voltage
  • Output routable to digital logic blocks or pins
  • Selectable output polarity

General Description

The SC/CT Comparator (SCCT_Comp) component provides a hardware solution to compare two analog input voltages. The implementation uses a mode of the Switched Capacitor / Continuous Time (SC/CT) analog block to implement the comparator. The output can be digitally routed to another component. A reference or external voltage can be connected to either input. You can also invert the output of the comparator using the Polarity parameter.


]]>
Wed, 09 Jul 2014 16:29:34 -0600
Resistive Touch http://www.cypress.com/?rID=58690 Features

  • Supports 4-wire resistive touchscreen interface
  • Supports the Delta Sigma Converter for both the PSoC 3 and PSoC 5 devices
  • Supports the ADC Successive Approximation Register for PSoC 5 devices
    Symbol Diagram
General Description

This resistive touchscreen component is used to interface with a 4-wire resistive touch screen. The component provides a method to integrate and configure the resistive touch elements of a touchscreen with the emWin Graphics library. It integrates hardware-dependent functions that are called by the touchscreen driver supplied with emWin when polling the touch panel.

PSoC® Creator emWin and Resistive Touch Components Video
use for camtasia screencasts

]]>
Wed, 09 Jul 2014 16:00:30 -0600
Resistance Temperature Detector Calculator (RTD) http://www.cypress.com/?rID=69784 Features
  • Calculation accuracy 0.01 °C for -200 °C to 850 °C temperature range
  • Provides simple API function for resistance to temperature conversion
  • Displays Error Vs Temperature graph
Symbol Diagram

General Description

The Resistance Temperature Detector (RTD) Calculator component generates a polynomial approximation for calculating the RTD Temperature in terms of RTD resistance for a PT100, PT500 or PT1000 RTD. Calculation error budget is user-selectable, and determines the order of the polynomial that will be used for the calculation (from 1 to 5). A lower calculation error budget will result in a more computation intensive calculation. For example, a fifth order polynomial will give a more accurate temperature calculation than lower order polynomials, but will take more time for execution. After maximum and minimum temperatures and error budget are selected, the component generates the maximum temperature error, and an error vs. temperature graph for all temperatures in the range, along with an estimate of the number of CPU cycles necessary for calculation using the selected polynomial. Selecting the lowest error budget will choose the highest degree polynomial. For the whole RTD temperature range, -200 °C to 850 °C, the component can provide a maximum error of <0.01 °C using a fifth order polynomial.

]]>
Wed, 09 Jul 2014 15:54:01 -0600
Quadrature Decoder (QuadDec) http://www.cypress.com/?rID=46480 Features

  • Adjustable counter size: 8, 16, or 32 bits
  • Counter resolution of 1x, 2x, or 4x the frequency of the A and B inputs, for more accurate determination of position or speed
  • Optional index input to determine absolute position
  • Optional glitch filtering to reduce the impact of system-generated noise on the inputs
Symbol Diagram

General Description

The Quadrature Decoder (QuadDec) Component gives you the ability to count transitions on a pair of digital signals. The signals are typically provided by a speed/position feedback system mounted on a motor or trackball.

The signals, typically called A and B, are positioned 90 degrees out of phase, which results in a Gray code output. A Gray code is a sequence where only one bit changes on each count. This is essential to avoid glitches. It also allows detection of direction and relative position. A third optional signal, named Index, is used as a reference to establish an absolute position once per rotation.

]]>
Wed, 09 Jul 2014 15:48:34 -0600
Precision Illumination Signal Modulation (PrISM) http://www.cypress.com/?rID=48890 Features

  • Programmable flicker-free dimming resolution from 2 to 32 bit
  • Two pulse density outputs
  • Programmable output signal density
  • Serial output bit stream
  • Continuous run mode
  • User-configurable sequence start value
  • Standard or custom polynomials provided for all sequence lengths
  • Kill input disables pulse density outputs and forces them low
  • Enable input provides synchronized operation with other components
  • Reset input allows restart at sequence start value for synchronization with other components
  • Terminal Count Output for 8-, 16-, 24-, and 32-bit sequence lengths.
Symbol Diagram

General Description

The Precision Illumination Signal Modulation (PrISM) component uses a linear feedback shift register (LFSR) to generate a pseudo random sequence. The sequence outputs a pseudo random bit stream, as well as up to two user-adjustable pseudo random pulse densities. The pulse densities may range from 0 to 100 percent.

]]>
Wed, 09 Jul 2014 15:40:06 -0600
S/PDIF Transmitter (SPDIF_Tx) http://www.cypress.com/?rID=56750 Features
Symbol Diagram
  • Conforms to IEC-60958, AES/EBU, AES3 standards for Linear PCM Audio Transmission
  • Sample rate support for clock/128 (up to 192 kHz)
  • Configurable audio sample length (8/16/24)
  • Channel status bits generator for consumer applications
  • DMA support
  • Independent left and right channel FIFOs or interleaved stereo FIFOs

General Description

The SPDIF_Tx component provides a simple way to add digital audio output to any design. It formats incoming audio data and metadata to create the S/PDIF bit stream appropriate for optical or coaxial digital audio. The component supports interleaved and separated audio.

]]>
Wed, 09 Jul 2014 12:31:54 -0600
Pulse Width Modulator (PWM) http://www.cypress.com/?rID=48869 Features

  • 8- or 16-bit resolution
  • Multiple pulse width output modes
  • Configurable trigger
  • Configurable capture
  • Configurable hardware/software enable
  • Configurable dead band
  • Multiple configurable kill modes
  • Customized configuration tool
  • Fixed-function (FF) implementation for PSoC 3 and PSoC 5 devices
Symbol Diagram

General Description

The PWM component provides compare outputs to generate single or continuous timing and control signals in hardware. The PWM provides an easy method of generating complex real-time events accurately with minimal CPU intervention. PWM features may be combined with other analog and digital components to create custom peripherals.

]]>
Wed, 09 Jul 2014 12:25:41 -0600
Endian Format in a PSoC<sup>®</sup> 3/4/5LP Device Versus a Compiler – KBA91560 http://www.cypress.com/?rID=97351 Answer:

CPU Access:

The Keil Compiler provides macros (defined in cymem.a51) to access registers that internally control byte swapping. These macros must be used to access 8-, 16-, and 32-bit registers in PSoC 3 devices.

Macros for accessing registers mapped in the first 64K of XDATA space:

  • CY_GET_REG8(addr)
  • CY_SET_REG8(addr, value)
  • CY_GET_REG16(addr)
  • CY_SET_REG16(addr, value)
  • CY_GET_REG24(addr)
  • CY_SET_REG24(addr, value)
  • CY_GET_REG32(addr)
  • CY_SET_REG32(addr, value)

Macros for accessing registers mapped above the first 64K of XDATA space:

  • CY_GET_XTND_REG8(addr)
  • CY_SET_XTND_REG8(addr, value)
  • CY_GET_XTND_REG16(addr)
  • CY_SET_XTND_REG16(addr, value)
  • CY_GET_XTND_REG24(addr)
  • CY_SET_XTND_REG24(addr, value)
  • CY_GET_XTND_REG32(addr)
  • CY_SET_XTND_REG32(addr, value)

DMA Access:

When the source and destination data is organized in different endianness, the DMA transaction descriptor can be programmed to have the bytes endian swapped while in transit.

The SWAP_EN bit of the PHUB.TDMEM[0..127].ORIG_TD0 register specifies whether an endian swap should occur. If SWAP_EN is ‘1’ then an endian swap will occur. The size of the swap is determined by the SWAP_SIZE bit of the PHUB.TDMEM[0..127].ORIG_TD0 register.

  • If SWAP_SIZE = 0 then the swap size is two bytes, meaning that every two bytes are endian swapped during the DMA transfer.
    The code snippet of the TD configuration API to enable byte swapping for 2bytes data is given below.

    CyDmaTdSetConfiguration(myTd, 2, myTd, TD_TERMOUT0_EN | TD_SWAP_EN);

  • If SWAP_SIZE = 1 then the swap size is four bytes, meaning that every four bytes are endian swapped during the DMA transfer.
    The code snippet of the TD configuration API to enable byte swapping for 4bytes data is given below.

    CyDmaTdSetConfiguration(myTd, 4, myTd, TD_TERMOUT0_EN | TD_SWAP_EN | TD_SWAP_SIZE4);

PSoC 4/5LP:

PSoC 4/5LP designs use a GCC or MDK compiler that is based on little endian, unlike the PSoC 3 Keil Compiler. Therefore, DMA byte swapping must be disabled when the code is ported to a PSoC 5LP device. The same is not applicable for PSoC 4 because there is no DMA support for PSoC 4.

Refer to the DMA component datasheet, PSoC 3 Technical Reference Manual, and PSoC 5LP Technical Reference Manual for more details on DMA operation and usage.

]]>
Wed, 09 Jul 2014 01:39:08 -0600
Scanning Comparator (ScanComp) http://www.cypress.com/?rID=86075

Features

  • Scan up to 64 single ended or differential channels automatically
    Note The number of input and output channels will be limited by
    the hardware available in the device being used.
  • Up to 64 outputs routable to digital logic blocks or pins
  • Multiple comparison modes

Symbol Diagram

General Description

The Scanning Comparator (ScanComp) component provides a hardware solution to compare up to 64 pairs of analog input voltages signals using just one hardware comparator. The sampled comparator outputs can be enabled for connection in digital hardware. A reference or external voltage can be connected to each input.

]]>
Tue, 08 Jul 2014 17:54:32 -0600
Trim and Margin http://www.cypress.com/?rID=71587  

Features
  • Works with most adjustable DC-DC converters or regulators including LDOs, switchers and modules
  • Supports up to 24 DC-DC converters
  • 8 to 10-bit resolution PWM pseudo-DAC outputs
  • Supports real-time, closed-loop active trimming when used in conjunction with the Power Monitor component
  • Built-in support for margining
Symbol Diagram

General Description

The Trim and Margin component provides a simple way to adjust and control the output voltage of up to 24 DC-DC converters to meet system power supply requirements.

Users of this component simply enter the power converter nominal output voltages, voltage trimming range, margin high and margin low settings into the intuitive, easy-to-use graphical configuration GUI and the component takes care of the rest. The component will also assist the user to select appropriate external passive component values based on performance requirements.

The provided firmware APIs enable users to manually trim the power converter output voltages to any desired level within the operational limits of the power converter. Real-time active trimming or margining is supported via as a continuously running background task with an update frequency controlled by the user. 

]]>
Tue, 08 Jul 2014 16:37:41 -0600
Dithered Voltage Digital to Analog Converter (DVDAC) http://www.cypress.com/?rID=86073

Features

  • Two voltage ranges, 1 and 4 volts
  • Adjustable 9, 10, 11, or 12 bit resolution
  • Dithered using DMA for zero CPU overhead
  • Uses a single DAC block

Symbol Diagram

General Description

The Dithered Voltage Digital to Analog Converter (DVDAC) component has a selectable resolution between 9 and 12 bits. Dithering is used to increase the resolution of its underlying 8-bit VDAC8. Only a small output capacitor is required to suppress the noise generated by dithering.

]]>
Tue, 08 Jul 2014 16:26:14 -0600
8-Bit Voltage Digital to Analog Converter (VDAC8) http://www.cypress.com/?rID=49054 Features

  • Voltage output ranges: 1.020-V and 4.080-V full scale
  • Software or clock driven output strobe
  • Data source can be CPU, DMA, or Digital components
Symbol Diagram

General Description

The VDAC8 component is an 8-bit voltage output Digital to Analog Converter (DAC). The output range can be from 0 to 1.020 V (4 mV/bit) or from 0 to 4.08 V (16 mV/bit). The VDAC8 can be controlled by hardware, software, or a combination of both hardware and software.

]]>
Tue, 08 Jul 2014 13:50:15 -0600
LED Segment and Matrix Driver http://www.cypress.com/?rID=82355 Features Symbol Diagram
  • Up to 8 RGB 7-segment digits, or 24 monochrome 7-segment digits
  • Up to 8 14-segment or 16-segment displays
  • Up to 192 LEDs in an 8x8 tri-color matrix
  • Active high or active low commons
  • Active high or active low segments
  • Driver is multiplexed requiring no CPU overhead or interrupts
  • Functions for numeric and string display using 7-, 14-, and 16-segment displays
  • Independent brightness level for each common


General Description

The LED Segment and Matrix Driver component is a multiplexed LED driver that can handle up to 24 segment signals and 8 common signals. It can be used to drive 24 7-segment LEDs, eight 14/16-segment LEDs, eight RGB 7-segment LEDs, or a tri-color matrix of up to 192 LEDs in an 8x8 pattern. APIs are provided to convert alpha-numeric values to their segment codes, and the brightness of each of the commons can be controlled by the user. This component is supported for PSoC 3 and PSoC 5LP.

Multiplexing the LEDs is an efficient way to save GPIO pins, however the commons must be multiplexed at a steady rate. To address this latter issue, the component uses PSoC’s DMA and UDBs to multiplex the LEDs without CPU overhead. This eliminates cases of non-periodic updating as the multiplexing is handled solely using hardware. The CPU is thus used only when updating the display information and to change the brightness settings.

When displaying the 7/14/16 segment digits, these digits do not have to be grouped as a single numerical display. An 8 digit display could be divided up into one 2-digit and two 3-digit displays. When operating in the LED matrix mode, the individual displays do not have to be arranged in a matrix, but instead can be various single or grouped LEDs. The component also supports displaying combined digits with annunciators.


]]>
Tue, 08 Jul 2014 12:08:05 -0600
Inter-IC Sound Bus (I2S) http://www.cypress.com/?rID=46464

Features

  • Master only
  • 8 to 32 data bits per sample
  • 16-, 32-, 48-, or 64-bit word select period
  • Data rate up to 96 kHz with 64-bit word select period: 6.144 MHz
  • Tx and Rx FIFO interrupts
  • DMA support
  • Independent left and right channel FIFOs or interleaved stereo FIFOs
  • Independent enable of Rx and Tx
Symbol Diagram

General Description

The Integrated Inter-IC Sound Bus (I2S) is a serial bus interface standard used for connecting digital audio devices together. The specification is from Philips® Semiconductor (I2S bus specification; February 1986, revised June 5, 1996).

The I2S component operates in master mode only. It also operates in two directions, as a transmitter (Tx) and a receiver (Rx). The data for Tx and Rx are independent byte streams. The  byte streams are packed with the most significant byte first and the most significant bit in bit 7 of  the first word. The number of bytes used for each sample (a sample for the left or right channel)  is the minimum number of bytes to hold a sample.


PSoC Creator I2S Component Video

 

]]>
Tue, 08 Jul 2014 11:47:48 -0600
Direct Memory Access (DMA) http://www.cypress.com/?rID=46450 Features

  • 24 channels
  • Eight priority levels
  • 128 Transaction Descriptors (TDs)
  • 8-, 16-, and 32-bit data transfers
  • Configurable source and destination addresses
  • Support for endian compatibility
  • Can generate an interrupt when data transfer is complete
  • DMA Wizard to assist with application development
Symbol Diagram

General Description

The DMA component allows data transfers to and from memory, components, and registers. The controller supports 8-, 16-, and 32-bit wide data transfers, and can be configured to transfer data between a source and destination that have different endianess. TDs can be chained together for complex operations.

]]>
Mon, 07 Jul 2014 23:57:46 -0600
TMP05 Temp Sensor Interface http://www.cypress.com/?rID=73669 Features

  • Supports up to four TMP05 or TMP06 digital temperature sensors connected in daisy chain mode only
  • Continuous and one-shot modes of operation
  • Supports frequencies from 100 to 500 kHZ
  • Supports temperature range from 0 to 70 Celsius degrees
Symbol Diagram

General Description

The TMP05 Temp Sensor Interface component is a simple, easy to use component capable of interfacing with Analog Device’s TMP05/06 digital temperature sensors in daisy chain mode only. You can configure the component and monitor the temperature readings in one of two ways:

  • The continuous monitoring option allows you to record temperatures in a continuous fashion, at a sample rate dictated by the temperature sensor(s)
  • One-shot mode triggers the temperature measurement at a rate you can control control.

The first mode is intended for use in an environment where temperature variations are abrupt and need to be monitored frequently. The second option should be used when temperature measurements only need to be sampled once in a while or in applications where minimizing power consumption is important.
 

]]>
Mon, 07 Jul 2014 19:01:34 -0600
Power Monitor http://www.cypress.com/?rID=63922 Features

  • Interfaces to up to 32 DC-DC power converters
  • Measures power converter output voltages and load currents using a DelSig-ADC
  • Monitors the health of the power converters generating warnings and faults based on user-defined thresholds
  • Support for measuring other auxiliary voltages in the system
  • Support 3.3V and 5V chip power supply
Symbol Diagram


General Description

Power Converter Voltage Measurements:

For power converter voltage measurements, the ADC can be configured into single-ended mode (0-4.096 V range or 0-2.048 V range). The ADC can also be configurable into differential mode (±2.048 V range) to support remote sensing of voltages where the remote ground reference is returned to PSoC over a PCB trace. In cases where the analog voltage to be monitored equals or exceeds Vdda or the ADC range, external resistor dividers are recommended to scale the monitored voltages down to an appropriate range.

Power Converter Current Measurements:

For power converter load current measurements, the ADC can be configured into differential mode (+/- 64 mV or +/- 128 mV range) to support voltage measurement across a high-side series shunt resistor on the outputs of the power converters. Firmware APIs convert the measured differential voltage into the equivalent current based on the external resistor component value used. The ADC can also be configured into single-ended mode (matching the selected voltage measurement range) to support connection to external current sense amplifiers (CSAs) that convert the differential voltage drop across the shunt resistor into a single ended voltage or to support power converters or hot-swap controllers that integrate similar functionality.

PSoC Creator Power Monitor Component Video  

use for camtasia screencasts

]]>
Mon, 07 Jul 2014 18:50:13 -0600
Pseudo Random Sequence (PRS) http://www.cypress.com/?rID=46478 Features

  • 2 to 64 bits PRS sequence length
  • Time Division Multiplexing mode
  • Serial output bit stream
  • Continuous or single-step run modes
  • Standard or custom polynomial
  • Standard or custom seed value
  • Enable input provides synchronized operation with other components
  • Computed pseudo random number can be read directly from the Linear Feedback Shift Register (LFSR)
Symbol Diagram

General Description

The Pseudo Random Sequence (PRS) component uses an LFSR to generate a pseudo random sequence, which outputs a pseudo random bit stream. The LFSR is of the Galois form (sometimes known as the modular form) and uses the provided maximal code length, or period. The PRS component runs continuously after starting as long as the Enable Input is held high. The PRS number generator can be started with any valid seed value other than 0.

]]>
Mon, 07 Jul 2014 18:29:58 -0600
Programmable Gain Amplifier (PGA) http://www.cypress.com/?rID=48849

Features

  • Gain steps from 1 to 50
  • High input impedance
  • Selectable input reference
  • Adjustable power settings
Symbol Diagram

General Description

The PGA implements an opamp-based, non-inverting amplifier with user-programmable gain. This amplifier has high input impedance, wide bandwidth and selectable input voltage reference. It is derived from the switched capacitor/continuous time (SC/CT) block.

The gain can be between 1 (0 dB) and 50 (+34 dB). The gain can be selected using the configuration window or changed at run time using the provided API. The maximum bandwidth is limited by the gain-bandwidth product of the opamp and is reduced as the gain is increased. The input of the PGA operates from rail to rail, but the maximum input swing (difference between Vin and Vref) is limited to VDDA/Gain. The output of the PGA is class A, and is rail to rail for sufficiently high load resistance.

]]>
Mon, 07 Jul 2014 18:22:44 -0600
Inverting Programmable Gain Amplifier (PGA_Inv) http://www.cypress.com/?rID=48923 Features

  • Gain steps from -1 to -49
  • High input impedance
  • Adjustable power settings
Symbol Diagram

General Description

The Inverting Programmable Gain Amplifier (PGA_Inv) component implements an opamp-based inverting amplifier with user-programmable gain. It is derived from the switched capacitor/continuous time (SC/CT) block.

The inverting gain can be between -1.0 (0 dB) and -49.0 (+33.8 dB). The gain can be selected using the configuration window or changed at run time using the provided API. The maximum bandwidth is limited by the gain-bandwidth of the opamp and is reduced as the gain is increased. The input of the PGA_Inv operates from rail to rail, but the maximum input swing (difference between Vin and Vref) is limited to VDDA/Gain. The output of the PGA_Inv is class A, and is rail to rail for sufficiently high load resistance.

]]>
Mon, 07 Jul 2014 18:15:03 -0600
Operational Amplifier (Opamp) http://www.cypress.com/?rID=48919

Features

  • Follower or Opamp configuration
  • Unity gain bandwidth > 3.0 MHz
  • Input offset voltage 2.0 mV max
  • Rail-to-rail inputs and output
  • Output direct low resistance connection to pin
  • 25 mA output current
  • Programmable power and bandwidth
  • Internal connection for follower (saves pin)
Symbol Diagram

General Description

The Opamp component provides a low-voltage, low-power operational amplifier and may be internally connected as a voltage follower. The inputs and output may be connected to internal routing nodes, directly to pins, or a combination of internal and external signals. The Opamp is suitable for interfacing with high-impedance sensors, buffering the output of voltage DACs, driving up to 25 mA; and building active filters in any standard topology.   

]]>
Mon, 07 Jul 2014 18:04:28 -0600
Net Tie http://www.cypress.com/?rID=69003 Features

  • Connects two analog routes
  • Connects a constrained analog route with an unconstrained analog route
  • Connects two analog routes with different routing resource constraints
Symbol Diagram

General Description

The Net Tie component connects two analog routes to each other. Each of the routes may have a different analog resource constraint.
 

]]>
Mon, 07 Jul 2014 17:52:03 -0600
Net Join http://www.cypress.com/?rID=56746 Features

  • Connects two analog routes
  • Connects a constrained analog route with an unconstrained analog route
  • Connects two analog routes with different routing resource constraints
Symbol Diagram

General Description

The Net Join component connects two analog routes to each other. Each of the routes may have a different analog resource constraint.

]]>
Mon, 07 Jul 2014 17:48:26 -0600
Mixer http://www.cypress.com/?rID=48920 Features
Symbol Diagram
  • Single-ended mixer
  • Continuous-time up mixing:
    • Input frequencies up to 500 kHz
    • Sample clock up to 1 MHz
  • Discrete-time, sample-and-hold down mixing:
    • Input frequencies up to 14 MHz
    • Sample clock up to 4 MHz
  • Adjustable power settings
  • Selectable reference voltage

General Description

The Mixer component provides a single-ended modulator. The Mixer component can be used for frequency conversion of an input signal using a fixed Local Oscillator (LO) signal as the sampling clock. The manipulations of signal frequencies that a mixer performs can be used to move signals between frequency bands or to encode and decode signals. A mixer can be used to convert signal power at one frequency into power at another frequency to make signal processing easier, typically shifting higher frequencies to baseband.

]]>
Mon, 07 Jul 2014 17:43:18 -0600
Lookup Table (LUT) http://www.cypress.com/?rID=46472 Features

  • 1 to 5 Inputs
  • 1 to 8 Outputs
  • Configuration Tool
  • Optionally Registered Outputs
Symbol Diagram

General Description

You can set up the Lookup Table (LUT) component to perform any logic function with up to five inputs and eight outputs. This is done by generating logic equations that are realized in the UDB PLDs. Optionally, the outputs can be registered. These registers are implemented in PLD macrocells. All macrocell flip-flops are initialized to a 0 value at power up and after any reset of the device.

]]>
Mon, 07 Jul 2014 17:40:17 -0600
LIN Slave http://www.cypress.com/?rID=56718

Features

Symbol Diagram
  • Full LIN 2.1 or 2.0 Slave Node implementation
  • Supports compliance with SAE J2602-1 specification
  • Automatic baud rate synchronization
  • Fully implements a Diagnostic Class I Slave Node
  • Full transport layer support
  • Automatic detection of bus inactivity
  • Full error detection
  • Automatic configuration services handling
  • Customizer for fast and easy configuration
  • Import of *.ncf/*.ldf files and *.ncf file export
  • Editor for *.ncf/*.ldf files with syntax checking


General Description

The LIN Slave component implements a LIN 2.1 slave node on PSoC 3 and PSoC 5LP devices. Options for LIN 2.0 or SAE J2602-1 compliance are also available. This component consists of the hardware blocks necessary to communicate on the LIN bus, and an API to allow the application code to easily interact with the LIN bus communication. The component provides an API that conforms to the API specified by the LIN 2.1 Specification.

]]>
Mon, 07 Jul 2014 17:35:44 -0600
Segment LCD (SegLCD) http://www.cypress.com/?rID=48918 Features

  • 2 to 768 pixels or symbols
  • 1/3, 1/4 and 1/5 bias supported
  • 10- to 150-Hz refresh rate
  • Integrated bias generation between 2.0 V and 5.2 V with up to 128 digitally controlled bias levels for dynamic contrast control
  • Supports both type A (standard) and type B (low power) waveforms
  • Pixel state of the display may be inverted for negative image
  • 256 bytes of display memory (frame buffer)
  • User-defined pixel or symbol map with optional 7-, 14-, or 16-segment character; 5x7 or 5x8 dot matrix; and bar graph calculation routines.
Symbol Diagram


General Description

The Segment LCD (LCD_Seg) component can directly drive a variety of LCD glass at different voltage levels with multiplex ratios up to 16x. This component provides an easy method of configuring the PSoC device to drive your custom or standard glass. 

]]>
Mon, 07 Jul 2014 17:22:18 -0600
Graphic LCD Controller (GraphicLCDCtrl) http://www.cypress.com/?rID=48850 Features

  • Fully programmable screen size support up to HVGA resolution including:
    • QVGA (320x240) @ 60 Hz 16 bpp
    • WQVGA (480x272) @ 60 Hz 16 bpp
    • HVGA (480x320) @ 60 Hz 16 bpp
  • Supports virtual screen operation
  • Interfaces with SEGGER emWin graphics library
  •  Performs read and write transactions during the blanking intervals
  • Generation of continuous timing signals to the panel without CPU intervention
  • Supports up to a 23-bit address and a 16-bit data async SRAM device used as externally provided frame buffer
  • Generates a selectable interrupt pulse at the entry and exit of the horizontal and vertical blanking intervals
Symbol Diagram

General Description

The Graphic LCD Controller (GraphicLCDCtrl) component provides the interface to an LCD panel that has an LCD driver, but not an LCD controller. This type of panel does not include a frame buffer. The frame buffer must be provided externally.

This component also interfaces to an externally provided frame buffer implemented using a 16-bit wide async SRAM device.

     
]]>
Mon, 07 Jul 2014 17:11:57 -0600
Static Segment LCD (StaticSegLCD) http://www.cypress.com/?rID=46487
 Features
 
  • 1 to 61 pixels or symbols
  • 10- to 150-Hz refresh rate
  • User-defined pixel or symbol map with optional 7-segment, 14-segment, 16-segment and bar graph calculation routines
  • Direct drive static (one common) LCDs
   Symbol Diagram


General Description

The Static Segment LCD (LCD_SegStatic) component can directly drive 3.3-V and 5.0-V LCD glass. This component provides an easy method of configuring the PSoC device for your custom or standard glass.

Each LCD pixel/symbol may be either on or off. The Static Segment LCD component also provides advanced support to simplify the following types of display structures within the glass:

  • 7-Segment numeral
  • 14-Segment alphanumeric
  • 16-Segment alphanumeric
  • 1- to 255-element bar graph
]]>
Mon, 07 Jul 2014 16:47:44 -0600
Interrupt http://www.cypress.com/?rID=46451

Features

  • Defines hardware-triggered interrupts
  • Provides a software method to pend interrupt
Symbol Diagram

General Description

The Interrupt component defines hardware triggered interrupts. It is an integral part of the Interrupt Design-Wide Resource system (see PSoC Creator Help, Design-Wide Resources section).

There are three types of system interrupt waveforms that can be processed by the interrupt controller:

  • Level – IRQ source is sticky and remains active until firmware clears the source of the request with an action (for example clear on read). Most fixed-function peripherals have level-sensitive interrupts, including the UDB FIFOs and status registers.
  • Pulse – Ideally, a pulse IRQ is a single bus clock, which logs a pending action and ensures that the ISR action is only executed once. No firmware action to the peripheral is required.
  • Edge – An arbitrary synchronous waveform is the input to an edge-detect circuit and the positive edge of that waveform becomes a synchronous one-cycle pulse (Pulse mode).
]]>
Mon, 07 Jul 2014 16:35:41 -0600
I2C Master/Multi-Master/Slave http://www.cypress.com/?rID=51969

Features

  • Industry-standard NXP® I2C bus interface
  • Supports Slave, Master, Multi-Master and Multi-Master-Slave operation
  • Requires only two pins (SDA and SCL) to interface to I2C bus
  • Supports standard data rates of 100/400/1000 kbps
  • High level APIs require minimal user programming
   
  Symbol Diagram


General Description

The I2C component supports I2C slave, master, and multi-master configurations. The I2C bus is an industry-standard, two-wire hardware interface developed by Philips. The master initiates all communication on the I2C bus and supplies the clock for all slave devices.

The I2C component supports standard clock speeds up to 1000 kbps. It is compatible with I2C Standard-mode, Fast-mode, and Fast-mode Plus devices as defined in the NXP I2C-bus specification. The I2C component is compatible with other third-party slave and master devices.

Note: This version of the component datasheet covers both the fixed hardware I2C block and the UDB version.

]]>
Mon, 07 Jul 2014 16:27:30 -0600
Graphic LCD Interface (GraphicLCDIntf) http://www.cypress.com/?rID=48854 Features

  • 8 or 16 bit interface to Graphic LCD Controller
  • Compatible with many graphic controller devices
  • Interfaces with SEGGER emWin graphics library
  • Performs Read and write transaction
  • 2-255 cycles for Read Low Pulse Width
  • 1-255 cycles for Read High Pulse Width
  • Implements typical i8080 interface
Symbol Diagram
General Description

The Graphic LCD Interface (GraphicLCDIntf) component provides the interface to a graphic LCD controller and driver device. These devices are commonly integrated into an LCD panel. The interface to these devices is commonly referred to as an i8080 interface. This is a reference to the historic parallel bus interface protocol of the Intel 8080 microprocessor.    

]]>
Mon, 07 Jul 2014 16:18:59 -0600
Glitch Filter http://www.cypress.com/?rID=69781 Features
  • Eliminates unwanted “glitch” pulses on digital input lines
  • Programmable filtering length and bypass option

     
Symbol Diagram

General Description

Glitch filtering is the process of removing unwanted pulses from a digital input signal that is usually high or low. Glitches frequently occur on lines carrying signals from sources such as RF receivers. Electrical or in some cases even mechanical interference can trigger an unwanted glitch pulse from the receiver.

This design outputs a ‘1’ only when the current and previous N samples are ‘1’, and a ‘0’ only when the current and previous N samples are ‘0’. Otherwise the output is unchanged from its current value.

For more details on glitch filtering please see application note AN60024.

]]>
Mon, 07 Jul 2014 16:15:13 -0600
Filter http://www.cypress.com/?rID=46458 Features

  • Easy filter configuration using the Digital Filter Block (DFB) available in select PSoC 3 and PSoC 5LP devices
  • Supports two separate filter channels, each one constructed as a cascade of up to four separately designed stages.
  • Multiple FIR and IIR (Biquad) filter methods
  • Support for flexible coefficient entry
  • Final coefficient values available for further analysis
Symbol Diagram

 

General Description

The Filter component allows easy creation of single or dual channel digital filters using the DFB. The component includes a filter design feature, which greatly simplifies the design and implementation processes. It supports two streaming channels that can be streamed directly from other hardware blocks (such as the ADC) using DMA. The filtered results can likewise be transferred using DMA, interrupts, or polling methods. The DFB’s 128 data and coefficient locations are shared as needed between the two filter channels, and this information is used to guide the choice of filter implementation. It reports (but does not set) the minimum bus clock frequency required to execute the filtering within the declared sample interval. This clock can then be set in the design-wide resource manager.

The Filter component supports many use cases. If something unusual occurs when using it, please report it (with a good description). Either email psoc_creator_feedback@cypress.com or contact tech support at www.cypress.com.


PSoC® Creator Filter 2.0 Component Video

 

 
]]>
Mon, 07 Jul 2014 16:09:20 -0600
Fan Controller http://www.cypress.com/?rID=63918 Features

  • Support for up to 16 PWM controlled, 4-wire brushless DC fans
  • Individual or banked PWM outputs with tachometer inputs
  • Supports 25 kHz, 50 kHz or user-specified PWM frequencies
  • Supports fan speeds up to 25,000 RPM
  • Supports 4-pole and 6-pole motors
  • Supports fan stall / rotor lock detection on all fans
  • Supports firmware controlled or hardware controlled fan speed regulation
  • Customizable alert pin for fan fault reporting
Symbol Diagram

General Description

The Fan Controller component enables designers to quickly and easily develop fan controller solutions using PSoC. The component is a system-level solution that encapsulates all necessary hardware blocks including PWMs, tachometer input capture timer, control registers, status registers and a DMA controller reducing development time and effort.

The component is customizable through a graphical user interface enabling designers to enter fan electromechanical parameters such as duty cycle-to-RPM mapping and physical fan bank organization. Performance parameters including PWM frequency and resolution as well as open or closed loop control methodology can be configured through the same user interface. Once the system parameters are entered, the component delivers the most optimal implementation saving resources within PSoC to enable integration of other thermal management and system management functionality. Easy-to-use APIs are provided to enable firmware developers to get up and running quickly.

 

PSoC Creator Fan Controller Component Video

use for camtasia screencasts

]]>
Mon, 07 Jul 2014 15:42:09 -0600
Emulated EEPROM http://www.cypress.com/?rID=82352 Features Symbol Diagram
  • Provides EEPROM-like non-volatile storage
  • Supports PSoC 3, PSoC 4, and PSoC 5LP devices

General Description

The Emulated EEPROM component emulates an EEPROM device in the flash memory of a PSoC, providing simplified access to non-volatile memory.


]]>
Mon, 07 Jul 2014 13:54:22 -0600