AN2529 Freescale Semiconductor / Motorola, AN2529 Datasheet - Page 4

no-image

AN2529

Manufacturer Part Number
AN2529
Description
Standard Space Vector Modulation - XOR version TPU Function Set
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2529/D
Configuration Order
4
NOTE:
Standard Space Vector Modulation – XOR version TPU Function Set (svmStdXor)
The CPU configures the TPU as follows.
A CPU routine that configures the TPU can be generated automatically using
the MPC500_Quick_Start Graphical Configuration Tool.
1. Disables the channels by clearing the two channel priority bits on each
2. Selects the channel functions on all used channels by writing the
3. Initializes function parameters. The parameters T, prescaler, DT,
4. Issues an HSR (Host Service Request) type %10 to one of the
5. Enables servicing by assigning high, middle or low priority to the channel
Freescale Semiconductor, Inc.
For More Information On This Product,
channel used (not necessary after reset).
function numbers to the channel function select bits.
SQRT3, CPU14 and sync_presc_addr must be set before initialization.
If an svmStdXor_sync channel or an svmStdXor_res channel is used,
then its parameters must also be set before initialization.
svmStdXor_R channels to initialize all svmStdXor_R and svmStdXor_T
channels. Issues an HSR type %10 to the svmStdXor_sync channels,
svmStdXor_res channels and svmStdXor_fault channel, if used.
priority bits. All svmStdXor_R and svmStdXor_T channels must be
assigned the same priority to ensure correct operation. The CPU must
ensure that the svmStdXor_sync or svmStdXor_res channels are
initialized after the initialization of the StdDtXor_R and svmStdDtXor_T
channels:
assign a priority to the StdDtXor_R and svmStdDtXor_T channels to
enable their initialization
if a Synchronization Signal or a Resolver Reference Signal channel
is used, wait until the HSR bits are cleared to indicate that
initialization of the StdDtXor_R and svmStdDtXor_T channels has
completed and
assign a priority to the svmStdXor_sync or svmStdXor_res channels
to enable their initialization
Go to: www.freescale.com
MOTOROLA

Related parts for AN2529