You are here

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

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

최신 업데이트: 
2020년 5월 28일
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: