You are here

AN62510 - Implementing State Machines with PSoC® 3, PSoC 4, and PSoC 5LP | 赛普拉斯半导体

AN62510 - Implementing State Machines with PSoC® 3, PSoC 4, and PSoC 5LP

2021 年 3 月 02 日
This application note explains implementation of state machines using the PSoC® 3/PSoC 4/PSoC 5LP family of devices. Mealy and Moore state machine implementations are shown with associated projects.


State machines are commonly used to implement decision making algorithms. State machines are used in applications where distinguishable states exist. A finite state machine (FSM) is based on the idea that a given system has a finite number of states.

This application note shows you how to implement both Mealy and Moore state machines using the Look Up Table (LUT) component in PSoC Creator™. Example projects are included.

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

Development Kit

架构 Silicon

V2.2 SP1

or higher
V2.1 SP1



042 Pioneer DVK PSoC3 Prod YES*
PSoC4 Prod YES**
PSoC5LP Prod YES* PSoC3 ES2, ES3, Prod YES*
PSoC5 ES1, Prod YES*

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

** The project can be easily adapted to this DVK.


  1. For PSoC 5 project and related document, please download file

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:

  • is used with PSoC Creator 2.2 SP1
  • 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:

Dear valued customer,

Thank you for choosing our products. They come with all the know-how and passion that our engineers have put into it. As you probably already know, Cypress is now Infineon. This is a major step for our company, but also for the good of you. 

Reliability and business continuity are of utmost importance for us. Hence, we remain fully committed to honoring existing customer and distributor relationships. This includes offering the legacy Cypress product portfolio. We thank you very much for your trusting support.

For the full version of this message, please download the PDF version.