Adjusting phase to line up clock edge, but maintain correct break?

41 views
Skip to first unread message

Andrew Kohlsmith

unread,
Apr 27, 2022, 10:23:12 AMApr 27
to WaveDrom
In my simple waveform here:

{
  signal: [
    {name: 'BCLK', wave: 'P.............|.....................'},
    {name:   'FS', wave: '010...........|................10...', phase: 0.7},
    {name:  'DAT', wave: '2.3.......4...|9.......2........3...', data: ['7','0','1','6','7','0'], phase: 0.7},
  ],
  foot: {
    tick: 0
  },

  config: { skin: "narrow" }
}

I am using "phase: 0.7" to shift the FS/DAT so that the rising edges of the clock are centered over the sampling periods of the FS/DAT signals.This looks great, but shifts the break over as well, and the breaks no longer line up.

I have played with shifting the clock instead, but that then cases the 'tick' values to no longer be centered. 

I'm sure this is a case of me holding it wrong, but I can't figure it out.

Thanks,
Andrew

Reply all
Reply to author
Forward
0 new messages