Reference Manual

16-Axis MACRO CPU Software Reference Manual
76 16-Axis MACRO Station Memory and I/O Map
Bits (X:$8004 bits 0-11 is I903; X:$8044 bits 0-11 is I907)
(X:$9004 bits 0-11 is I1903; X:$9044 bits 0-11 is I1907)
0-2: SCLK Frequency Control n (f=39.3216MHz / 2
n
, n=0-7)
3-5: PFM Clock Frequency Control n (f=39.3216MHz / 2
n
, n=0-7)
6-8: DAC Clock Frequency Control n (f=39.3216MHz / 2
n
, n=0-7)
9-11: ADC Clock Frequency Control n (f=39.3216MHz / 2
n
, n=0-7)
12: Phase Clock Direction (0=output, 1=input)
(This must be 0 in X:$8004; 1 in X:$8044--if 2nd ASIC is used)
13: Servo Clock Direction (0=output, 1=input)
(This must be 0 in X:$8004; 1 in X:$8044--if 2nd ASIC is used)
14-15: Reserved for future use (report as zero)
(X:$8004 bits 16-19 is I901)
16-19: Phase Clock Frequency Control n (f=MAXPHASE / [n+1], n=0-15)
(value in X:$8044 not used)
(X:$C004 bits 20-23 is I902)
20-23: Servo Clock Frequency Control n (f=PHASE / [n+1], n=0--15)
(value in X:$8044 not used)
Backplane Channel 2: X:$800C; Backplane Channel 6: X:$804C:
DAC Strobe Word, 24 bits
(X:$800C controls stack channels 1-4;
X:$804C controls stack channels 5-8)
(X:$900C controls stack channels 9-12;
X:$904C controls stack channels 13-16)
(Shifted out MSB first one bit per DAC_CLK cycle, starting on rising
edge of phase clock)
Backplane Channel 3: X:$8014; Backplane Channel 7: X:$8054:
Backplane Channel 11: X:$9014; Backplane Channel 15: X:$9054:
ADC Strobe Word, 24 bits
(X:$8014 controls backplane channels 1-4; X:$8054 controls backplane channels 5-8)
(Shifted out MSB first one bit per ADC_CLK cycle, starting on rising
edge of phase clock)
Backplane Channel 4: X:$801C; BackplaneChannel 8: X:$805C:
Backplane Channel 12: X:$901C; BackplaneChannel 16: X:$905C:
PWM, PFM, MaxPhase Control Word
(X:$801C controls backplane channels 1-4; X:$805C controls backplane channels 5-8)
(X:$C01C bits 0-7 is I904; X:$C03C bits 0-7 is I908)
Bits: 0-7: PWM Dead Time (16*PWM CLK cycles)
also PFM pulse width (PFM CLK cycles)
(X:$C01C bits 8-23 is I900; X:$C03C bits 8-23 is I906)
8-23: PWM MaxCount Value
PWM Frequency = 117.9648 MHz / [4*MaxCount + 6]
"MaxPhase" Frequency = 2*PWM Frequency
= 117.9648 MHz / [2*MaxCount + 3]