AN2515 Freescale Semiconductor / Motorola, AN2515 Datasheet - Page 14

no-image

AN2515

Manufacturer Part Number
AN2515
Description
3-Phase Sine Wave Generator - 3 outputs version TPU Function Set
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
AN2515/D
Synchronized Change
of PWM Prescaler
And Synchronization
Signal Prescaler
Host Interface
14
3-Phase Sine Wave Generator – 3 outputs version TPU Function Set (3Sin3)
The 3Sin3_sync TPU function actually uses the presc_copy parameter instead
of the prescaler parameter. The prescaler parameter holds the prescaler value
that is copied to the presc_copy by the 3Sin3 function at the time the PWM
parameters are reloaded. This ensures that new prescaler values for the PWM
signals, as well as the synchronization signal, are applied at the same time.
Write the synchronization signal prescaler parameter address to the
sync_presc_addr parameter to enable this mechanism. Write 0 to disable it,
and remember to set the synchronization signal presc_copy parameter instead
of the prescaler parameter in this case.
TPU function 3Sin3_sync generates an interrupt after each low to high
transition.
3
Freescale Semiconductor, Inc.
2
For More Information On This Product,
Written By CPU
Written By TPU
1
1
1
1
0
0
0
0
0
0
Go to: www.freescale.com
Channel Function Select
Channel Priority
Host Service Bits (HSR)
Host Sequence Bits (HSQ)
Channel Interrupt Enable
Channel Interrupt Status
Name
Table 8. 3Sin3_sync Control Bits
01 – Low Priority
10 – Middle Priority
11 – High Priority
01 – Not used
10 – Initialization
11 – Not used
1 – Channel Interrupt Enabled
0 – Interrupt Not Asserted
1 – Interrupt Asserted
3Sin3_sync function number
00 – Channel Disabled
00 – No Host Service Request
xx – Not used
0 – Channel Interrupt Disabled
(Assigned during assembly the
DPTRAM code from library TPU
functions)
Written by both CPU and TPU
Not Used
Options
MOTOROLA

Related parts for AN2515