AN 999: Drive-on-Chip with Functional Safety Design Example: Agilex™ 7 Devices
Visible to Intel only — GUID: epg1716373775070
Ixiasoft
Visible to Intel only — GUID: epg1716373775070
Ixiasoft
5.2.4. Safety Function Application (srt.c/.h)
In every interrupt by the timer the application copies an HPS channel speed estimation from the speed estimation thread. The program generates and copies the payload to the shared memory. Then it compares the latest with the payload available from the HPS safe channel. The HPS asserts the safety signals and writes to registers for the FPGA-HPS channel synchronization. If the safe state is triggered, the motor is stopped. The safety function pauses until you clear the state with the push button. Then the function continues with the regular activities for safe speed monitoring in Axis0.