KL03Z: HwTimer?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
961件の閲覧回数
sarastout-grand
Contributor III

Hello,

I've been reading in the Arm documentation about the SysTick timer associated with the Cortex M0+. I do not find anything about this timer in the KL03Z user manual. There appears to be an nxp demo for a HwTimer which I assume is the SysTick.

How come there is nothing in the user's manual about this timer? Do people generally not use this timer? What is it's purpose?

Thanks,

Sara

ラベル(1)
タグ(3)
0 件の賞賛
1 解決策
755件の閲覧回数
mjbcswitzerland
Specialist V

Sara

The SysTick is a part of the Cortex-M0+ core and so is not chip specific - for details of the Cortex core you generally need to use ARM documents. For SysTick: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0179b/ar01s02s08.html

The SysTick is use by most firmware or OS to generate the system tick timer interrupt (hence the name and the fact that it is always there in the core). It is also interesting because the same code will run on all Cortex parts (irrespective of processor and manufacturer).
The KL03 has otherwise 2 TPM modules (each with 2 channels) that can also be used for HW timers. A low power timer (LPTMR) and RTC (real time clock). The KL03 is one of the only Kinetis chips that has no PIT, which is otherwise a very simple but power-ful timer (32 bits rather than the 16 bits in the TPM).

Regards

Mark

元の投稿で解決策を見る

0 件の賞賛
1 返信
756件の閲覧回数
mjbcswitzerland
Specialist V

Sara

The SysTick is a part of the Cortex-M0+ core and so is not chip specific - for details of the Cortex core you generally need to use ARM documents. For SysTick: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dai0179b/ar01s02s08.html

The SysTick is use by most firmware or OS to generate the system tick timer interrupt (hence the name and the fact that it is always there in the core). It is also interesting because the same code will run on all Cortex parts (irrespective of processor and manufacturer).
The KL03 has otherwise 2 TPM modules (each with 2 channels) that can also be used for HW timers. A low power timer (LPTMR) and RTC (real time clock). The KL03 is one of the only Kinetis chips that has no PIT, which is otherwise a very simple but power-ful timer (32 bits rather than the 16 bits in the TPM).

Regards

Mark

0 件の賞賛