External interrupt frequency

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

External interrupt frequency

2,020 次查看
zhouqicheng
Contributor I

Hello, I used an external interrupt falling edge trigger to measure the number of square waves. The square wave frequency is 125khz and 8us per cycle. I found that the counting of square waves tends to be smaller when it exceeds 1000. What is the interrupt counting frequency of S32K144 pin? How to ensure that pin interruption triggers are not lost,

0 项奖励
回复
5 回复数

1,990 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@zhouqicheng

1.What is the interrupt counting frequency of S32K144 pin?

There is no such verification data, this can vary significantly on different clock configurations

2.You can control a GPIO port, set the port to output a fixed frequency and a specified number, and then connect the port to the input port.

3.For tasks such as measuring pulses, I generally recommend that users use the Input capture feature of FTM module.

0 项奖励
回复

1,983 次查看
zhouqicheng
Contributor I
Hello, how to count the number of PWM using the ftm input capture function? Only measuring frequency and cycle cases are available. Are there any relevant cases?
0 项奖励
回复

1,981 次查看
Senlent
NXP TechSupport
NXP TechSupport
0 项奖励
回复

1,928 次查看
zhouqicheng
Contributor I

Hello, according to the above document configuration, it has been found that once the square wave is measured, it enters this interrupt and cannot operate normally. What is the problem

0 项奖励
回复

1,925 次查看
Senlent
NXP TechSupport
NXP TechSupport

Hi@zhouqicheng

please try the demo from the linker I provided earlier, maybe you missed something when you configuring you project.

0 项奖励
回复