Tool/software: Linux
I'm using github.com/.../pps-gen-gpio kernel module on AM335x SoC to generate PPS signal. Everything works as expected but accuracy is somewhat bad. The average delay of entering an interrupt and the delay for setting the pin is taken into account, however there is a jitter of PPS impulse anyway (2-7 us approximately). I am almost sure that the reason is floating time of gpiod_set_value() function (I've measured it and it floats from 2.3 to 6.3 us). Is there a way of getting rid of it and achieve an accuracy of at least <1us? I was thinking about attachment of hardware timer right to the gpio output (not sure that it is possible though) or using RTU cores that AM335x SoC possesses... I'm using gpio2_4 pin...