8736 Timing Demodulator
1. General
8736 Timing Demodulator is designed to generate timing output pulse for a measurement by receiving a message from timing modulator (patternized timing information; basically 10MHz optical signal) followed to predetermined setting information.
8736 extracts standard clock (PLL) from received message (NRZ signal) with voltage controlled signal generator, then re-produce the original output data. CRC identification code-check tests data so as only verified operation mode is allowed. Up to 8 different timing clocks can be set through each different output connector.
8736 is equipped with inhibit input which disable transactions same as a timing modulator, and trigger input which enable operation test locally.
2. Hardware specifications
Timing signal input
Number of input 1
Input signal Optical pulse signal
Input connector FC connector
Input baud rate 20 M baud max
Trigger input
Number of input 1
Input signal TTL pos logic pulse
Input connector CAMAC connector
Input impedance 1 kΩ
Inhibit input
Number of input 1
Input signal TTL neg logic pulse
Input connector CAMAC connector
Input impedance 2
Clock output
Number of output 1
Output signal TTL pos logic pulse
Out put connector CAMAC connector
Frequency divider clock output
Numbers of output 2
Output signal TTL signal
Output connector CAMAC connector
Delayed pulse output
Numbers of output 8
Output signal TTL signal
Output connector CAMAC connector
Signal bus output
Number of input/output 1
Input/output setting can be made by inside jumper pins
Input/Output signal TTL signal
Input/Output connector
CAMAC connector
Event signal
output
Number of output
1
Output signal
TTL signal
Output connector
10 pins ribbon-connector for HIF PCB
LED display
Delayed pulse output: GRN LED x 8
Setting mode: GRN LED x 2
Error alarm: RED LED x 1
Message input: GRN LED x 1
Clock input: GRN LED x 1
On operation: GRN LED x 2
Interrupt generated RED LED x 1
Input enable setting: GRN LED x 1
Inhibit input: RED LED x 1
Trigger input:
RED LED x 1
Size
VME standard 2 width module
Power
+ 6 V, less than 2 A
3. Software specification
3-1 Allowed setting address: 0xC0000 – 0xCFFFF
A8 – A15: By 8 bits dipswitches
Possible base address, by these switches (BASE_ADD)
0xC0000
0xC0100
0xC0200
-
-
-
-
-
0xCFE00
0xCFF00
A1 – A7 are listed in a following table
As a function is pre-fixed (express as FIX_ADD), actual address (ADD) can be
expressed as follows.
ADD = BASE_ADD + FIX_A
Fixed address |
Higher bytes |
Lower bytes |
Access |
0x00 |
Not used |
Control register |
R/W |
0x02 |
Not used |
Mode register |
R/W |
0x04 |
Not used |
Interrupt mask register |
R/W |
0x06 |
Not used |
Trigger register |
R/W |
0x08 |
Not used |
Interrupt register |
R/W |
0x0A |
Not used |
Event register |
R |
0x0C |
Not used |
1 sec timer trigger-selection register |
R/W |
0x0E |
1 sec timer trigger register |
R/W |
|
0x10 |
Received message register (lower 16 bits) |
R |
|
0x12 |
Received message register (higher 16 bits) |
R |
|
0x14 |
Not used |
Manual-trigger execution register |
W |
0x16 |
Not used |
Event execution register |
W |
0x18 |
Not used |
Manual-inhibit execution register |
W |
0x1A |
Not used |
Manual-un-inhibit execution register |
W |
0x1C |
Not used |
Manual-setup execution register |
W |
0x1E |
Not used |
Manual-stop execution register |
W |
Fixed address |
Higher bytes |
Lower bytes |
Access |
0x20 |
Not used |
Forced-reset execution register |
W |
0x22 |
Not used |
Delay-time setting register |
R/W |
0x24 |
Not used |
Channel 1 frequency-divider register |
R/W |
0x26 |
Not used |
Channel 1 frequency-divider-scaling-rate register |
R/W |
0x28 |
Not used |
Channel 2 frequency-divider register |
R/W |
0x2A |
Not used |
Channel 2 frequency-divider-scaling-rate register |
R/W |
0x2C |
Not used |
Not used |
R/W |
0x2E |
Not used |
Delayed-output target-channel setting register |
W |
0x30 |
Delayed output – Delay-time register (lower 16 bits) |
R/W |
|
0x32 |
Delayed output – Delay-time register (higher 16 bits) |
R/W |
|
0x34 |
Delayed output – Pulse-width register (lower 16 bits) |
R/W |
|
0x36 |
Delayed output – Pulse-width register (higher 16 bits) |
R/W |
|
0x38 |
Delayed output – Repetition-time register (lower 16 bits) |
R/W |
|
0x3A |
Delayed output – Repetition-time register (higher 16 bits) |
R/W |
|
0x3B |
Delayed output – Repetition-number register |
R/W |
|
0x3E |
Not used |
Delayed-output – Trigger selection register |
R/W |
3-2 Interrupt function
Select one function from IRQ1 – IRQ7 by jumper connection
Interrupt vector: Set by 8 bits dipswitch
3-3 Interrupt factors: Following factors generate interrupts.
Trigger input: When
trigger is activated by message or trigger-input.
Event input:
When event message is sent.
Un-inhibit input: When inhibit is disabled
(un-inhibit status) by message or inhibit-input.
Inhibit input:
When inhibit is enabled by message or inhibit-input.
Error detection: When error is detected in a message sent from modulator.
Clock input: When no clock is detected in optical-signal or clock-frequency is lower than the limit.
Setup input: When message inputs setup-signal.
Stop input: When message inputs stop-signal.
4. Register setting method
4-1 Control register (8bits)
This is a basic register, therefore is to be set prior to start operation.
D0 sets event output, enabled “1” or disabled “0”.
D1 sets VME bus interrupt, enabled “1” or disabled ”0”
D2 sets internal clock, 1MHz “0” or 100KHz “1”.
D3 sets hardware input (trigger), enabled “1” or disabled “0”.
D4 sets clock source, external (optical signal) “0” or internal “1”.
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
*** |
*** |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
4-2 Mode register (8 bits)
This is a basic register, therefore is to be set prior to start operation.
D0, D1, D2, and D3 correspond to Mode0, Mode1, Mode2, and Mode3, respectively.
One of the above bits is to be set “1”
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
*** |
*** |
*** |
1/0 |
1/0 |
1/0 |
1/0 |
4-3 Interrupt mask register (8 bits)
This is a basic register, therefore is to be set prior to start operation.
Set interrupt-enabling-target-bit status to “0”.
Initial status is all disabled “1”
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
“0” enable followings
D0: Trigger input interrupt
D1: Event input interrupts
D2: Un-inhibit input interrupt
D3: Inhibit input interrupt
D4: Error alarm interrupt
D5: No clock interrupt
D6: Setup input interrupt
D7: Stop input interrupt
4-4 Trigger register (8 bits)
When a trigger input is issued by a message, interrupt will be generated (when enabled).
Readout of this register tells a channel number. Writing an arbitrary number clears the register.
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
Readout clears the register, then interrupt will be terminated.
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
“1”: When interrupt generated
D0: Trigger-message-input interrupt
D1: Event-message-input interrupt
D2: Un-inhibit-message-input interrupt
D3: Inhibit-message-input interrupt
D4: Error-alarm interrupt
D5: Clock-error-alarm interrupt
D6: Setup-message-input interrupt
D7: Stop-message-input interrupt
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
“1”: When selected.
D0: Channel 1 D4: Channel 5
D1: Channel 2 D5: Channel 6
D2: Channel 3 D6: Channel 7
D3: Channel 4 D7: Channel 8
Bit |
D15 |
D14 |
D13 |
D12 |
D11 |
D10 |
D9 |
D8 |
Setting |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
Bit |
D15 |
D14 |
D13 |
D12 |
D11 |
D10 |
D9 |
D8 |
Setting |
TG 5 |
TG 4 |
TG 3 |
TG 2 |
TG 1 |
TG 0 |
M 1 |
M 0 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
ID 7 |
ID 6 |
ID 5 |
ID 4 |
ID 3 |
ID 2 |
ID 1 |
ID 0 |
Bit |
D15 |
D14 |
D13 |
D12 |
D11 |
D10 |
D9 |
D8 |
Setting |
CR 7 |
CR 6 |
CR 5 |
CR 4 |
CR 3 |
CR 2 |
CR 1 |
CR 0 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
EV 7 |
EV 6 |
EV 5 |
EV 4 |
EV3 |
EV 2 |
EV 1 |
EV 0 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
*** |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
*** |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
*** |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
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D10 |
D9 |
D8 |
Setting |
215 |
214 |
213 |
212 |
211 |
210 |
29 |
28 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
Bit |
D15 |
D14 |
D13 |
D12 |
D11 |
D10 |
D9 |
D8 |
Setting |
231 |
230 |
229 |
228 |
227 |
226 |
225 |
224 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
223 |
222 |
221 |
220 |
219 |
218 |
217 |
216 |
Bit |
D15 |
D14 |
D13 |
D12 |
D11 |
D10 |
D9 |
D8 |
Setting |
215 |
214 |
213 |
212 |
211 |
210 |
29 |
28 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
Bit |
D15 |
D14 |
D13 |
D12 |
D11 |
D10 |
D9 |
D8 |
Setting |
231 |
230 |
229 |
228 |
227 |
226 |
225 |
224 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
223 |
222 |
221 |
220 |
219 |
218 |
217 |
216 |
Bit |
D15 |
D14 |
D13 |
D12 |
D11 |
D10 |
D9 |
D8 |
Setting |
215 |
214 |
213 |
212 |
211 |
210 |
29 |
28 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
Bit |
D15 |
D14 |
D13 |
D12 |
D11 |
D10 |
D9 |
D8 |
Setting |
231 |
230 |
229 |
228 |
227 |
226 |
225 |
224 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
223 |
222 |
221 |
220 |
219 |
218 |
217 |
216 |
Bit |
D15 |
D14 |
D13 |
D12 |
D11 |
D10 |
D9 |
D8 |
Setting |
215 |
214 |
213 |
212 |
211 |
210 |
29 |
28 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
223 |
222 |
221 |
220 |
219 |
218 |
217 |
216 |
Bit |
D7 |
D6 |
D5 |
D4 |
D3 |
D2 |
D1 |
D0 |
Setting |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
1/0 |
Readout of received message, etc.
NO
Return