AN2364 Freescale Semiconductor / Motorola, AN2364 Datasheet - Page 4

no-image

AN2364

Manufacturer Part Number
AN2364
Description
Using the Table Stepper Motor TPU Function (TSM) with the MPC500 Family
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
TSM Function Parameters Address Maps
In both cases when the table size exceeds 48 parameters the remainder is obtained from the contiguous
parameter RAM of channels 14, 15, and 0, starting in the lower byte of parameter 0 of channel 14. In this
configuration the maximum table length including the 48 ‘local’ parameters is 96 bytes, giving 98 step rates
including start/stop and slew.
3
Total TPU function code size determines what combination of functions can fit into a given ROM or
emulation memory microcode space. TSM function code size is:
4
4.1
This section provides detailed descriptions of TSM function parameters stored in channel parameter RAM.
Table 1 shows TPU parameter RAM address mapping. In the diagrams, Y = M111, where M is the value of
the module mapping bit (MM) in the system integration module configuration register (Y = $7 or $F).
4
Channel
Number
Function Code Size
TSM Function Structure
TSM Function Parameters Address Maps
10
12
13
14
15
11
0
1
2
3
4
5
6
7
8
9
97 µ instructions + 8 entries = 105 long words
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
$YFFF##
Address
Base
Table 1. TPU Parameter RAM Address Mapping
Freescale Semiconductor, Inc.
Using the Table Stepper Motor TPU Function
For More Information On This Product,
Go to: www.freescale.com
C0
D0
00
10
20
30
40
50
60
70
80
90
A0
B0
E0
F0
0
A2
B2
C2
D2
E2
F2
02
12
22
32
42
52
62
72
82
92
1
A4
B4
C4
D4
E4
04
14
24
34
44
54
64
74
84
94
F4
2
C6
D6
06
16
26
36
46
56
66
76
86
96
A6
B6
E6
F6
3
A8
B8
C8
D8
E8
F8
08
18
28
38
48
58
68
78
88
98
4
AA
BA
CA
DA
EA
0A
1A
2A
3A
4A
5A
6A
7A
8A
9A
FA
5
AC
BC
CC
DC
EC
0C
1C
2C
3C
4C
5C
6C
7C
8C
9C
FC
6
MOTOROLA
AE
BE
CE
DE
EE
FE
0E
1E
2E
3E
4E
5E
6E
7E
8E
9E
7

Related parts for AN2364