AN2517 Freescale Semiconductor / Motorola, AN2517 Datasheet - Page 5

no-image

AN2517

Manufacturer Part Number
AN2517
Description
3-Phase Sine Wave Generator with Dead-Time Correction TPU Function Set
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Configuration Order
MOTOROLA 3-Phase Sine Wave Generator with Dead-Time Correction TPU Function Set (3SinDt)
NOTE:
Table 4
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, MPW,
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.
3SinDt_bottom
TPU function
For More Information On This Product,
3SinDt_sync
3SinDt_fault
3SinDt_top
3SinDt_res
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 3SinDt_sync
channel or a 3SinDt_res channel is used, then its parameters must also
be set before initialization.
3SinDt_bottom channels to initialize all PWM channels. Issues an HSR
type %10 to the 3SinDt_sync channels, 3SinDt_res channels and
3SinDt_fault channel, if used.
priority bits. All PWM channels must be assigned the same priority to
ensure correct operation. The CPU must ensure that the 3SinDt_sync or
3SinDt_res channels are initialized after the initialization of the PWM
channels:
shows the TPU function code sizes.
assign a priority to the PWM 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 PWM channels has completed and
assign a priority to the 3SinDt_sync or 3SinDt_res channels to
enable their initialization
Go to: www.freescale.com
Table 4. TPU function code sizes.
217 µ instructions + 8 entries = 225 long words
34 µ instructions + 8 entries = 42 long words
26 µ instructions + 8 entries = 34 long words
38 µ instructions + 8 entries = 46 long words
9 µ instructions + 8 entries = 17 long words
Code size
Function Set Configuration
AN2517/D
5

Related parts for AN2517