5.1.7 Event Systems

The AVR and PIC32CM Event System (EVSYS) peripherals enable direct and autonomous communication between peripherals without CPU intervention. This system allows peripherals to generate and respond to events, providing low-latency, predictable. and synchronized actions across multiple modules. By offloading inter-peripheral signaling from the CPU, the Event System reduces software complexity, improves real-time performance, and enables advanced features like Core Independent Peripherals (CIPs) and SleepWalking (peripheral operation in sleep modes). Table 5-9 shows a comparison of features between AVR and PIC32CM.

Table 5-9. AVR® and PIC32CM EVSYS Features
FeatureAVR® Event System (EVSYS)PIC32CM Event System (EVSYS)
Number of Event ChannelsUp to ten parallel channels (device-dependent)Up to 12 configurable channels (device-dependent)
Event Users/Generators

Peripherals

Software

Peripherals

Software

Channel RoutingPer channel: One generator, multiple usersPer channel: One generator, multiple users
Event Path Types

Asynchronous

Synchronous

Asynchronous

Synchronous

Resynchronized (via GCLK)

Edge DetectionConfigured through individual peripheralsConfigurable edge detector
Sleep ModeSupportedSupported
CPU OffloadingYesYes