AN54460 explains the interrupt architecture in PSoC® 3 and PSoC 5LP, and its configuration in PSoC Creator™ IDE with the help of example projects. Advanced interrupt topics such as handling re-entrant functions, interrupt code optimization, interrupt latency, and debug techniques are also explained.
Introduction
Interrupts are an important part of any embedded application. They free the CPU from having to continuously poll for the occurrence of a specific event and, instead, notify the CPU only when that event occurs. In system-on-chip (SoC) architectures such as PSoC, interrupts are frequently used to communicate the status of on-chip peripherals to the CPU.
This video provides a walkthrough of basics of PSoC 3 Interrupt architecture. It demonstrates how the PSoC Creator software supports Interrupts by using a simple example project.
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 /V2.1 SP1 |
001 DVK |
030/050 DVK |
042 Pioneer DVK | |
AN54460.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 | |
AN54460_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.
- For PSoC 5 project and related document, please download file AN54460_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:
- AN54460.zip is used with PSoC Creator 3.0 SP1
- AN54460_Archive.zip is used with PSoC Creator 2.2 SP1/2.1 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: