AN2518 Freescale Semiconductor / Motorola, AN2518 Datasheet - Page 4

no-image

AN2518

Manufacturer Part Number
AN2518
Description
3-Phase Sine Wave Generator - 3 outputs version - XOR version TPU Function Set
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2518/D
Configuration Order
4
3-Phase Sine Wave Generator – 3 outputs version – XOR version TPU Function Set (3Sin3Xor)
NOTE:
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 a high, middle or low priority to the
Freescale Semiconductor, Inc.
For More Information On This Product,
channel used (not necessary after reset).
function numbers to the channel function select bits.
Theta_H, Theta_L and sync_presc_addr must be set before
initialization. 32 cosine table values must be set. If a 3Sin3_sync
channel or a 3Sin3_res channel is used, then its parameters must also
be set before initialization.
3Sin3Xor_R channels to initialize all 3Sin3Xor_R and 3Sin3Xor_T
channels. Issues an HSR type %10 to the 3Sin3Xor_sync channels,
3Sin3Xor_res channels and 3Sin3Xor_fault channel, if used.
channel priority bits. All 3Sin3Xor_R and 3Sin3Xor_T channels must be
assigned the same priority to ensure correct operation. The CPU must
ensure that the 3Sin3Xor_sync or 3Sin3Xor_res channels are initialized
after the initialization of 3Sin3Xor_R and 3Sin3Xor_T channels:
assign a priority to the 3Sin3Xor_R and 3Sin3Xor_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 3Sin3Xor_R and 3Sin3Xor_T channels has
completed and
assign a priority to the 3Sin3Xor_sync or 3Sin3Xor_res channels to
enable their initialization
Go to: www.freescale.com
MOTOROLA

Related parts for AN2518