为什么我用eMios采集4hz的低频信号,采集结果是随机的,不是一个稳定的值,采集10hz没有问题

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

为什么我用eMios采集4hz的低频信号,采集结果是随机的,不是一个稳定的值,采集10hz没有问题

513 Views
zp001
Contributor III
 
0 Kudos
3 Replies

499 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

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.
-------------------------------------------------------------------------------

0 Kudos

484 Views
zp001
Contributor III

我们使用的是SAIC,另外分频我们试过很多种,好像不起作用

zp001_0-1675302527033.png

 

0 Kudos

457 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

请问你想要用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.

0 Kudos