J
Johann Klammer
Guest
On 11/12/2021 05:47 PM, Peter wrote:
you said your lowpass has 1 deg at 40kHz.Johann Klammer <klammerj@NOSPAM.a1.net> wrote:
On 11/12/2021 03:06 PM, Johann Klammer wrote:
Altho, if it\'s slow stuff like a 400Hz sine, slowly varying, you may just have to measure the zero crossing
and guess the delay from that.
Also, 1 deg of 40kHz is around 70 nS.
I don\'t think this is relevant at all as it\'s well below your sampling period.
you could not compensate this with your 100kHz.
1 degree of *400Hz* (which is what I am generating) is 7us, which is
about 1 DAC sample period.
So despite the misunderstanding, you are still very right; there won\'t
be any realistic way to compensate for the phase shift by shifting the
table.
I could have 360 samples per cycle and then 1 sample shift would be
exactly 1 degree. Or the sample rate could be tweaked to exactly equal
the filter delay, and then I could just delay by one sample