Building on the JSON data, I added a webpage that will poll /state.json and build graphs. You can reach the web page by putting your teensy's IP address in your web browser.
23394
23395
As...
Type: Posts; User: ddrown
Building on the JSON data, I added a webpage that will poll /state.json and build graphs. You can reach the web page by putting your teensy's IP address in your web browser.
23394
23395
As...
I've added a webserver to the code to make it easier to get data from the NTP server. /state.json from the teensy returns the following structure:
{
"ppsToGPS": 396, // milliseconds between...
That's interesting, the teensy should be more than able to keep up with an iburst.
PPS would be able to tell you a lot at a glance
Some other ideas for LED indication:
* offset between...
Excellent, glad to hear it is working for you. Those are low delay and jitter numbers, I like to see that.
You're correct, I've updated that example.
My two have a tempco of 0.154ppm/C and 0.206ppm/C, so that fits with your 0.195ppm/C.
Wander being 0.005 ppm in an hour is pretty impressive.
Nice! Good idea with the cinderblock, that should add a lot of thermal mass
I'm curious why you assume the frequency changes are coming from the GPSDO and not from the Teensy's crystal. Could you explain why you suspect the one but not the other?
chisquare values are in counts (25MHz) so 42.9 counts = 1.7us. Those values look reasonable to me.
I'm considering dropping old samples when the chisq value is high. This usually happens when...
This code is only built as an NTP (not PTP) server. But I do have different code for the esp8266: https://github.com/ddrown/esp8266-clock
It uses an NTP client to keep the local clock in sync, and...
I let this run for 5 days, and these are interesting results. I have two different Teensy 4.1 boards running this code.
Temperature vs frequency over 256 second intervals:
...
I've added this line to updateTime:
Serial.printf("PPS: %u %u %.2f\r\n", gpstime, lastPPS, tempmonGetTemp());
I've collected this type of data in the past for other crystals, so I'd like to redo...
That looks good, thanks for trying it out!
Sure, the short term phase noise from the crystal will be much lower than the GPS. But I think what is causing the larger offsets are the frequency change due to temperature changes. It would be...
The phase offsets happen at the same time as the frequency changes, which has me thinking that my synchronization code needs some tweaking. I suspect PPS from a GPSDO wouldn't change much unless the...
The RMC message taking more than 1s would generate those lag error messages. The LAG messages can also be caused by no pps due to signal lock loss.
I'm surprised you're getting B (bad time)...
Yes, I'm using the firmware defaults for the adafruit GPS, which is 9600 and no ZDA message. I'm also using an external antenna on a windowsill. Without an external antenna, I get bad reception.
...
I setup a second teensy with an Adafruit GPS. I added the GPS_USES_RMC define to settings.h to support it. Originally I took the timestamp of the GPRMC message, but it would often be delayed into...
The columns from that output:
T41 raw counter value at PPS (25MHz)
seconds offset between GPS PPS and virtual T41 clock (which is the first graph). The third graph is the measurement over the...
I wanted to use the teensy_loader_cli but the soft reboot option wasn't working for me. I didn't dig very far into why it wasn't working, but I put together a workaround. If you send the character...
I ported the embedded NTP stratum 1 server that I originally wrote for the stm32f407. It uses the 1588 ethernet hardware for RX and TX timestamps. I'm also using the 1588 event input capture to...
I went the osh park + digikey route to get an Ethernet connector for the Teensy 4.1, and I can report that it does work that way :)
After getting the lwip_iperf example working, I had to tune lwip...
Looks good, thank you!
I just noticed this too. D2 is EMC_25 and D1 is EMC_28, which are also on the schematic.
When sending to a windows machine, the bit-mapped keys above 0xFF (Search and Home in my case) work, but the bytecode ones (range 0x0-0xFF) do not work under windows (volume,...
Hello! I have a Teensy 2 using the Arduino environment. I want to use it to send key codes to an Android device. Specifically, I want to send keycode 0x223 (Android calls it KEYCODE_HOME) under the...