ADSP-BF537 Blackfin Processor Hardware Reference
16-7
Core Timer
TSCALE Register
The core timer scale register (
TSCALE
,) stores the
scaling value that is one less than the number of cycles between decre-
ments of
TCOUNT
. For example, if the value in the
TSCALE
register is 0, the
counter register decrements once every
CCLK
clock cycle. If
TSCALE
is 1, the
counter decrements once every two cycles.
Programming Examples
configures the core timer in auto reload mode. Assuming a
CCLK of 500 MHz, the resulting period is 1 s. The initial period is twice
as long as the others.
Listing 16-1. Core Timer Configuration
#include <defBF534.h>
.section L1_code;
.global _main;
_main:
/* Register service routine at EVT6 and unmask interrupt */
p1.l = lo(IMASK);
p1.h = hi(IMASK);
Figure 16-5. Core Timer Scale Register
31 30
29 28 27 26
25 24
23 22
21 20
19
18 17 16
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
15 14
13 12
11 10
9
8
7
6
5
4
3
2
1
0
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Core Timer Scale Register (TSCALE)
Reset = Undefined
Scale Value[7:0]
0xFFE0 3008
Summary of Contents for Blackfin ADSP-BF537
Page 42: ...Contents xlii ADSP BF537 Blackfin Processor Hardware Reference ...
Page 90: ...Development Tools 1 32 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 138: ...Programming Examples 4 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 340: ...SDC Programming Examples 6 84 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 606: ...Programming Examples 9 94 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 660: ...Programming Examples 10 54 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 720: ...Electrical Specifications 11 60 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 840: ...Programming Examples 13 42 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 876: ...Programming Examples 14 36 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 938: ...Programming Examples 15 62 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 958: ...Programming Examples 17 12 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 986: ...Programming Examples 18 28 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1162: ...G 26 ADSP BF537 Blackfin Processor Hardware Reference ...
Page 1218: ...Index I 56 ADSP BF537 Blackfin Processor Hardware Reference ...