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

最終更新日: 
2020年5月28日
バージョン: 
*F
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

Version
Development Kit

CY8CKIT-xxx
アーキテクチャ Silicon

Revision
V2.2 SP1

or higher
V2.1 SP1

/2.1
001

DVK
030/050

DVK
042 Pioneer DVK
AN62510.zip PSoC3 Prod はい いいえ はい YES* なし
PSoC4 Prod はい いいえ はい なし YES**
PSoC5LP Prod はい いいえ はい YES* なし
AN62510_Archive.zip 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.

Notes:

  1. For PSoC 5 project and related document, please download file AN62510_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:

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