Arduino zero generate PPS with hardware timer

There is more information on this link: How to set PWM frequency to 1 Hz on an UNO - #10 by Railroader