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.

关于28335捕捉的问题



你好,请教个问题

   DSP28335有6个捕捉模块,是不是每个模块的时基都是独立的,不像2812是同一个时基计数器?

我如何能把三个捕捉模块使用同一个时基?

  • 1、是的,每个模块有自己的时基:

    one eCAP channel has the following

    independent key resources:

    ...

    • 32-bit time base (counter)

    ...

    2、每个模块都有一个同步信号输入输出,你可以看一下模块的结构图

  • 你好,在dsp28335关于捕捉模块介绍中有这部分内容:

    32-Bit Counter and Phase Control

    This counter provides the time-base for event captures, and is clocked via the system clock.

    A phase register is provided to achieve synchronization with other counters, via a hardware and software

    forced sync. This is useful in APWM mode when a phase offset between modules is needed.

    我请教一下我如何将要使用的捕捉端口的计数器和外部一个计数器同步起来?能否将捕捉的时基计数器和CPU的T0,T1或者T2计数器同步起来?