AN2364 Freescale Semiconductor / Motorola, AN2364 Datasheet - Page 12

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
CIER - Channel Interrupt Enable Register
CFSR[0:3] - Channel Function Select Registers
CFS[3:0] -- Function Number (Assigned during microcode assembly).
HSQR[0:1] - Host Sequence Registers
When initializing the Host Sequence Register bits, a logical “OR” of the two bits per channel should be used
in code. The initialization function in the TSM API interface performs this activity.
12
CH15 CH14 CH13 CH12 CH11 CH10 CH9
CH15, 7
0
0
0
CFS(CH15, 11, 7, 3)
1
1
1
2
2
2
CH14, 6
CH[15:0]
3
3
3
X0
X1
0X
1X
Freescale Semiconductor, Inc.
CH13, 5
4
4
4
Using the Table Stepper Motor TPU Function
CFS(CH14, 10, 6 , 2)
For More Information On This Product,
Rotate PIN_SEQUENCE twice between slave channels
Rotate PIN_SEQUENCE once between slave channels
CH
5
5
5
Operating Mode -- Only Used For Master Channel
0
1
Table 2. CIER Bit Settings
Go to: www.freescale.com
6
6
6
CH12, 4
Channel interrupts disabled
Channel interrupts enabled
CH8
Local Acceleration Table
7
Interrupt Enable
7
7
Split Acceleration Table
CH7
8
8
8
CH11, 3
CFS(CH13, 9, 5, 1)
CH6
9
9
9
CH5
10
10
10
CH10, 2
CH4
11
11
11
0xYFFE0C–0xYFFE0E
0xYFFE10–0xYFFE12
0xYFFE14--0xYFFE16
CH3 CH2
12
12
12
CH9, 1
CFS(CH12, 8, 4, 0)
13
13
13
0xYFFE0A
MOTOROLA
CH1 CH0
14
14
14
CH8, 0
15
15
15

Related parts for AN2364