This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSP测量相位



想测量两个方波信号(几k~几十kHZ)之间的相位差,用DSP怎么实现。可以用两个CAP模块实现吗。

  • 用过零检测电路来将正弦波转变成方波,然後应用单片机的输入捕获工能,第一个方波开启输入捕获,第二个方波停止输入捕获,计时器内的值便是和相位有关。

    这样就可以利用捕获单元了