Timer on S32K144 SDK

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

Timer on S32K144 SDK

1,763 次查看
AnhNguyenDuc
NXP Employee
NXP Employee

I want to use timer without interrupt to wait 5s to do a job with S32K144 - SDK version on S32DS. Can you help me !

0 项奖励
回复
1 回复

1,741 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

If without interrupt how can the timer notify you the 5s is end? You may need to check the flag of that timer periodically.
For example:
LPTMR_DRV_GetCompareFlag
LPIT_DRV_GetInterruptFlagTimerChannels 


Have you check if the LPTMR or LPIT meet your needs? Although SDK example are with interrupt, I think you can refer to the part other than interrupt codes.

SDK manual can be found here (C:\NXP\S32DS.3.4\S32DS\software\S32SDK_S32K1XX_RTM_4.0.2\doc\S32SDK_S32K144_UserManual.pdf)


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