Read Timer High Register (Value_Tim_Hi) - Texas Instruments OMAP5910 Technical Reference Manual

Dual-core
Hide thumbs Also See for OMAP5910:
Table of Contents

Advertisement

Timers
Table 8–8. Read Timer High Register (VALUE_TIM_HI)
Bit
Name
15–0
VALUE_TIM_HI
Table 8–9. Read Timer Low Register (VALUE_TIM_LO)
Bit
Name
15–0
VALUE_TIM_LO
8-8
Description
Value of timer. This is the same as READ_TIM[31:16],
Description
Value of timer. This is the same as READ_TIM[15:0] at the time
of the last TIPB read to READ_TIM_HI.
The following sequence must be followed to read the READ_TIM register
properly:
1) Perform a TIPB read transaction to read the upper 16 bits of the read timer
register (READ_TIM) (offset = 8). When the read timer register
(READ_TIM) is read and synchronized, the upper 16 bits are driven onto
the data bus of the TIPB and the lower 16 bits of the read timer register
(READ_TIM) are stored in a temporary register.
2) Perform a TIPB read transaction to read the lower 16 bits of the read timer
register (READ_TIM) (offset = 10). During this read, the value of the tem-
porary register is forwarded onto the TIPB bus instead of reading the read
timer register (READ_TIM) again. This is done because the TIMER can
change value between the two TIPB read transactions.
Therefore, to read the value of the read timer register (READ_TIM) correctly,
the first TIPB read access must be to the upper 16 bits (that is, offset = 8),
followed by TIPB read access to the lower 16 bits (that is, offset = 10 (decimal)).
Note:
If the DSP is ready to read the read timer register (READ_TIM), it can send
a 32-bit read request (with offset address of 08) to the DSPI. The DSPI can
convert this 32-bit request into two 16-bit TIPB writes on the DSP TIPB, thus
resolving all the above sequencing issues.
Reset
Value
Undefined
Reset
Value
Undefined

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the OMAP5910 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents