AN2524 Freescale Semiconductor / Motorola, AN2524 Datasheet - Page 5

no-image

AN2524

Manufacturer Part Number
AN2524
Description
DC Motor with Dead-Time Correction TPU Function Set
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Configuration Order
MOTOROLA
NOTE:
DC Motor with Dead-Time Correction TPU Function Set (DCmDt)
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, DT, MPW and
4. Issues an HSR (Host Service Request) type %10 to one of the DCmDt
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.
sync_presc_addr must be set before initialization. If a DCmDt_sync
channel or a DCmDt_res channel is used, then its parameters must also
be set before initialization.
channels to initialize all PWM channels. Issues an HSR type %10 to the
DCmDt_sync channels, DCmDt_res channels and DCmDt_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 DCmDt_sync
or DCmDt_res function is initialized after the initialization of DCmDt:
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 DCmDt_sync or DCmDt_res channel to
enable its initialization
Go to: www.freescale.com
Function Set Configuration
AN2524/D
5

Related parts for AN2524