S32k LPIT Timer

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
3,596件の閲覧回数
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

 

タグ(1)
0 件の賞賛
返信
1 解決策
3,571件の閲覧回数
SivaB
Contributor III

Hi Robin,

Thanks, LPIT Timer is working.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
3,576件の閲覧回数
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 件の賞賛
返信
3,572件の閲覧回数
SivaB
Contributor III

Hi Robin,

Thanks, LPIT Timer is working.

0 件の賞賛
返信