English
Language : 

MC68332ACEH20 Datasheet, PDF (57/88 Pages) Freescale Semiconductor, Inc – 32-Bit Modular Microcontroller
Freescale Semiconductor, Inc.
5.2.9 Frequency Measurement (FQM)
FQM counts the number of input pulses to a TPU channel during a user-defined window period. The
function has single shot and continuous modes. No pulses are lost between sample windows in contin-
uous mode. The user selects whether to detect pulses on the rising or falling edge. This function is in-
tended for high speed measurement; measurement of slow pulses with noise rejection can be made
with PTA.
5.2.10 Hall Effect Decode (HALLD)
This 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 ad-
dition to brushless motor applications, the function can have more general applications, such as decod-
ing “option” switches.
5.3 Programmer's Model
The TPU control register address map occupies 512 bytes. The “Access” column in the TPU address
map below indicates which registers are accessible only at the supervisor privilege level and which can
be assigned to either the supervisor or user privilege level, according to the value of the SUPV bit in the
TPUMCR.
Access
S
S
S
S
S
S
S
S
S
S
S/U
S/U
S/U
S/U
S
S
S
S
S
S
Table 22 TPU Address Map
Address 15
87
0
$YFFE00
TPU MODULE CONFIGURATION REGISTER (TPUMCR)
$YFFE02
TEST CONFIGURATION REGISTER (TCR)
$YFFE04
DEVELOPMENT SUPPORT CONTROL REGISTER (DSCR)
$YFFE06
DEVELOPMENT SUPPORT STATUS REGISTER (DSSR)
$YFFE08
TPU INTERRUPT CONFIGURATION REGISTER (TICR)
$YFFE0A
CHANNEL INTERRUPT ENABLE REGISTER (CIER)
$YFFE0C
CHANNEL FUNCTION SELECTION REGISTER 0 (CFSR0)
$YFFE0E
CHANNEL FUNCTION SELECTION REGISTER 1 (CFSR1)
$YFFE10
CHANNEL FUNCTION SELECTION REGISTER 2 (CFSR2)
$YFFE12
CHANNEL FUNCTION SELECTION REGISTER 3 (CFSR3)
$YFFE14
HOST SEQUENCE REGISTER 0 (HSQR0)
$YFFE16
HOST SEQUENCE REGISTER 1 (HSQR1)
$YFFE18
HOST SERVICE REQUEST REGISTER 0 (HSRR0)
$YFFE1A
HOST SERVICE REQUEST REGISTER 1 (HSRR1)
$YFFE1C
CHANNEL PRIORITY REGISTER 0 (CPR0)
$YFFE1E
CHANNEL PRIORITY REGISTER 1 (CPR1)
$YFFE20
CHANNEL INTERRUPT STATUS REGISTER (CISR)
$YFFE22
LINK REGISTER (LR)
$YFFE24
SERVICE GRANT LATCH REGISTER (SGLR)
$YFFE26
DECODED CHANNEL NUMBER REGISTER (DCNR)
Y = M111, where M represents the logic state of the module mapping (MM) bit in the SIMCR.
MC68332
MC68332TS/D
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
57