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.

DCC的用途

Other Parts Discussed in Thread: HALCOGEN

看芯片资料DCC可以比较两个时钟源的频率,一般怎样用这个模块?

  • Hi ron,

    请参考TRM的DCC相关章节。

    Regards,

    Jay

  • Hi Ron,

     DCC模块在我们的HALCOGEN里面已经有专门的模块,你可以先使能DCC模块,然后去配置两个DCC的时钟源,以及相应的drift值,最后生成代码以后,只需要在主程序里面去调用DCC的初始化函数,基本就能实现DCC的功能。

     为了能够更好的去模拟这个功能,你可以去模拟一个始终失效,然后再使能DCC的一个中断,这样比较方便你的调试。

    Ken