Power PMAC Clipper User Manual
Connections and Software Setup
45
Bit #:
Binary:
0
Protocol
0: Rising
1: Falling
0: Phase
1: Servo
Hex ($):
1
2
3
1
1
0
0
4
5
6
7
0
0
0
0
8
9
10
11
0
0
0
0
12
13
14
15
0
0
0
0
16
17
18
19
1
0
0
0
20
21
22
23
0
0
0
0
24
25
26
27
0
0
0
1
28
29
30
31
1
0
0
0
Reserved
Trigger Delay
Ed
ge
C
lo
ck
R
es
er
ve
d
N Divisor
M Divisor
Encoder
Protocol
Typically 0
(Units of Serial Clock Cycles)
3
0
0
0
1
0
8
1
SSI
EnDat
= 2 SSI
= 3 EnDat
Bits [31 – 20] specify the serial encoder interface transmission frequency, using the equations in
the diagram. This frequency is usually specified by the encoder manufacturer, and typically set in
the range of 1 – 16 MHz.
Bit #17 specifies the trigger source; Phase clock is recommended.
Bit #16 specifies the active edge; Falling edge is recommended.
Bits [15 – 8] specify a trigger delay used to compensate for transmission over long encoder lines.
Bits [3 – 0] specify the encoder protocol of the serial encoder.
In the example diagram above, an EnDat encoder is configured at a 4 MHz serial clock triggered at falling
edge of phase clock. Clipper[0].SerialEncCtrl = $18010003.
Channel Control Register
The channel control word is channel specific.
Channel
Channel Control Register
1
Clipper[0].Chan[0].SerialEncCmd
2
Clipper[0].Chan[1].SerialEncCmd
3
Clipper[0].Chan[2].SerialEncCmd
4
Clipper[0].Chan[3].SerialEncCmd
Following, is a summary of the 32-bit channel control word. Detailed description can be found in the
Power PMAC Software and User manuals.
Bits [31 – 16] specify the encoder command word. This is encoder specific, typical settings
shown in the diagrams below.
Bits [15 – 14] specifies the parity type, this is an encoder specific setting.