Omap3.2 Operating System Timer; Dsp And Mpu Os Timer Start And Stop - Texas Instruments OMAP5912 Reference Manual

Multimedia processor device overview and architecture
Hide thumbs Also See for OMAP5912:
Table of Contents

Advertisement

3

OMAP3.2 Operating System Timer

Figure 3.
Timer Block Diagram
DSP
or MPU
TIPB
(private)
enable
DSP
or MPU
timer
clock
reference
3.1

DSP and MPU OS Timer Start and Stop

SPRU759B
There are six timers for the OS and general-purpose housekeeping functions
inside the hardware engine. Three are in the MPU subsystem (controlled by
the MPU), and the other three are controlled by the DSP. Figure 3 shows the
timer block diagram.
The functionality for all timers is identical, except the MPU timer interface to
the 32-bit MPU private TI peripheral bus (TIPB) and the DSP timer interface
to the 16-bit DSP private TIPB.
The timer is configured either in autoreload or in one-shot mode with on-the-fly
read capability. The timer generates an interrupt to the MPU or DSP when the
value is equal to zero.
TI peripheral bus interface
Timer control
Prescale
value
Clock
(PTV)
Clock divider
(PTV+1)
divide by 2
An OS timer can be started by setting the ST bit of the DSP_CNTL_TIMER or
the MPU_CNTL_TIMER register. At start, the timers are loaded with the values
programmed to the DSP_LOAD_TIMER_HI, DSP_LOAD_TIMER_LO, and
MPU_LOAD_TIMER registers. The timer is stopped by resetting the ST bit.
When stopped, the timer value is frozen at the current value.
OMAP3.2 Operating System Timer
Timer
Start/
Auto
LOAD
stop
reload
value
(ST)
(AR)
32-bit counter
Timer
READ
value
DSP
or MPU
timer
interrupt
Timers
21

Advertisement

Table of Contents
loading

Table of Contents