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!
解決済! 解決策の投稿を見る。
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.
-------------------------------------------------------------------------------
The issue is fixed, timer is holded by ADC autocalibration active.
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.
-------------------------------------------------------------------------------