Is Periodic Interrupt Timer and Enhanced Capture Timer both are different

cancel
Showing results for 
Search instead for 
Did you mean: 

Is Periodic Interrupt Timer and Enhanced Capture Timer both are different

399 Views
kdn
Contributor III

if is different then how can I configure Periodic Interrupt Timer in processor expert for MC9S12XHZ512

Labels (1)
Tags (1)
0 Kudos
1 Reply

99 Views
RadekS
NXP Employee
NXP Employee

Hi,

For periodic interrupts, you can use Periodic Interrupt Timer (PIT), Enhanced Capture Timer (ECT) or Real Time Interrupt (RTI, part of CRG module).

In attachment you can find simple example codes which generate periodic interrupt.

Note: Example code does not use PE.

Note: Example code was designed for S12XD family however behavior should be the same also for S12XHZ.

Note: Result periods will depend on frequency of your clock source.


I hope it helps you.

Have a great day,
RadekS

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos