use of timer in s32k

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

use of timer in s32k

939件の閲覧回数
saurabhkulkarni123
Contributor II

Hello,

I want to use the timer in s32k mbd, where I have to count the time for convert the axis raw value into angle in gyroscope. How can I use it in mbd?

0 件の賞賛
返信
1 返信

885件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @saurabhkulkarni123,

If my understanding is correct, you would like to execute some code (which integrates the raw data coming from your gyroscope) at a fixed period of time. You could use for example the Periodic Interrupt Timer, to set the desired frequency. Such an example, for setting a timer is delivered within the MBDT for S32K1xx Toolbox and it is called lpit_s32k14x.

mariuslucianand_0-1681248600020.png

Hope this helps,

Marius

 

0 件の賞賛
返信