AN2518 Freescale Semiconductor / Motorola, AN2518 Datasheet - Page 8

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
8
3-Phase Sine Wave Generator – 3 outputs version – XOR version TPU Function Set (3Sin3Xor)
TPU function 3Sin3Xor_R generates an interrupt when the current values of
Ampl, dTheta (optionally also Theta), T and prescaler have been read by the
TPU and indicates to the CPU that it can write new variables. The CPU
program can either wait for this interrupt to occur, or poll the LD_OK parameter
to check it has cleared. The interrupt is generated at each reload by one of the
R channels. The T channels do not generate any interrupts.
3
Channel
Freescale Semiconductor, Inc.
2
For More Information On This Product,
1
1
1
1
Table 6. 3Sin3Xor_T and 3Sin3Xor_R Parameter RAM
0
0
0
0
0
0
Go to: www.freescale.com
Parameter 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Channel Function Select
Channel Priority
Host Service Bits (HSR)
Host Sequence Bits (HSQ)
Channel Interrupt Enable
Channel Interrupt Status
Name
0
1
2
3
4
5
6
7
Table 5. 3Sin3Xor_R Control Bits
3Sin3Xor_R function number
00 – Channel Disabled
01 – Low Priority
10 – Middle Priority
11 – High Priority
00 – No Host Service Request
01 – Not used
10 – Initialization
11 – Stop
0 – Channel Interrupt Disabled
1 – Channel Interrupt Enabled
0 – Interrupt Not Asserted
1 – Interrupt Asserted
xx – Not used
(Assigned during assembly the
DPTRAM code from library TPU
functions)
x1a_chan_A
x1b_chan_A
x2_chan_A
prescaler
htA, sA
LD_OK
Options
MOTOROLA

Related parts for AN2518