你好,
对不起,迟到了。
正如你所说的PIN AN03,你有没有禁用PIN的模拟功能?看。FM3YGPIO-G.ADE寄存器。
FM3YMFT0YFRT-GT;TCSA0= 0x060将停止FRT->应该是0x020,我猜。
可能附上的例子可以用作参考(密码是柏树)。它是一种基于中断的频率测量。
它是为不同的MCU编写的,但是MFT是相同的。
亲切的问候,
阿希姆
M9BFXXXXMFTTIICUQIQRYFQQCNT-V12Y-CyPress
101.3 K
以上来自于百度翻译
以下为原文
Hi,
Sorry for late response.
As you call the pin
AN03, have you disabled the analog functions of the pin? See. FM3_GPIO->ADE register.
FM3_MFT0_FRT->TCSA0 = 0x0060 will stop FRT -> should be 0x0020 I guess.
Probably attached example can be used as reference (password is cypress). It is an interrupt based frequency measurement.
It was written for a different MCU, but the MFT is identical.
kind regards,
Achim
你好,
对不起,迟到了。
正如你所说的PIN AN03,你有没有禁用PIN的模拟功能?看。FM3YGPIO-G.ADE寄存器。
FM3YMFT0YFRT-GT;TCSA0= 0x060将停止FRT->应该是0x020,我猜。
可能附上的例子可以用作参考(密码是柏树)。它是一种基于中断的频率测量。
它是为不同的MCU编写的,但是MFT是相同的。
亲切的问候,
阿希姆
M9BFXXXXMFTTIICUQIQRYFQQCNT-V12Y-CyPress
101.3 K
以上来自于百度翻译
以下为原文
Hi,
Sorry for late response.
As you call the pin
AN03, have you disabled the analog functions of the pin? See. FM3_GPIO->ADE register.
FM3_MFT0_FRT->TCSA0 = 0x0060 will stop FRT -> should be 0x0020 I guess.
Probably attached example can be used as reference (password is cypress). It is an interrupt based frequency measurement.
It was written for a different MCU, but the MFT is identical.
kind regards,
Achim
举报