Skip to content

LTC out - jump in LTC phase after Windows wakes from screensaver #19

Description

@mungewell

This one is going to be a challenge to find, and it's totally OK to say "disable screensaver!".

I had left units connected running overnight and noticed that the LTC phase jumped when the PC 'woke' (just screen, not CPU). I was able to recreate again.

PicoTimecode is time master outputting MTC to PC, but we need to set it up first:

  • Set STC to generate LTC from CPU clock
  • Jam sync PicoTimecode to LTC from PC
  • leave PicoTimecode in 'monitor' mode to get USB-UART report of incoming LTC
  • Set STC for incoming MTC and outgoing LTC. There will be a jump in phase here, as there is delay through USB stacks, should be constant after that.
  • Let PC idle so screen sleeps.
  • Wake PC, and see a jump in LTC phase
Image

Note: the reported LTC phase is in 1/640th of a frame, and only measures the timing of sync pattern - it does not evaluate the LTC contents. As such. without scoping the lines, I do not know whether this a forward or backwards jump, or by how much...

Note 2: As PicoTimecode is the master, any small difference in the XTAL/TCXO should not matter. The PC should exactly follow the incoming MTC.

This is done with the 'PT_Thrifty' board, super low-cost. The code will run on a Waveshare RP2040-Zero (or Pico-1) to output MTC via USB, but will need a comparator circuit to monitor the incoming LTC.

@fiverecords Judging from your Timezone (that GitHub tells me) you are somewhere in Europe, I can donate/post you a board if you'd like to test locally. Would also be a small thank you for writing such a cool application.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions