MPC555 / MPC556
TPU ROM FUNCTIONS
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
D-20
D.9 Hall Effect Decode (HALLD)
The HALLD function decodes the sensor signals from a brushless motor, along with a
direction input from the CPU, into a state number. The function supports two- or three-
sensor decoding. The decoded state number is written into a COMM channel, which
outputs the required commutation drive signals. In addition to brushless motor appli-
cations, the function can have more general applications, such as decoding “option”
switches. See Motorola TPU Progamming Note
Hall Effect Decode TPU Function
(HALLD),
(TPUPN10/D)
.
shows all of the host interface areas for the HALLD function.
CONTROL BITS
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x30YY(W + 1)0
LENGTH
STATE
0
PIN_CONFIG
0x30YY(W + 1)2
LENGTH
STATE
1
PIN_CONFIG
0x30YY(W + 1)4
LENGTH
STATE
2
PIN_CONFIG
0x30YY(W + 1)6
LENGTH
STATE
3
PIN_CONFIG
0x30YY(W + 1)8
LENGTH
STATE
4
PIN_CONFIG
0x30YY(W + 1)A
LENGTH
STATE
5
PIN_CONFIG
0x30YY(W + 1)C
LENGTH
STATE
6*
PIN_CONFIG
0x30YY(W + 1)E
LENGTH
STATE
7*
PIN_CONFIG
0x30YY(W + 2)0
LENGTH
STATE
8*
PIN_CONFIG
0x30YY(W + 2)2
LENGTH
STATE
9*
PIN_CONFIG
•
•
•
•
•
•
0x30YY(W + 3)A
LENGTH
STATE
21*
PIN_CONFIG
*Not Available on all Channels
= Written By CPU
= Written by CPU and TPU
W = Master Channel Number
YY = 41 for TPU_A and 44 for
TPU_B
= Written By TPU
= Unused Parameters
Figure D-11 COMM Parameters (Part 2 of 2)
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..