I'm working on a project that receives a 1 PPS clock signal from a GPS module, and uses that to slot align data packets.
However, the rising edge of the 1 PPS pulse has a 90 nanoseconds delay, and somehow I need to compensate for that.
What are the best options to do that? My bit level IntervalTimer is firing at every 13 microseconds, so can't do much busy wait.
I'm currently using a T3.2, but I could use either a T3.5 or a T3.6 if they would work better.
Not particularly important at this point, but it would be nice if the same code would work as-is, or with little modification on other comparable Freescale devices such as some K22.
However, the rising edge of the 1 PPS pulse has a 90 nanoseconds delay, and somehow I need to compensate for that.
What are the best options to do that? My bit level IntervalTimer is firing at every 13 microseconds, so can't do much busy wait.
I'm currently using a T3.2, but I could use either a T3.5 or a T3.6 if they would work better.
Not particularly important at this point, but it would be nice if the same code would work as-is, or with little modification on other comparable Freescale devices such as some K22.