rajiv.tctech
Member
Hello...
FIRST QUESTION:
I need to measure the timing between a sync pulse and several other pulses, to a resolution of a couple of nanoseconds. In the ESP32 there is ESP.getCycleCount(), which gives the number of processor cycles that have elapsed since the processor turned on. With a 240MHz clock, the ESP32 returned a period with a 4.167ns resolution, give or take a few cycles for interrupt service, reading etc.
Is there something similar in the Teensy 4.0 that can yield timing resolution to a couple of nanoseconds. Mine is a ToF application using radio pulses, something like a radar...
SECOND QUESTION:
Using the Teensyduino, is there a way to overclock the Teensy 4.0? If so, how and to what frequency can it be clocked safely at say, an ambient temperature of 25 deg Celsius?
Thank you.
FIRST QUESTION:
I need to measure the timing between a sync pulse and several other pulses, to a resolution of a couple of nanoseconds. In the ESP32 there is ESP.getCycleCount(), which gives the number of processor cycles that have elapsed since the processor turned on. With a 240MHz clock, the ESP32 returned a period with a 4.167ns resolution, give or take a few cycles for interrupt service, reading etc.
Is there something similar in the Teensy 4.0 that can yield timing resolution to a couple of nanoseconds. Mine is a ToF application using radio pulses, something like a radar...
SECOND QUESTION:
Using the Teensyduino, is there a way to overclock the Teensy 4.0? If so, how and to what frequency can it be clocked safely at say, an ambient temperature of 25 deg Celsius?
Thank you.