AN2372 Freescale Semiconductor / Motorola, AN2372 Datasheet - Page 5

no-image

AN2372

Manufacturer Part Number
AN2372
Description
Using the Output Compare TPU Function (OC) with the MPC500Family
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
3
Total TPU function code size determines what combination of functions can fit into a given ROM or
emulation memory microcode space. OC function code size is:
31
4
This section provides detailed descriptions of output compare function parameters stored in channel
parameter RAM. Table 1 shows TPU parameter RAM address mapping. Figure 4 shows the parameter
RAM assignment used by the OC function. In the diagrams, Y = M111, where M is the value of the module
mapping bit (MM) in the system integration module configuration register (Y = 0x7 or 0xF).
MOTOROLA
instructions + 8 entries = 39 long words
Channel
Number
Function Code Size
Function Parameters
0
1
2
3
4
5
6
7
8
9
Table 1. TPU Channel Parameter RAM CPU Address Map
0x30YY##
0x30YY##
0x30YY##
0x30YY##
0x30YY##
0x30YY##
0x30YY##
0x30YY##
0x30YY##
0x30YY##
Address
Base
Freescale Semiconductor, Inc.
For More Information On This Product,
Using the Output Compare TPU Function
Go to: www.freescale.com
00
10
20
30
40
50
60
70
80
90
0
Figure 3. Offset Range
02
12
22
32
42
52
62
72
82
92
1
04
14
24
34
44
54
64
74
84
94
2
Parameter Address
06
16
26
36
46
56
66
76
86
96
3
08
18
28
38
48
58
68
78
88
98
4
Continuous Pulse Mode
0A
1A
2A
3A
4A
5A
6A
7A
8A
9A
5
0C
1C
2C
3C
4C
5C
6C
7C
8C
9C
6
0E
2E
3E
4E
5E
6E
8E
9E
7
5

Related parts for AN2372