S32K144 LPIT timer is inaccurate

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

S32K144 LPIT timer is inaccurate

跳至解决方案
685 次查看
547416104
Contributor III

Hello EveryOne,

I usd SDK to config the LPIT, and delay 100ms to send command to slave IC,but I find the time interval is inaccurate, it is more than 100ms. I check the timer task, no redundant code is running, whether need to do other configure for the lpit module?

thanks!

547416104_0-1674028242481.png

547416104_1-1674028275760.png

 

标记 (1)
0 项奖励
1 解答
670 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Please toggle a GPIO in LPIT interrupt and measure the period by using oscilloscope. I try to modify the lpit_periodic_interrupt_s32k144 SDK example and able to get 1ms when input Timer period 1000.


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 项奖励
2 回复数
617 次查看
547416104
Contributor III

The issue is fixed, timer is holded by ADC autocalibration active.

0 项奖励
671 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi 

Please toggle a GPIO in LPIT interrupt and measure the period by using oscilloscope. I try to modify the lpit_periodic_interrupt_s32k144 SDK example and able to get 1ms when input Timer period 1000.


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 项奖励