Regarding Different STM Timer resolution

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

Regarding Different STM Timer resolution

1,300 次查看
Pragadeesh
Contributor I

Hi,

 

I am configuring STM Timer module in S32k342 specific controller , in that I need to configure three different resolution of Timer , one is Default Timer resolution that is 20 ns per tick by using 48 Mhz FIRC clock and also I need to configure resolution like 10 us per tick and 1 ms per tick , please help me how to proceed those two resolution such as 1ms per tick and 10 us per tick.

 

 

 

 

Thanks & Regards,

Pragadeesh.

0 项奖励
回复
2 回复数

1,243 次查看
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

In the S32K3 page there is a training presentation S32K3xx PIT and STM with RTD - Training that explains in detail the configuration and API functions of the STM module. And at the same time an example code is included.

Hope it helps you. Please let me know if you have more questions about it.

Have a nice day!

0 项奖励
回复

1,139 次查看
Pragadeesh
Contributor I

Hi,

Thanks for the information , I has gone through that training presentation document for STM , but I  am exactly looking for Different read resolution of timer like I need I need to configure three different resolution 

1. one is Default Timer resolution that is 20 ns per tick by using 48 Mhz FIRC (Default) - which I can configure easily.

2.10 us per tick of timer free running counter

3. 1 ms per tick of timer free running counter

for this above 10 us per tick and 1 ms per tick resolution what is the possible ways, to achieve this by changing minimum clock frequency or any other approach please help me.

 

 

 

 

Thanks & Regards,

Pragadeesh.

 

0 项奖励
回复