AN90799 explains the interrupt architecture in PSoC 4 and its configuration in PSoC Creator™ IDE with the help of three example projects. Advanced interrupt concepts such as latency, vector selection, interrupt code optimization, 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.
Device |
PSoC Creator Version |
Development Kit | Compiler | |||||||
Architecture |
Silicon Revision |
V3.0 SP1 or higher |
V3.0 | 001 |
040 Pioneer |
042 Pioneer |
RVDS | GCC | MDK | |
4.4.1 * |
4.7.3 * |
|||||||||
PSoC4 | Prod | YES | NO | YES** | YES | YES | YES | N/A | YES* | YES |
* GCC version 4.7.3 is supported in PSoC Creator 3.0 and above. GCC version 4.4.1 is supported in previous versions. But, note that the project will work only on PSoC Creator 3.0 SP1 and later versions.
** The project can be easily adapted to this DVK.