SPNS174
–
SEPTEMBER 2011
4.17 Real Time Interrupt Module
The real-time interrupt (RTI) module provides timer functionality for operating systems and for
benchmarking code. The RTI module can incorporate several counters that define the timebases needed
for scheduling an operating system.
The timers also allow you to benchmark certain areas of code by reading the values of the counters at the
beginning and the end of the desired code range and calculating the difference between the values.
4.17.1 Features
The RTI module has the following features:
•
Two independent 64 bit counter blocks
•
Four configurable compares for generating operating system ticks or DMA requests. Each event can
be driven by either counter block 0 or counter block 1.
•
Fast enabling/disabling of events
•
Two time-stamp (capture) functions for system or peripheral interrupts, one for each counter block
4.17.2 Block Diagrams
31
0
Compare
up counter
31
RTICLK
NTU0
NTU1
NTU2
NTU3
RTIUCx
0
RTICPUCx
OVLINTx
31
0
Free running counter
RTIFRCx
31
0
Capture
up counter
RTICAUCx
CAP event source 0
CAP event source 1
External
control
Figure 4-17. Counter Block Diagram
Copyright
©
2011, Texas Instruments Incorporated
System Information and Electrical Specifications
focus.ti.com:
=
Up counter
To Compare
Unit
31
0
Capture
free running counter
RTICAFRCx
97
PRODUCT PREVIEW
shows a high-level block diagram for one of the two 64-bit counter blocks inside the RTI
module. Both the counter blocks are identical except the Network Time Unit (NTUx) inputs are only
available as time base inputs for the counter block 0.