Hi zp001,
请问你将eMIOS设置成哪种模式? 请问你参考的是哪个例程?
将eMIOS设置成Input Pulse Width Measurement (IPWM)或Input Period Measurement (IPM)通常都需要考虑: 输入信号的周期是否跨越了一个计数器周期。如果是这种情况可以考虑给计数器时钟分频来增加计数器周期。
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
我们使用的是SAIC,另外分频我们试过很多种,好像不起作用
请问你想要用eMIOS模块实现什么功能? SAIC(Single Action Input Capture)是捕获单次的模式呀,如果你想要测量频率不应该用IPWM或者IPM更合适吗?
请查看一下这个例程S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2 是否满足你的需求。
What function do you want to achieve with eMIOS? SAIC (Single Action Input Capture) is a single capture mode. If you want to measure the frequency or duty of signals, shouldn't it be more appropriate to use IPM or IPWM? Please check if this example S32K344_Example_Emios_Icu_IPWM_measurement_DS34_RTD_100_v2 meets your needs.