S32K144 LPIT timer is inaccurate

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S32K144 LPIT timer is inaccurate

ソリューションへジャンプ
977件の閲覧回数
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 解決策
962件の閲覧回数
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 返答(返信)
909件の閲覧回数
547416104
Contributor III

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

0 件の賞賛
返信
963件の閲覧回数
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 件の賞賛
返信