eTimer

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

eTimer

2,289 Views
zhang_ke_dong
Contributor I

Hello, when I use the IC module of SDK to capture PWM signal, I first capture the high level in the interrupt, after changing the capture mode, in the capture cycle, the result is always captured high level data is wrong, the cycle is correct, why is this

0 Kudos
Reply
2 Replies

2,272 Views
zhang_ke_dong
Contributor I

我在回调中进行测试,而高级不断拾取错误,所以我只是把它放在了 while(1) 中,而高级和周期正在拾取周期值,我对哪个步骤有问题?

0 Kudos
Reply

2,280 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

where do you call those functions? In callback function? Can you share whole project you have?
What if you call IC_StopChannel before and IC_StartChannel after you change mode?

BR, Petr

0 Kudos
Reply