S32k LPIT Timer

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

S32k LPIT Timer

Jump to solution
3,593 Views
SivaB
Contributor III

Hi, 

For non autosar application, how to configure and generate the internal Timer interrupt for 1ms from the Configuration tool.

RTD Version 1.0.1 HotFix 01 AND SDK version 3.4

 

Tags (1)
0 Kudos
Reply
1 Solution
3,568 Views
SivaB
Contributor III

Hi Robin,

Thanks, LPIT Timer is working.

View solution in original post

0 Kudos
Reply
2 Replies
3,573 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

I did not find a place to configure the LPIT timeout in the S32 Configuration Tool interface. 

In the Clocks tool interface of the S32 Configuration Tool, you will see that the currently selected peripheral functional clock source for LPIT is 48MHz FIRCDIV2_CLK.

Lpit_Gpt_Example_S32K144_RTD101 Clocks tool.png

Therefore, it is recommended to modify the main.c of Lpit_Gpt_Example_S32K144:
/* LPIT time-out period - equivalent to 1ms */
#defineLPIT_PERIOD 48000

Lpit_Gpt_Example_S32K144_RTD101 LPIT_PERIOD.png

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 Kudos
Reply
3,569 Views
SivaB
Contributor III

Hi Robin,

Thanks, LPIT Timer is working.

0 Kudos
Reply